forked from BenjaminTMilnes/PhysicsSimulations
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
135 lines (120 loc) · 2.05 KB
/
style.css
File metadata and controls
135 lines (120 loc) · 2.05 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
body {
margin: 0px;
padding: 20px 20px 200px 20px;
font-family: 'Open Sans', sans-serif;
font-weight: lighter;
color: #202020;
font-size: 12px;
}
.centrecolumn {
max-width: 1000px;
margin: 0px auto;
}
h1, h2, h3, h4, h5, h6, p {
font-family: inherit;
font-weight: inherit;
color: inherit;
text-align: center;
}
h1 {
margin: 0.5em 0em;
font-size: 25px;
}
h2 {
margin: 1.2em 0em;
font-size: 17px;
}
p {
margin: 1.5em auto;
font-size: 12px;
color: #707070;
max-width: 700px;
}
a {
color: hsla(210, 80%, 40%);
text-decoration: none;
}
a:hover {
text-decoration: underline;
}
.simulationlist {
display: flex;
flex-direction: column;
flex-wrap: wrap;
margin: 20px 0px;
}
.simulation {
box-sizing: border-box;
border: 1px solid rgba(0, 0, 0, 0.1);
border-radius: 2px;
box-shadow: 1px 2px 3px rgba(0, 0, 0, 0.05);
padding: 20px;
}
.simulation img {
width: 100%;
max-width: 300px;
margin: 0px auto;
display: block;
}
.simulation h3 {
margin: 1.5em 0em;
font-size: 17px;
font-weight: normal;
}
.simulation p {
margin: 1.5em 0em;
font-size: 12px;
}
@media (min-width: 400px) {
body {
padding: 30px 30px 300px 30px;
}
h1 {
font-size: 30px;
}
h2 {
font-size: 20px;
}
p {
font-size: 12px;
}
.simulationlist {
flex-direction: row;
margin: 50px 0px;
}
.simulation {
flex-basis: 50%;
padding: 30px;
margin: 0px 0px 30px 30px;
}
.simulation h3 {
font-size: 20px;
}
}
@media (min-width: 700px) {
body {
padding: 50px 50px 500px 50px;
font-size: 14px;
}
h1 {
font-size: 50px;
}
h2 {
font-size: 30px;
}
p {
font-size: 14px;
}
.simulationlist {
margin: 70px 0px;
}
.simulation {
flex-basis: 33%;
padding: 30px;
}
}
@media (min-width: 1000px) {
body {
padding: 50px 0px 500px 0px;
}
}