Newer
Older
Brian Canini
committed
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
/* General Demo Style */
@import url(https://fonts.googleapis.com/css?family=Lato:300,400,700);
body, html { font-size: 100%; padding: 0; margin: 0;}
/* Reset */
*,
*:after,
*:before {
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
box-sizing: border-box;
}
/* Clearfix hack by Nicolas Gallagher: http://nicolasgallagher.com/micro-clearfix-hack/ */
.clearfix:before,
.clearfix:after {
content: " ";
display: table;
}
.clearfix:after {
clear: both;
}
.container > header {
width: 90%;
max-width: 70em;
margin: 0 auto;
padding: 0 1.875em 3.125em 1.875em;
}
.container > header {
padding: 2.875em 1.875em 1.875em;
}
.container > header h1 {
font-size: 2.125em;
line-height: 1.3;
margin: 0;
float: left;
font-weight: 400;
}
.container > header span {
display: block;
font-weight: 700;
text-transform: uppercase;
letter-spacing: 0.5em;
padding: 0 0 0.6em 0.1em;
}
.container > header nav {
float: right;
}
.container > header nav a {
display: block;
float: left;
position: relative;
width: 2.5em;
height: 2.5em;
background: #fff;
border-radius: 50%;
color: transparent;
margin: 0 0.1em;
border: 4px solid #47a3da;
text-indent: -8000px;
}
.container > header nav a:after {
content: attr(data-info);
color: #47a3da;
position: absolute;
width: 600%;
top: 120%;
text-align: right;
right: 0;
opacity: 0;
pointer-events: none;
}
.container > header nav a:hover:after {
opacity: 1;
}
.container > header nav a:hover {
background: #47a3da;
}
.icon-drop:before,
.icon-arrow-left:before {
font-family: 'fontawesome';
position: absolute;
top: 0;
width: 100%;
height: 100%;
speak: none;
font-style: normal;
font-weight: normal;
line-height: 2;
text-align: center;
color: #47a3da;
-webkit-font-smoothing: antialiased;
text-indent: 8000px;
padding-left: 8px;
}
.container > header nav a:hover:before {
color: #fff;
}
.icon-drop:before {
content: "\e000";
}
.icon-arrow-left:before {
content: "\f060";
}
.img-responsive {
Brian Canini
committed
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
}
.hov {
cursor: pointer;
}
.upper {
text-transform: uppercase;
}
.mobile-only {
display: none;
@media (max-width: 768px) {
display: block;
}
}
// --------------------------------------------------
//## Text.
p, a, ul, ol, li {
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
}
p {
font-family: $font-family-sans-serif;
font-weight: 400;
font-size: 16px;
Brian Canini
committed
color: $gray-6;
Brian Canini
committed
}
// --------------------------------------------------
//## Headings.
h1, h2, h3, h4, h5, h6 {
Brian Canini
committed
margin: 11px 0;
Brian Canini
committed
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
}
h1 {
Brian Canini
committed
font-weight: bold;
line-height: 33px;
Brian Canini
committed
}
h2 {
Brian Canini
committed
line-height: 26px;
Brian Canini
committed
}
h3 {
Brian Canini
committed
line-height: 22px;
Brian Canini
committed
}
h4 {
Brian Canini
committed
line-height: 17px;
Brian Canini
committed
}
h5, h6 {
Brian Canini
committed
line-height: 15px;
Brian Canini
committed
}
// --------------------------------------------------
//## WYSIWYG.
.field--name-field-media-image {
padding-bottom: 15px;
}
.align-left {
.field--name-field-media-image {
padding: 0 15px 0 0;
}
}
.align-right {
.field--name-field-media-image {
padding: 0 0 0 15px;
}
}
// --------------------------------------------------
//## Out-of-box contact form.
#contact-message-feedback-form {
margin-bottom: 20px;
}
Brian Canini
committed
// --------------------------------------------------
//## User forms.
Brian Canini
committed
.user-login-form {
margin-bottom: 40px;
}
#user-form {
margin-bottom: 40px;
}