-
-
Notifications
You must be signed in to change notification settings - Fork 132
/
Copy pathitchPage.css
242 lines (228 loc) · 5.76 KB
/
itchPage.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
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
/**********************************/
/********** BASIC LAYOUT **********/
/**********************************/
.responsive .inner_column {
max-width: initial;
}
.responsive .wrapper {
padding: 0;
}
.columns {
margin: 1.5rem 0 0 0;
display: -webkit-flex;
display: flex;
-webkit-flex-direction: column;
flex-direction: column;
max-width: 100vw;
}
.columns .left_col {
-webkit-order: 2;
order: 2;
}
.columns .right_col {
-webkit-order: 1;
order: 1;
}
.columns .right_col, .columns .left_col {
display: block;
margin: 0;
width: auto;
}
.view_game_page.buy_on_top .header_buy_row, #download, .buy_row, .uploads > p, .view_game_page .more_information_toggle .toggle_row {
text-align: center;
}
#view_game_footer {
padding: 2rem 1.5rem;
margin: 0 auto;
}
.header {
background: #446adb;
}
.right_col.column,
.formatted_description.user_formatted,
#devlog,
.view_game_page .uploads .upload_list_widget,
.game_community_preview_widget .community_topics,
.game_community_preview_widget .post_links,
.inner_column .footer,
.view_game_page .info_panel_wrapper {
width: 960px;
max-width: 100%;
max-width: 100vw;
margin: 0 auto;
padding: 0 1.5rem;
box-sizing: border-box;
}
.uploads, .view_game_page #download + .buy_row, #download, .community_summary {
background: #446adb;
padding: 1rem 0;
color: #fff;
margin: 0;
}
.view_game_page #download + .buy_row .button.buy_btn, .game_community_preview_widget .post_links a.button {
background: #fff;
color: #446adb;
box-shadow: inset 0 0 1px rgba(0, 0, 0, 0.21);
text-shadow: none;
}
/**********************************/
/********* TEXT & HEADERS *********/
/**********************************/
.formatted_description.user_formatted p:first-child {
margin-top: 1rem;
font-size: 125%;
}
.inner_column p, .inner_column ol, .inner_column ul {
line-height: 1.75em;
}
.inner_column h1, .inner_column h2, .inner_column h3, .inner_column h4 {
font-weight: 200;
padding-bottom: 0;
margin-bottom: 1rem;
margin-top: 1.5em;
}
.inner_column h2 {
font-size: 3rem;
text-align: center;
margin-top: 2rem;
}
.inner_column h4 {
font-weight: 600;
}
.formatted_description.user_formatted table, .formatted_description.user_formatted td {
border: 0;
text-align: center;
}
.formatted_description.user_formatted table strong {
font-weight: 300;
color: #5144db;
font-size: 1.5rem;
line-height: 3rem;
}
#download {
padding: 2rem 0 0;
}
/**********************************/
/****** SCREENSHOTS & DEMOS *******/
/**********************************/
.view_game_page .screenshot_list, .custom-Demos, .custom-MadeWithCtJs {
white-space: initial;
text-overflow: ellipsis;
overflow: auto;
font-size: 0;
text-align: center;
margin: 0;
}
.formatted_description.user_formatted img, .view_game_page .screenshot_list img, .custom-Demos img, .custom-MadeWithCtJs img {
border: 0 none;
border-radius: 0.35rem;
}
.view_game_page .screenshot_list img, .custom-Demos img, .custom-MadeWithCtJs img {
opacity: 0.95;
transform: scale(0.9);
transition: ease 0.35s all;
display: inline-block;
margin: 0;
height: 160px;
max-width: initial;
}
.custom-Demos img, .custom-MadeWithCtJs img {
height: initial;
}
.screenshot_list a:hover img, .custom-Demos a:hover img, .custom-MadeWithCtJs a:hover img {
opacity: 1;
transform: scale(1);
}
/**********************************/
/********* DOWNLOAD & BUY *********/
/**********************************/
.buy_row .buy_message .sub::before {
content: "$0+";
margin-right: 0.35rem;
font-size: 1.35rem;
vertical-align: -1px;
}
.view_game_page .buy_row .button_message {
flex-flow: column nowrap;
}
.view_game_page .buy_row .sub {
margin-top: 1rem;
}
.view_game_page .buy_row .button {
margin-right: 0;
font-size: 1.5rem;
line-height: 3rem;
height: auto;
font-weight: 300;
padding: 0 1rem;
border-radius: 0.35rem;
}
/**********************************/
/************ UPLOADS *************/
/**********************************/
.view_game_page #download + .buy_row {
padding-bottom: 0;
}
.view_game_page .uploads .upload_list_widget {
columns: 2;
width: 45rem;
max-width: 100%;
}
@media (max-width: 650px) {
.view_game_page .uploads .upload_list_widget {
columns: 1;
}
}
.upload_list_widget .upload .upload_name .name {
display: block;
line-height: 2;
}
.upload_list_widget .upload .upload_name, .upload_list_widget .upload .build_row {
display: inline;
}
.upload_list_widget .upload .upload_name > * {
margin-left: 0;
margin-right: 0.5rem;
}
.upload_list_widget .upload .info_column {
background: rgba(255, 255, 255, 0.1);
padding: 0.5rem 1rem;
border-radius: 0.35rem;
text-align: initial;
}
.view_game_page .uploads .upload_list_widget {
padding-bottom: 1.5rem
}
/**********************************/
/************ DEVLOG **************/
/**********************************/
.view_game_page .game_devlog ul li {
margin-bottom: 1rem;
justify-content: space-between;
align-items: first baseline;
}
/**********************************/
/************* FORUM **************/
/**********************************/
.game_community_preview_widget .community_topics, .game_community_preview_widget .community_topics a {
color: #fff;
text-decoration: none;
}
.game_community_preview_widget .community_topic_row .topic_tag {
background: #4F44DB;
font-weight: 400;
font-size: 75%;
padding: 0.35rem 0.5rem;
border-radius: 0.35rem;
}
.game_community_preview_widget .post_links {
margin: 1rem auto;
}
.game_community_preview_widget h2 {
color: #fff;
}
.game_community_preview_widget .community_topic_row {
padding: 0.25rem 1rem;
border-radius: 0.35rem;
margin: 0 -1rem 0.75rem;
}