forked from azaleamollis/advent-calendar
-
Notifications
You must be signed in to change notification settings - Fork 6
/
style.css
91 lines (90 loc) · 1.45 KB
/
style.css
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
/* Styles for the Demo Wrapper */
html {
box-sizing: border-box;
text-rendering: optimizeLegibility;
}
*,
*:before,
*:after {
box-sizing: inherit;
}
.cf:before,
.cf:after {
content: " ";
display: table;
}
.cf:after {
clear: both;
}
.cf {
*zoom: 1;
}
body {
margin: 0;
background-color: #e6e9ed;
font-family: "Lato", sans-serif;
}
header {
background-color: #254d86;
}
header h1,
header a {
padding: 15px;
color: #fff;
text-transform: uppercase;
font-size: 12px;
}
header h1 {
float: left;
margin: 0;
}
header a {
padding-left: 20px;
padding-right: 20px;
text-decoration: none;
float: right;
background-color: #1a365e;
}
header a:hover {
background-color: #1f4272;
}
.demo-content {
max-width: 400px;
margin-top: 90px;
margin-right: auto;
margin-left: auto;
margin-bottom: 90px;
}
/* Styles for the Advent Calendar */
ul#adventDoors {
position: relative;
list-style: none;
padding: 0;
margin: 0;
}
#adventDoors li {
position: absolute;
}
#adventDoors li a {
color: #fff;
width: 100%;
height: 100%;
font-size: 24px;
text-align: center;
display: flex;
flex-direction: column;
justify-content: center;
text-decoration: none;
border: 1px #fff solid;
}
#adventDoors li a:not(.disabled):hover {
color: #fff;
background-color: transparent;
background-color: rgba(255,255,255,0.15);
}
#adventDoors li a.disabled {
border-color: #b6fe98;
background-color: rgba(196,254,171,0.15);
color: #b6fe98;
cursor: default;
}