forked from dart-lang/dartdoc
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path_content.scss
More file actions
144 lines (116 loc) · 1.9 KB
/
_content.scss
File metadata and controls
144 lines (116 loc) · 1.9 KB
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
142
143
144
// Copyright (c) 2024, the Dart project authors. Please see the AUTHORS file
// for details. All rights reserved. Use of this source code is governed by a
// BSD-style license that can be found in the LICENSE file.
.main-content {
flex: 1;
order: 2;
overflow-y: scroll;
padding: 10px 20px 0 20px;
// Add a min height of the rest of the view port after the header,
// so that the footer isn't awkwardly in the middle of the page.
min-height: calc(100vh - var(--main-header-height));
}
a {
text-decoration: none;
}
button {
padding: 0;
}
section {
/* Note that the generated HTML for pub packages may have `section` tags
transformed into `div` tags. */
margin-bottom: 36px;
}
dl {
margin: 0;
}
header {
background-color: var(--main-header-color);
box-shadow: 0 3px 5px rgba(0, 0, 0, 0.1);
}
h1,
h2,
h3,
h4,
h5,
h6 {
font-family: Roboto, sans-serif;
font-weight: 400;
margin-top: 1.5em;
color: var(--main-text-color);
}
h1.title {
overflow: hidden;
text-overflow: ellipsis;
}
h1 {
font-size: 37px;
margin-top: 0;
margin-bottom: 0.67em;
@media(max-width: 840px) {
font-size: 24px;
}
}
h2 {
font-size: 28px;
}
h5 {
font-size: 16px;
}
p {
margin-bottom: 1em;
margin-top: 0;
}
a {
color: var(--main-hyperlinks-color);
}
a:hover {
color: #13B9FD;
}
.fixed {
white-space: pre;
}
header a,
header p,
header li {
color: #0175C2;
}
header a:hover {
color: #0175C2;
}
header h1 .kind {
color: #555;
}
header h1 {
font-weight: 400;
margin-bottom: 16px;
}
dt {
font-weight: normal;
}
dd {
color: var(--main-text-color);
margin-bottom: 1em;
margin-left: 0;
}
dd.callable, dd.constant, dd.property {
margin-bottom: 24px;
}
dd p {
overflow-x: hidden;
text-overflow: ellipsis;
margin-bottom: 0;
}
table {
margin-bottom: 1em;
}
table,
th,
td {
border: 1px solid lightgrey;
border-collapse: collapse;
}
th,
td {
padding: 8px;
}