-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
54 lines (50 loc) · 2.52 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
html { box-sizing: border-box; }
*, *:before, *:after { box-sizing: inherit; }
body { font-size: 14px; font-family: 'Roboto', sans-serif; padding: 1em; background-color: #fff; transition: background-color 0.5s; }
.app { border: 1px solid #aaa; padding: 1em; vertical-align: top; margin: 1em; text-align: center; display: inline-block; flex-grow: 1; }
.group { text-align: center; }
.app > h2, .group > h2 { font-weight: 200; margin-bottom: 0 }
.app > h2 { margin-top: 0 }
some-content.app > h2 { margin-bottom: 1em; }
nytimes-news, youtube-search, wikipedia-extract, twitter-tweets, flickr-images { overflow: auto; height: 300px; width: 100%; }
google-map { width: 300px; height: 300px; }
smart-video { width: 100%; height: 300px; }
@media (max-width: 900px) {
body > div { display: block; width: calc(100% - 2em - 3px) !important; }
}
@media (min-width: 1400px) {
body > div.w50 { width: calc(33.333% - 2em - 3px); }
}
:-webkit-full-screen #container { padding: 1em; }
:-moz-full-screen #container { padding: 1em; }
:-ms-fullscreen #container { padding: 1em; }
:-webkit-full-screen { position: fixed !important; top: 0 !important; left: 0 !important; font-size: 1.5em; width: 100% !important; height: 100% !important; max-height: none !important; max-width: none !important; background: #fff; }
:-moz-full-screen { position: fixed !important; top: 0 !important; left: 0 !important; font-size: 1.5em; width: 100% !important; height: 100% !important; max-height: none !important; max-width: none !important; background: #fff; }
:-ms-fullscreen { position: fixed !important; top: 0 !important; left: 0 !important; font-size: 1.5em; width: 100% !important; height: 100% !important; max-height: none !important; max-width: none !important; background: #fff; }
.row { display: flex; flex-wrap: nowrap; }
.col { flex: 1 1 0; display: flex; flex-direction: column; align-items: center; }
.col-5 { flex: 0 0 5%; }
.col-10 { flex: 0 0 10%; }
.col-15 { flex: 0 0 15%; }
.col-20 { flex: 0 0 20%; }
.col-25 { flex: 0 0 25%; }
.col-30 { flex: 0 0 30%; }
.col-35 { flex: 0 0 35%; }
.col-40 { flex: 0 0 40%; }
.col-45 { flex: 0 0 45%; }
.col-50 { flex: 0 0 50%; }
.col-55 { flex: 0 0 55%; }
.col-60 { flex: 0 0 60%; }
.col-65 { flex: 0 0 65%; }
.col-70 { flex: 0 0 70%; }
.col-75 { flex: 0 0 75%; }
.col-80 { flex: 0 0 80%; }
.col-85 { flex: 0 0 85%; }
.col-90 { flex: 0 0 90%; }
.col-95 { flex: 0 0 95%; }
.col-100 { flex: 0 0 100%; }
.col-center { align-self: center; }
.grow { flex-grow: 1; }
.pd { padding: 5px; }
.vertical { flex-direction: column; }
.horizontal { flex-direction: row; }