5
5
* Custom stylesheet
6
6
*
7
7
*/
8
- @import url ('https://fonts.googleapis.com/css?family=Roboto:100,300,300i,400,500,700,900' );
8
+ @import url ('https://fonts.googleapis.com/css?family=Roboto:100,300,300i,400,500,700,900' ); /* Ignore CSSLintBear */
9
9
10
- div .sphinxsidebar .caption-text {
10
+ .sphinxsidebar .caption-text {
11
11
font-size : 120% ;
12
12
}
13
13
14
- img .logo {
14
+ .logo {
15
15
width : 100% ;
16
16
}
17
17
18
- .sphinxsidebarwrapper a . current . reference . internal {
18
+ .sphinxsidebarwrapper . internal , . sphinxsidebarwrapper . external {
19
19
font-weight : 300 ;
20
20
}
21
21
@@ -24,76 +24,97 @@ body {
24
24
}
25
25
26
26
h1 , h2 , h3 , h4 , h5 , h6 {
27
- font-family : Roboto !important ;
28
- font-weight : 200 !important ;
27
+ font-family : Roboto !important ; /* Ignore CSSLintBear */
28
+ font-weight : 200 !important ; /* Ignore CSSLintBear */
29
29
}
30
30
31
31
.toctree-l1 {
32
32
padding-bottom : 0.5em ;
33
33
}
34
34
35
- div .body p , div .body dd , div .body li {
36
- line-height : 2 !important ;
37
- font-weight : 300 ;
38
- font-size : 1.1em ;
35
+ .body p , .body dd , .body li {
39
36
font-family : Roboto;
37
+ font-size : 1em ;
38
+ font-weight : 300 ;
39
+ line-height : 2 ;
40
40
text-align : justify;
41
41
}
42
42
43
- .sphinxsidebarwrapper > h3 {
44
- margin-top : 1em !important ;
43
+ .search {
44
+ margin-bottom : 1em ;
45
45
}
46
46
47
47
.sphinxsidebarwrapper ul {
48
- margin-bottom : 1em !important ;
48
+ margin-bottom : 1em ;
49
49
}
50
50
51
- div .sphinxsidebar input [type = "submit" i ] {
52
- font-family : 'Roboto' , serif !important ;
51
+ .sphinxsidebar input [type = "submit" ] {
52
+ font-family : 'Roboto' , serif ;
53
53
margin-top : 1em ;
54
54
}
55
55
56
- p .caption {
57
- margin-top : 1em !important ;
56
+ .caption {
57
+ margin-top : 1em ;
58
58
}
59
59
60
60
.caption-text {
61
61
font-weight : 500 ;
62
62
}
63
63
64
- div .sphinxsidebarwrapper h1 .logo-name {
64
+ .sphinxsidebarwrapper .logo-name {
65
65
display : none;
66
66
}
67
67
68
68
.sphinxsidebarwrapper .logo {
69
69
margin-bottom : 2em ;
70
70
}
71
71
72
- .admonition , .note {
72
+ div .admonition { /* Ignore CSSLintBear */
73
+ background-color : # 263238 ;
74
+ border : none;
75
+ border-radius : 0 ;
73
76
box-shadow : 0 2px 2px 0 rgba (0 , 0 , 0 , 0.14 ), 0 1px 5px 0 rgba (0 , 0 , 0 , 0.12 ), 0 3px 1px -2px rgba (0 , 0 , 0 , 0.2 );
77
+ color : white;
78
+ font-family : Roboto;
79
+ padding : 2em ;
74
80
position : relative;
75
- margin : 0.5rem 0 1rem 0 ;
76
- background-color : # 263238 !important ;
77
81
transition : box-shadow .25s ;
78
- border-radius : 0 !important ;
79
- border : none !important ;
80
- font-family : Roboto !important ;
81
- color : white;
82
82
}
83
83
84
- div .admonition p .admonition-title {
85
- font-family : 'Roboto' , serif !important ;
86
- margin : 0 0 5px 0 !important ;
87
- font-weight : 100 ;
84
+ div .attention { /* csslint allow: overqualified-elements */
85
+ background-color : # d9534f ;
86
+ }
87
+
88
+ div .caution { /* csslint allow: overqualified-elements */
89
+ background-color : # f0ad4e ;
90
+ }
91
+
92
+ div .important { /* csslint allow: overqualified-elements */
93
+ background-color : # d9534f ;
94
+ }
95
+
96
+ div .tip { /* csslint allow: overqualified-elements */
97
+ background-color : # 428bca ;
88
98
}
89
99
90
- .admonition p {
91
- margin-top : 1em !important ;
92
- font-weight : 200 !important ;
100
+ div .note { /* csslint allow: overqualified-elements */
101
+ background-color : # 5bc0de ;
102
+ }
103
+
104
+ div .admonition p .admonition-title { /* Ignore CSSLintBear */
105
+ font-family : 'Roboto' , serif;
106
+ font-weight : 200 ;
107
+ margin : 0 0 5px 0 ;
108
+ }
109
+
110
+ div .admonition p {
111
+ font-weight : 300 ;
112
+ margin-top : 1em ;
93
113
}
94
114
95
115
.admonition a {
96
116
color : # eee ;
117
+ font-weight : 300 ;
97
118
}
98
119
99
120
.admonition a : hover {
@@ -117,21 +138,17 @@ pre {
117
138
code {
118
139
background-color : # ecf0f3 ;
119
140
color : # 222 ;
120
- padding : 0 em !important ;
121
141
display : inline-block;
122
- }
123
-
124
- .admonition a {
125
- font-weight : 300 ;
142
+ padding : 0 ;
126
143
}
127
144
128
145
img {
146
+ height : auto ;
129
147
max-width : 100% ;
130
- height : auto !important ;
131
148
}
132
149
133
150
/* Override few pygments styles */
134
151
135
- .highlight .nn {
152
+ .highlight .nn , . highlight . nc {
136
153
text-decoration : none;
137
154
}
0 commit comments