-
Notifications
You must be signed in to change notification settings - Fork 7
/
style.css
173 lines (165 loc) · 3.01 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
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
/* Initial styles to minimize browser differences */
html, body, form, fieldset {
font:1em/1.5 "DejaVu Sans", "Trebuchet MS", sans-serif;
text-align:left;
margin:0;
padding:0;
}
/* Neutralize styling:Elements with a vertical margin:*/
h1, h2, h3, h4, h5, h6, p, pre, blockquote, ul, ol, dl, address {
margin:1em 0;
padding:0;
}
/* Nested lists don't get a (vertical) margin */
ol ol, ol ul, ol dl, ul ul, ul ol, ul dl, dl ol, dl ul, dl dl {
margin:0;
}
/* Unifying display of nested unordered lists:2 deep uses a circle (like Fx) */
ul ul, ol ul {
list-style-type:circle;
}
/* Unifying display of nested unordered lists:3 deep (& more) uses a square (like Fx) */
ul ul ul, ul ol ul, ol ol ul, ol ul ul {
list-style-type:square;
}
/* Apply left margin:Only to the few elements that need it:*/
li, dd, blockquote {
margin-left:1em;
}
/* Miscellaneous conveniences:*/
/* Some HTML5 styling for the benefit of older browsers (but not IE, which needs a JS workaround) */
section, article, header, footer, nav, main, aside, hgroup {
display:block;
}
form label {
cursor:pointer;
}
fieldset {
border:none;
}
abbr, acronym {
font-variant:small-caps;
}
/* neutralize Gecko border around linked images */
a img, a:hover img {
border:none;
}
q {
quotes:none;
}
p {
margin:0
}
/* Form field text-scaling */
input, select, textarea {
font:1em/1.5 "DejaVu Sans", "Trebuchet MS", sans-serif;
}
/* actual page styling*/
html {
background:#eee;
background: linear-gradient(135deg, rgba(247,230,222,1) 0%, rgba(238,238,238,1) 35%, rgba(247,222,247,1) 100%);
color: #000;
}
body {
background: #fff;
padding: 0 1em 1em 1em;
margin: 0 auto 1em auto;
max-width: 900px;
border: 10px solid #ddd;
border-top: none;
border-radius: 2em;
}
h1 {
padding: 0;
margin: 0;
text-align: center;
}
.standout {
background-color: #f7f7f7;
background-color: #ABFFF9;
border-radius: .5em;
padding: .5em;
}
img {
max-width: 100%;
height: auto;
}
.links {
clear: both;
list-style: none;
width: 80%;
margin: 2em auto .5em;
display: grid;
}
.links li {
margin-left: 0;
}
.links a {
color: white;
background: #844;
font-weight: bold;
font-size: x-large;
text-decoration: none;
text-align: center;
display: block;
padding: 1em;
margin: 1em;
border-radius: .5em;
}
.links a:hover {
filter: saturate(250%);
}
.links .download {
color: #000;
background: #BBE084;
}
.links .documentation {
color: #fff;
background: #A984E0;
}
.links .support {
color: #000;
background: #84E0CE;
}
.links .bugreport {
color: #fff;
background: #E084A9;
}
.links .develop {
color: #000;
background: #E0CE84;
}
.screenshots {
text-align: center;
}
.screenshots img {
width: 100%;
max-width: 100%;
}
@media all and (min-width: 500px) {
.links {
width: 70%;
}
}
@media all and (min-width: 600px) {
.links {
width: 60%;
}
.screenshots img {
width: 250px;
}
}
@media all and (min-width: 750px) {
.links {
width: 100%;
grid-template-columns: repeat(2, 1fr);
}
.links li a {
margin-top: 0;
}
}
@media all and (min-width:800px) {
.links {
width: 90%;
}
}