-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
119 lines (97 loc) · 1.58 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
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
/********************
=GENERAL
********************/
body {
margin: 0;
font-family: "Montserrat", "Avenir";
background-color: #232323;
}
h1 {
margin: 0;
}
nav ul li button, h1 {
text-transform: uppercase;
}
/********************
=HEADER
********************/
header {
background-color: #4482B6;
color: #fff;
}
header h1 {
margin: 0;
padding-bottom: 1em;
text-align: center;
font-weight: normal;
}
#colorDisplay {
font-size: 2em;
}
#colorDisplay::after,
#colorDisplay:before {
content: '\A';
white-space: pre-wrap;
}
/********************
=NAVIGATION
*********************/
#message {
color: #000;
}
nav {
background: #fff;
}
nav > ul {
list-style: none;
margin: 0 0 1.5em 0;
padding: 0;
white-space: nowrap;
text-align: center;
}
nav > ul li {
display: inline-block;
}
nav > ul li button {
padding: 0.5em 0.5em;
}
nav li:not(#message):hover {
background-color: #4482B6;
}
nav li:hover button {
color: #fff;
}
nav li button {
padding: 0;
margin: 0;
border: 0;
background: 0;
color: #4482B6;
font-weight: 700;
font-size: inherit;
letter-spacing: 1px;
}
.left {
margin-right: 7em;
}
.selected {
background-color: #4482B6;
color: #fff;
}
/********************
=CONTAINER
*********************/
.container {
max-width: 600px;
margin: 0 auto;
text-align: center;
font-size: 0;
}
.square {
width: 30%;
padding-bottom: 30%;
margin: 1.66%;
border-radius: 10%;
display: inline-block;
font-size: 1rem;
}