Skip to content

Commit 1f93c97

Browse files
Cleanup CSS (#350)
* Clean up bulma and styles * Cleanup content and styles * Cleanup panel and bulma * Cleanup keyfeatures * Remove b/c not needed
1 parent c18d8e9 commit 1f93c97

File tree

5 files changed

+15
-53
lines changed

5 files changed

+15
-53
lines changed

assets/theme-css/bulma.css

Lines changed: 0 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -199,7 +199,6 @@ section {
199199
display: block;
200200
}
201201
hr {
202-
background-color: #f5f5f5;
203202
border: none;
204203
display: block;
205204
height: 2px;
@@ -228,9 +227,6 @@ table td:not([align]),
228227
table th:not([align]) {
229228
text-align: inherit;
230229
}
231-
table th {
232-
color: #363636;
233-
}
234230
@-webkit-keyframes spinAround {
235231
from {
236232
transform: rotate(0);
@@ -1237,16 +1233,6 @@ a.navbar-item:hover {
12371233
background-color: #fafafa;
12381234
}
12391235
}
1240-
.panel {
1241-
border-radius: 6px;
1242-
box-shadow:
1243-
0 0.5em 1em -0.125em rgba(10, 10, 10, 0.1),
1244-
0 0 0 1px rgba(10, 10, 10, 0.02);
1245-
font-size: 1rem;
1246-
}
1247-
.panel:not(:last-child) {
1248-
margin-bottom: 1.5rem;
1249-
}
12501236
.tabs {
12511237
-webkit-overflow-scrolling: touch;
12521238
align-items: stretch;
@@ -1403,6 +1389,3 @@ a.navbar-item:hover {
14031389
padding: 3rem 3rem;
14041390
}
14051391
}
1406-
.footer {
1407-
padding: 3rem 1.5rem 6rem;
1408-
}

assets/theme-css/content.css

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,15 @@
1616
margin-left: 15px;
1717
}
1818

19+
.content-container .toctree-wrapper ul:first-child {
20+
margin-left: 0;
21+
padding-left: 0.75rem;
22+
}
23+
24+
.content-container .toctree-wrapper ul {
25+
margin-left: 0.75rem;
26+
}
27+
1928
.content-container ol {
2029
padding: 10px;
2130
margin-left: 15px;

assets/theme-css/keyfeatures.css

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@
1010
.keyfeatures-box-container {
1111
display: flex;
1212
flex-wrap: wrap;
13-
justify-content: center;
1413
}
1514

1615
.keyfeatures-box-content {
@@ -47,12 +46,6 @@
4746
height: 1.2em;
4847
}
4948

50-
/* .keyfeatures-box-content:hover > .keyfeatures-box-text, */
51-
/* .keyfeatures-box-content:focus > .keyfeatures-box-text, */
52-
/* .keyfeatures-box-content:active > .keyfeatures-box-text { */
53-
/* color: var(--colorPrimaryLight); */
54-
/* } */
55-
5649
@media only screen and (max-width: 1280px) {
5750
.keyfeatures .container {
5851
align-items: center;
@@ -80,8 +73,6 @@
8073

8174
.keyfeatures-underline {
8275
display: inline-block;
83-
vertical-align: middle;
84-
/* Black, with 10% opacity */
8576
position: relative;
8677
overflow: hidden;
8778
}

assets/theme-css/panel.css

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
.panel {
2-
margin: 1em;
3-
/* Override bulma. */
2+
border-radius: 6px;
43
box-shadow: none;
4+
font-size: 1rem;
5+
margin: 1em;
56
}
67

78
.panel .container {

assets/theme-css/styles.css

Lines changed: 3 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@ hr {
1111
}
1212

1313
table th {
14-
/* Overriding bulma. */
1514
color: var(--colorTextAlt);
1615
}
1716

@@ -131,30 +130,6 @@ a > code {
131130
margin-top: 30px;
132131
}
133132

134-
p {
135-
margin-bottom: 0;
136-
}
137-
138-
.content-container ul {
139-
list-style-type: circle;
140-
padding: 10px;
141-
margin-left: 15px;
142-
}
143-
144-
.content-container .toctree-wrapper ul:first-child {
145-
margin-left: 0;
146-
padding-left: 0.75rem;
147-
}
148-
149-
.content-container .toctree-wrapper ul {
150-
margin-left: 0.75rem;
151-
}
152-
153-
.content-container ol {
154-
padding: 10px;
155-
margin-left: 15px;
156-
}
157-
158133
@media only screen and (max-width: 1090px) {
159134
.hero-content {
160135
flex-direction: column;
@@ -185,6 +160,9 @@ p {
185160
}
186161

187162
/* Footer */
163+
.footer {
164+
padding: 3rem 1.5rem 6rem;
165+
}
188166
#footer {
189167
background-color: var(--colorPrimaryDark);
190168
}

0 commit comments

Comments
 (0)