forked from mgcrea/angular-strap
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocs.less
More file actions
135 lines (117 loc) · 2.44 KB
/
docs.less
File metadata and controls
135 lines (117 loc) · 2.44 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
@import (reference) "../../bower_components/bootstrap/less/bootstrap";
@white-background-color: #f9f9f9;
@import "examples";
@import "footer";
@import "masthead";
@import "navbar";
@import "old-docs";
@import "sidebar";
// html, body {
// -webkit-font-smoothing: antialiased;
// font-smoothing: antialiased;
// }
// button, select, textarea, input, pre {
// -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
// font-smoothing: antialiased;
// }
.am-fade.aside-backdrop, .am-fade.modal-backdrop {
background-color: rgba(0, 0, 0, .5);
}
.bs-docs-aside {
min-width: 200px;
}
/*
* Docs sections
*
* Content blocks for each component or feature.
*/
/* Space things out */
.bs-docs-section + .bs-docs-section {
// padding-top: 40px; // h1 janky fix does the job
}
/* Janky fix for preventing navbar from overlapping */
h1[id] {
padding-top: 80px;
margin-top: -45px;
}
h2[id] {
padding-top: 60px;
margin-top: -45px;
}
/*
* Page headers
*
* Jumbotron-esque headers at the top of every page that's not the homepage.
*/
/* Page headers */
.bs-header {
padding: 30px 15px 40px; /* side padding builds on .container 15px, so 30px */
font-size: 16px;
text-align: center;
text-shadow: 0 1px 0 hsla(0, 0%, 0%, 0.15);
}
.bs-header h1 {
color: hsl(0, 0%, 100%);
}
.bs-header p {
font-weight: 300;
line-height: 1.5;
}
.bs-header .container {
position: relative;
}
@media (min-width: 768px) {
.bs-header {
font-size: 21px;
text-align: left;
}
.bs-header h1 {
font-size: 60px;
line-height: 1;
}
}
@media (min-width: 992px) {
.bs-header h1,
.bs-header p {
margin-right: 300px;
}
}
/*
* Code snippets
*
* Generated via Pygments and Jekyll, these are snippets of HTML, CSS, and JS.
*/
.highlight {
display: none; /* hidden by default, until >480px */
padding: 9px 14px;
margin-bottom: 14px;
background-color: hsl(240, 14%, 97%);
border: 1px solid hsl(240, 13%, 90%);
border-radius: 4px;
}
.highlight pre {
padding: 0;
margin-top: 0;
margin-bottom: 0;
background-color: transparent;
border: 0;
white-space: nowrap;
}
.highlight pre code {
font-size: inherit;
color: hsl(0, 0%, 20%); /* Effectively the base text color */
}
.highlight pre .lineno {
display: inline-block;
width: 22px;
padding-right: 5px;
margin-right: 10px;
text-align: right;
color: hsl(240, 6%, 76%);
}
/* Show code snippets when we have the space */
@media (min-width: 481px) {
.highlight {
display: block;
}
}