forked from arkadianriver/spectral
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathie9.scss
138 lines (112 loc) · 1.84 KB
/
ie9.scss
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
---
# Only the main Sass file needs front matter (the dashes are enough)
---
@import 'libs/vars';
@import 'libs/functions';
@import 'libs/mixins';
@import 'libs/skel';
/*
Spectral by HTML5 UP
html5up.net | @n33co
Free for personal and commercial use under the CCA 3.0 license (html5up.net/license)
*/
/* Spotlight */
.spotlight {
display: block;
.image {
display: inline-block;
vertical-align: top;
}
.content {
@include padding(4em, 4em);
display: inline-block;
}
&:after {
clear: both;
content: '';
display: block;
}
}
/* Features */
.features {
display: block;
li {
float: left;
}
&:after {
content: '';
display: block;
clear: both;
}
}
/* Banner + Wrapper (style4) */
#banner,
.wrapper.style4 {
background-image: url("../../images/banner.jpg");
background-position: center center;
background-repeat: no-repeat;
background-size: cover;
position: relative;
&:before {
background: #000000;
content: '';
height: 100%;
left: 0;
opacity: 0.5;
position: absolute;
top: 0;
width: 100%;
}
.inner {
position: relative;
z-index: 1;
}
}
/* Banner */
#banner {
@include padding(14em, 0);
height: auto;
&:after {
display: none;
}
}
/* CTA */
#cta {
.inner {
header {
float: left;
}
.actions {
float: left;
}
&:after {
clear: both;
content: '';
display: block;
}
}
}
/* Main */
#main {
> header {
background-image: url("../../images/banner.jpg");
background-position: center center;
background-repeat: no-repeat;
background-size: cover;
position: relative;
&:before {
background: #000000;
content: '';
height: 100%;
left: 0;
opacity: 0.5;
position: absolute;
top: 0;
width: 100%;
}
> * {
position: relative;
z-index: 1;
}
}
}