forked from scala/docs.scala-lang
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathheading-line.scss
executable file
·52 lines (44 loc) · 1.11 KB
/
heading-line.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
// HEADING LINE
//------------------------------------------------
//------------------------------------------------
.heading-line {
margin-bottom: $padding-large;
text-align: center;
h2 {
color: #fff;
position: relative;
font-size: $font-size-h2;
font-weight: $font-bold;
span {
padding: 0 30px;
position: relative;
background: $gray-dark;
z-index: 5;
}
&:before {
content: "";
display: block;
height: 1px;
position: absolute;
top: 50%;
width: 100%;
background: $base-border-color-white;
}
}
.sub-heading {
font-size: $font-size-small;
color: $base-font-color-inverse;
font-style: italic;
}
.lead {
font-size: $font-size-large;
color: $base-font-color-inverse;
margin-top: 10px;
@include span-columns(8);
@include shift(2);
@include bp(medium) {
@include span-columns(12);
@include shift(0);
}
}
}