forked from Tonejs/tonejs.github.io
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmain.css
65 lines (57 loc) · 843 Bytes
/
main.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
body {
width: 100%;
height: 100%;
position: relative;
margin: 0px;
}
#Topbar {
position: relative;
width: calc(100% - 4px);
height: 40px;
margin-left: 2px;
margin-top: 2px;
background-color: black;
}
#Topbar #TonejsLogo {
margin-top: 5px;
}
#Content {
width: 80%;
margin-left: auto;
margin-right: auto;
max-width: 1000px;
min-width: 300px;
margin-top: 20px;
font-family: "Roboto Mono",monospace;
}
#demos {
width: 100%;
margin-bottom: 10px;
clear: both;
position: relative;
display:block;
overflow:auto;
}
#demos a {
width: 20%;
float: left;
position: relative;
display: inline-block;
}
#demos a:hover {
opacity: 0.5;
}
@media (max-width: 500px) {
#demos a {
width: 50%;
}
}
@media (min-width: 501px) and (max-width: 800px) {
#demos a {
width: 25%;
}
}
#demos a img {
width: 100%;
height: auto;
}