hatecomputers.club/static/css/styles.css

102 lines
1.8 KiB
CSS

@import "/static/css/colors.css";
@import "/static/css/blinky.css";
@import "/static/css/table.css";
@import "/static/css/form.css";
@import "/static/css/guestbook.css";
@import "/static/css/club.css";
@font-face {
font-family: "ComicSans";
src: url("/static/font/comicsans.ttf");
}
* {
box-sizing: border-box;
margin: 0;
padding: 0;
color: var(--text-color);
font-family: "ComicSans", sans-serif;
}
/* i just cannot get this to look good on firefox... */
@supports not (-moz-appearance: none) {
* {
cursor: url("/static/img/cursor-2.png"), auto;
-webkit-animation: cursor 400ms infinite;
animation: cursor 400ms infinite;
}
@-webkit-keyframes cursor {
0% {
cursor: url("/static/img/cursor-2.png"), auto;
}
50% {
cursor: url("/static/img/cursor-1.png"), auto;
}
100% {
cursor: url("/static/img/cursor-2.png"), auto;
}
}
@keyframes cursor {
0% {
cursor: url("/static/img/cursor-2.png"), auto;
}
50% {
cursor: url("/static/img/cursor-1.png"), auto;
}
100% {
cursor: url("/static/img/cursor-2.png"), auto;
}
}
}
body {
background-color: var(--background-color);
background-image: url("/static/img/stars.gif");
min-height: 100vh;
}
a {
color: var(--link-color);
text-decoration: none;
font-weight: bold;
}
a:hover {
text-decoration: underline;
}
.container {
max-width: 1600px;
margin: auto;
background-color: var(--container-bg);
padding: 1rem;
}
hr {
border: 0;
border-top: 1px solid var(--text-color);
margin: 20px 0;
}
.blinkies {
display: flex;
justify-content: left;
flex-wrap: wrap;
max-width: 900px;
gap: 10px 10px;
}
.info {
margin-bottom: 1rem;
max-width: 600px;
transition: opacity 0.3s;
}
.info:hover {
opacity: 0.8;
}