-
Notifications
You must be signed in to change notification settings - Fork 46
/
Copy pathgeneral.css
224 lines (203 loc) · 4 KB
/
general.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
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
/* Copyright 2014 gokoururi
This work is free. You can redistribute it and/or modify it under the
terms of the Do What The Fuck You Want To Public License, Version 2,
as published by Sam Hocevar. See the COPYING file for more details. */
html {
height: 100%;
margin: 0;
padding: 0;
font-size: 0;
}
body {
height: 100%;
margin: 0;
padding: 0;
font-size: 0;
font-family: Tahoma;
text-align: center;
border: 0;
}
/* .mascot and .plain will be added to element 'main' by javascript in
addition to a random mascot */
.mascot {
padding: 20px 20px 20px 250px;
}
.plain {
padding: 20px 20px 20px 20px;
}
main {
display: inline-block;
min-width: 500px;
font-size: 12px;
background-size: contain;
background-repeat: no-repeat;
border-width: 1px;
border-style: solid;
margin: 10vh 0 0 0;
}
header {
margin-bottom: 30px;
}
h1 {
letter-spacing: 2px;
font-size: 40px;
font-weight: normal;
text-align: center;
padding: 0;
margin: 0;
}
.subtitle {
text-align: center;
letter-spacing: 2px;
padding: 0;
margin: 0;
}
.searchContainer {
text-align: center;
margin: 15px 0;
}
.searchForm {
display: inline-block;
margin: 0 10px;
}
.searchBar::-webkit-input-placeholder {
transition: color 1s;
}
.searchBar {
width: 20px;
height: 20px;
padding: 0;
font-size: 10px;
background-repeat: no-repeat;
background-size: 20px 20px;
background-position: right center;
border-width: 1px;
border-style: solid;
outline: 0;
opacity: 0.5;
transition: all 1s;
}
.searchBar:hover {
cursor: pointer;
transition: all 0.5s;
background-position: right center;
opacity: 1;
}
.searchBar:focus {
cursor: text;
width: 100px;
padding: 0 25px 0 5px;
opacity: 1;
}
nav {
text-align: center;
}
.columnList,
.columnList ul,
.buttonList,
.buttonList ul {
padding: 0;
list-style-type: none;
}
/* Button configuration */
.button {
position: relative;
margin: 5px 10px;
display: inline-block;
}
.button > a {
display: inline-block;
min-width: 140px;
text-decoration: none;
font-size: 18px;
padding: 10px 5px;
border-width: 2px;
border-style: solid;
outline: none;
transition: all 1s;
}
.buttonArrow > a:after {
width: 0;
height: 0;
font-size: 0;
border-style: solid;
border-left-width: 5px;
border-top-width: 5px;
border-top-color: transparent;
border-bottom-width: 5px;
border-bottom-color: transparent;
border-right-width: 0;
content:"";
margin: 8px 10px 0 8px;
float: right;
transition: all 1s;
}
.buttonArrow:hover > a:after {
transition: transform 0.5s, border 1s;
transform: rotate(90deg);
}
.button > ul {
position: absolute;
box-sizing: border-box;
overflow: hidden;
width: 100%;
max-height: 0;
border-width: 0;
border-style: solid;
transition: all 1s;
z-index: 10;
}
.button:hover > ul {
max-height: 200px;
border-width: 1px;
border-style: solid;
transition: max-height 0.5s, border 1s;
}
.button > ul > li {
display: block;
}
.button > ul > li > a {
display: inline-block;
width: 100%;
text-decoration: none;
padding: 5px 0;
outline: 0;
transition: all 1s;
}
.button > ul > li > a:hover {
color: #d67b96;
background: #70293b;
}
.columnList {
display: inline-block;
}
.column {
display: table-cell;
text-align: center;
height: 100%;
border-right-width: 1px;
border-right-style: solid;
padding: 0 10px;
}
.column:last-of-type {
border-right-width: 0;
}
.column > a {
display: inline-block;
text-align: center;
text-decoration: none;
padding-bottom: 4px;
font-size: 24px;
font-weight: bold;
transition: all 0.8s;
}
.column > ul > li {
margin-bottom: 3px;
}
.column > ul > li > a {
text-decoration: none;
vertical-align: middle;
font-weight: bold;
outline: 0;
transition: all 0.8s;
}