summaryrefslogtreecommitdiff
path: root/static/css/styles.css
blob: e7a0efcd2333b67902277f8842be386190081828 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
@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;
}