Skip to content

Commit dfd056b

Browse files
committed
DOC: CSS fixes to pad body and header on narrower browser windows
1 parent 99e2eec commit dfd056b

File tree

1 file changed

+19
-2
lines changed

1 file changed

+19
-2
lines changed

doc/source/themes/agogo/static/agogo.css_t

+19-2
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,9 @@ div.header, div.content, div.footer {
3232

3333
div.header-wrapper {
3434
background: {{ theme_headerbg }};
35+
padding: 1em 1em 0;
3536
border-bottom: 3px solid #2e3436;
37+
min-height: 0px;
3638
}
3739

3840

@@ -105,6 +107,11 @@ img {
105107
border: 0;
106108
}
107109

110+
pre {
111+
background-color: #EEE;
112+
padding: 0.5em;
113+
}
114+
108115
div.admonition {
109116
margin-top: 10px;
110117
margin-bottom: 10px;
@@ -123,10 +130,14 @@ dt:target, .highlighted {
123130

124131
/* Header */
125132

133+
/*
126134
div.header {
127135
padding-top: 10px;
128136
padding-bottom: 10px;
129137
}
138+
*/
139+
140+
div.header {}
130141

131142
div.header h1 {
132143
font-family: {{ theme_headerfont }};
@@ -140,13 +151,16 @@ div.header h1 a {
140151
}
141152

142153
div.header div.rel {
143-
margin-top: 1em;
154+
text-decoration: none;
144155
}
156+
/* margin-top: 1em; */
145157

146158
div.header div.rel a {
159+
margin-top: 1em;
147160
color: {{ theme_headerlinkcolor }};
148161
letter-spacing: .1em;
149162
text-transform: uppercase;
163+
padding: 3px 1em;
150164
}
151165

152166
p.logo {
@@ -161,9 +175,12 @@ img.logo {
161175
/* Content */
162176
div.content-wrapper {
163177
background-color: white;
178+
padding: 1em;
179+
}
180+
/*
164181
padding-top: 20px;
165182
padding-bottom: 20px;
166-
}
183+
*/
167184

168185
/* float: left; */
169186

0 commit comments

Comments
 (0)