forked from scala/docs.scala-lang
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocumentation.scss
104 lines (89 loc) · 1.61 KB
/
documentation.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
// BLOG
//------------------------------------------------
//------------------------------------------------
.title-page {
h1 {
line-height: 1.875rem;
}
.content-title-documentation {
.titles {
@include span-columns(6);
@include bp(medium) {
@include span-columns(12);
}
min-height: 70px;
max-height: 160px;
margin-top: 30px;
margin-bottom: 100px;
// this causes issues on mobile with the header being hidden behind
// the contents:
// @include bp(medium) {
// margin-bottom: 0;
//}
.supertitle {
text-transform: uppercase;
font-weight: $font-black;
font-size: 20px;
color: rgba(0, 0, 0, 0.2);
}
h1 {
padding-top: 0;
}
}
.spacer {
height: 80px;
}
}
}
.content-primary.documentation {
line-height: 1.3;
p {
line-height: 1.5;
}
ol {
margin-bottom: 18px;
}
.tag {
float: right;
top: 3px;
background: $brand-primary;
color: #fff;
text-transform: uppercase;
font-size: 11px;
font-weight: $font-bold;
padding: 1px 5px;
}
.tag-inline {
float: none;
}
h1,
h3,
h4,
h5,
h6 {
.heading-anchor {
color: $base-font-color;
}
&:hover {
.heading-anchor {
visibility: visible;
}
}
}
h2 {
.heading-anchor {
color: $brand-tertiary;
}
&:hover {
.heading-anchor {
visibility: visible;
}
}
}
}
a.new-version-notice {
display: block;
background: rgb(255, 255, 200);
font-size: large;
text-align: center;
}