forked from JoshBarr/on-media-query
-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
129 lines (101 loc) · 2.09 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
/* ----------------------------------------------------------------------
Typography::Fonts
---------------------------------------------------------------------- */
body {
font-family: 'Lucida Grande', 'Lucida Sans', arial, helvetica, sans-serif;
}
/* ----------------------------------------------------------------------
Typography::Common::Styles
---------------------------------------------------------------------- */
h1 {
font-weight: bold;
font-size: 1.85em;
line-height:1.0em;
}
h2, h3 {
line-height:1.0em;
}
body {
background: #F8F7F5;
}
div.nav {
font-size: 15px;
}
/* ----------------------------------------------------------------------
Mobile:: Navigation Styles
---------------------------------------------------------------------- */
body {
margin: 0;
padding: 0;
line-height:1.6em;
}
ul {
margin: 0;
}
.title {
line-height: 1em;
margin-bottom: 0.5em;
color: #ABC469;
font-size: 1.8em;
}
div#wrapper {
max-width: 700px;
width: 90%;
margin: 0 auto;
padding: 0 5%;
}
div#mobile_site_nav {
background: #333;
width: 100%;
padding:0;
margin: 0;
z-index: 3000;
position: relative;
}
div.nav ul {
padding: 0;
margin: 0 auto;
width: 100%;
max-width: 600px;
}
div.nav li {
display: inline-block;
padding: 0.6em 0.5em;
}
div.smaller li {
padding: 0.3em 0.5em;
}
a {
text-decoration:none;
}
.content {
padding: 0.5em 2em;
-moz-border-radius: 5px 5px 5px 5px;
-webkit-border-radius: 5px 5px 5px 5px;
border-radius: 5px 5px 5px 5px;
border: 1px solid #ddd;
margin-bottom: 0.5em;
background: rgba(0,125,255,0.05);
}
#orient {
background-color: #eee;
}
#match,
#orient {
display: none;
}
h1 {
border-top: solid 1px #ccc;
padding-top: 20px;
}
@media screen and (min-width:940px) {
div#mobile_site_nav {
display: none;
}
}
@media screen and (max-width:480px) {
body {
font-size: 0.8em;
}
}
}