-
Notifications
You must be signed in to change notification settings - Fork 0
/
navbar.css
106 lines (91 loc) · 1.69 KB
/
navbar.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
:root {
--bg0: #1A1A1D;
--bg1: #111108;
--fg0: #EFEFD4;
--hl-bg: #00AAA0;
}
body {
margin: 0;
font-family: Arial, Helvetica, sans-serif;
background-color: var(--bg0);
color: var(--fg0);
}
h1 {
font-size: 3em;
}
h3 {
font-size: 2em;
}
p {
font-size: 1.5em;
}
.body {
margin: 2cm;
padding-bottom: 2cm;
}
.topnav {
display: inline-block;
overflow: hidden;
background-color: var(--bg1);
}
.topnav a {
float: left;
color: var(--fg0);
text-align: center;
padding: 14px 16px;
text-decoration: none;
font-size: 17px;
}
.topnav a:hover {
background-color: var(--bg0);
}
.topnav a.active {
background-color: var(--hl-bg);
color: var(--bg0);
}
.link {
color: var(--hl-bg);
}
.link:hover {
color: var(--bg0);
background-color: var(--hl-bg);
}
div.center {
text-align: center;
}
div.left {
text-align: left;
padding-top: 3cm;
padding-left: 3cm;
}
button {
display: inline-block;
background-color: #00aaaa;
border-radius: 10px;
border: 4px double #000000;
color: #eeeeee;
text-align: center;
font-size: 15px;
padding: 10px;
width: 100px;
-webkit-transition: all 0.5s;
-moz-transition: all 0.5s;
-o-transition: all 0.5s;
transition: all 0.5s;
cursor: pointer;
margin: 5px;
text-align: center;
}
.grid-container {
display: grid;
grid-template-columns: auto auto auto;
background-color: var(--bg0);
padding: 10px;
}
.grid-item {
background-color: var(--bg0);
border: var(--bg0);
padding: 20px;
font-size: 1.5em;
text-align: center;
}