-
Notifications
You must be signed in to change notification settings - Fork 60
/
Copy pathflocking-website.css
141 lines (125 loc) · 2.63 KB
/
flocking-website.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
/**
* Source: http://nicolasgallagher.com/micro-clearfix-hack/
*
* For modern browsers
* 1. The space content is one way to avoid an Opera bug when the
* contenteditable attribute is included anywhere else in the document.
* Otherwise it causes space to appear at the top and bottom of elements
* that are clearfixed.
* 2. The use of `table` rather than `block` is only necessary if using
* `:before` to contain the top-margins of child elements.
*/
.cf:before,
.cf:after {
content: " "; /* 1 */
display: table; /* 2 */
}
.cf:after {
clear: both;
}
/**
* For IE 6/7 only
* Include this rule to trigger hasLayout and contain floats.
*/
.cf {
*zoom: 1;
}
/* apply a natural box layout model to all elements, but allowing components to change */
html {
-webkit-box-sizing: border-box; /* Safari 3.0 - 5.0, Chrome 1 - 9, Android 2.1 - 3.x */
-moz-box-sizing: border-box; /* Firefox 1 - 28 */
box-sizing: border-box; /* Safari 5.1+, Chrome 10+, Firefox 29+, Opera 7+, IE 8+, Android 4.0+, iOS any */
}
*, *:before, *:after {
-webkit-box-sizing: inherit;
-moz-box-sizing: inherit;
box-sizing: inherit;
}
body {
background-color: #fff;
font-family: 'Open Sans', sans-serif;
font-size: 100%;
line-height: 1.6;
margin: 0 auto;
max-width: 768px;
max-width: 48rem;
padding: 0 3%;
margin-bottom: 48px;
margin-bottom: 3rem;
}
h2 {
margin: 0;
}
p {
margin-bottom: 16px;
margin-bottom: 1r3em;
}
img {
height: auto;
width: 100%;
}
.logo {
margin-left: -11px;
margin-left: -0.6875rem;
max-width: 434px;
max-width: 27.125rem;
padding-top: 16px;
padding-top: 1rem;
}
a:link {
color: #555;
font-weight: bold;
}
a:visited {
color: #888;
}
a:hover {
color: #000;
}
.nav-menu {
margin: 0;
padding: 8px 0 16px;
padding: 0.5rem 0 1rem;
text-align: center;
}
.nav-menu li {
list-style: none;
padding: 8px;
padding: 0.5rem;
}
.nav-menu li a {
background: #ccc;
border-radius: 8px;
border-radius: 0.5rem;
display: inline-block;
padding: 12px 4px 16px;
padding: 0.75rem 0.25rem 1rem;
text-decoration: none;
width: 100%;
}
.nav-menu li a:link {
color: #333;
}
.nav-menu li a:visited {
color: #333;
}
.nav-menu li a:hover,
.nav-menu li a:focus {
background-color: #333;
color: #ccc;
}
@media screen and (min-width: 27em) {
.nav-menu li {
float: left;
width: 50%;
}
}
@media screen and (min-width: 48em) {
.nav-menu {
margin: 0 -6px;
margin: 0 -0.375rem;
}
.nav-menu li {
width: 25%;
}
}