forked from SilphRoad/silph-league
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathstyle.css
More file actions
202 lines (169 loc) · 5.1 KB
/
style.css
File metadata and controls
202 lines (169 loc) · 5.1 KB
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
@font-face {
font-family: 'texgyreadventorregular';
src: url('./fonts/texgyreadventor_regular_macroman/texgyreadventor-regular-webfont.eot');
src: url('./fonts/texgyreadventor_regular_macroman/texgyreadventor-regular-webfont.eot?#iefix') format('embedded-opentype'), url('./fonts/texgyreadventor_regular_macroman/texgyreadventor-regular-webfont.woff') format('woff'), url('./fonts/texgyreadventor_regular_macroman/texgyreadventor-regular-webfont.ttf') format('truetype'), url('./fonts/texgyreadventor_regular_macroman/texgyreadventor-regular-webfont.svg#texgyreadventorregular') format('svg');
font-weight: normal;
font-style: normal;
text-transform: uppercase;
}
@font-face {
font-family: 'texgyreadventorbold';
src: url('./fonts/texgyreadventor_bold_macroman/texgyreadventor-bold-webfont.eot');
src: url('./fonts/texgyreadventor_bold_macroman/texgyreadventor-bold-webfont.eot?#iefix') format('embedded-opentype'), url('./fonts/texgyreadventor_bold_macroman/texgyreadventor-bold-webfont.woff') format('woff'), url('./fonts/texgyreadventor_bold_macroman/texgyreadventor-bold-webfont.ttf') format('truetype'), url('./fonts/texgyreadventor_bold_macroman/texgyreadventor-bold-webfont.svg#texgyreadventorbold') format('svg');
font-weight: normal;
font-style: normal;
}
@font-face {
font-family: 'texgyreadventoritalic';
src: url('./fonts/texgyreadventor_italic_macroman/texgyreadventor-italic-webfont.eot');
src: url('./fonts/texgyreadventor_italic_macroman/texgyreadventor-italic-webfont.eot?#iefix') format('embedded-opentype'), url('./fonts/texgyreadventor_italic_macroman/texgyreadventor-italic-webfont.woff') format('woff'), url('./fonts/texgyreadventor_italic_macroman/texgyreadventor-italic-webfont.ttf') format('truetype'), url('./fonts/texgyreadventor_italic_macroman/texgyreadventor-italic-webfont.svg#texgyreadventoritalic') format('svg');
font-weight: normal;
font-style: normal;
}
@font-face {
font-family: 'nexa_rust_sansblack';
src: url('./fonts/nexarustsans-black-webfont.woff2') format('woff2'), url('./fonts/nexarustsans-black-webfont.woff') format('woff');
font-weight: normal;
font-style: normal;
}
html {
background: url(./img/backgrounds/IMG_20180616_171654-PANO.jpg);
background-size: cover;
background-attachment: fixed;
}
body {
background: transparent;
}
h1, h2, h3, h4, h5, h6 {
font-family: 'texgyreadventorregular';
text-transform: uppercase;
letter-spacing: .2em
}
h1 {
font-size: 22px;
}
h5 {
font-family: 'texgyreadventorbold';
letter-spacing: .15em;
font-size: 17px;
}
a {
color: #24c2f1;
}
a:hover {
color: #4999e4;
}
/* Subtle styling for the credits section */
.credits {
font-size: 14px; /* Reduce font size */
opacity: 0.7; /* Lower opacity to make it less prominent */
color: #333; /* Use a lighter text color */
margin-top: 10px; /* Add some space at the top */
padding: 10px; /* Add padding for separation */
background-color: rgba(255, 255, 255, 0.9); /* Lighter background color */
border-radius: 5px; /* Rounded corners */
}
.credits p {
margin: 5px 0; /* Adjust margin for spacing between lines */
}
.credits div {
font-size: 12px; /* Reduce font size for inner div */
opacity: 0.7; /* Lower opacity for inner div */
}
.credits div br {
display: none; /* Hide line breaks in inner div */
}
.asset {
position: relative;
display: inline-block;
}
.asset-label {
position: absolute;
top: 0;
right: 10px;
margin: 0px !important;
padding: 5px !important;
border-top-left-radius: 0px !important;
border-top-right-radius: 0px !important;
background: #4eddf0 !important;
}
.asset-label img {
width: 20px;
height: 20px;
margin: 0px !important;
padding: 0px !important;
}
.assetGroup {
text-align: center;
padding: 0 20px;
display: grid;
grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
grid-auto-rows: 1fr;
justify-content: center;
}
.assetGroup div {
display: inline-block;
background: rgba(255, 255, 255, 0.13);
padding: 10px 20px;
border-radius: 4px;
margin: 5px;
display: flex;
flex-direction: column;
justify-content: center;
}
.assetGroup a img {
max-height: 200px;
max-width: 160px;
display: inline-block;
}
.assetGroup a label {
display: block;
text-align: center;
padding: 10px 3px 0;
}
.asset-section {
display: none;
}
.asset-section.show {
display: block;
}
.filters {
margin: 25px;
margin-top: 40px;
display: flex;
flex-wrap: wrap;
justify-content: space-between;
}
.filter-section {
margin-right: 40px;
}
.filter-section:last-child {
margin-right: 0;
}
.filter-section > .options {
display: flex;
flex-wrap: wrap;
}
.filter-section > .options > label > span {
font-weight: normal;
display: block;
font-size: 14px;
margin-right: 10px;
padding: 3px;
border-bottom: solid 2px white;
cursor: pointer;
}
.filter-section > .options > label > input {
display: none;
}
.filter-section > .options > label > input:checked + span {
color: #4999e4;
border-color: #4999e4;
}
.filter-section > .options > label > span:hover {
color: #4999e4;
border-color: #4999e4;
}
.filter-section > .options > label:last-child > span {
margin-right: 0;
}