Skip to content

Commit ca72b4c

Browse files
Merge pull request #395 from jarrodmillman/css-sorting
Cleanup old bulma css
2 parents 1f7ee45 + 88ea676 commit ca72b4c

2 files changed

Lines changed: 13 additions & 63 deletions

File tree

assets/theme-css/bulma.css

Lines changed: 0 additions & 54 deletions
Original file line numberDiff line numberDiff line change
@@ -128,10 +128,6 @@
128128
.navbar-burger {
129129
-moz-appearance: none;
130130
-webkit-appearance: none;
131-
appearance: none;
132-
background: 0 0;
133-
border: none;
134-
color: currentColor;
135131
font-family: inherit;
136132
font-size: 1em;
137133
margin: 0;
@@ -166,12 +162,6 @@ header,
166162
section {
167163
display: block;
168164
}
169-
hr {
170-
border: none;
171-
display: block;
172-
height: 2px;
173-
margin: 1.5rem 0;
174-
}
175165
img {
176166
height: auto;
177167
max-width: 100%;
@@ -245,21 +235,6 @@ a.box:active {
245235
height: auto;
246236
width: 100%;
247237
}
248-
.title {
249-
font-size: 2rem;
250-
font-weight: 600;
251-
line-height: 1.125;
252-
}
253-
.title strong {
254-
color: inherit;
255-
font-weight: inherit;
256-
}
257-
.title:not(.is-spaced) + .subtitle {
258-
margin-top: -1.25rem;
259-
}
260-
.title.is-5 {
261-
font-size: 1.25rem;
262-
}
263238
.heading {
264239
display: block;
265240
font-size: 11px;
@@ -548,12 +523,6 @@ a.box:active {
548523
color: currentColor;
549524
text-decoration: underline;
550525
}
551-
.navbar {
552-
background-color: #fff;
553-
min-height: 3.25rem;
554-
position: relative;
555-
z-index: 30;
556-
}
557526
.navbar > .container {
558527
align-items: stretch;
559528
display: flex;
@@ -564,24 +533,19 @@ a.box:active {
564533
align-items: stretch;
565534
display: flex;
566535
flex-shrink: 0;
567-
min-height: 3.25rem;
568536
}
569537
.navbar-brand a.navbar-item:focus,
570538
.navbar-brand a.navbar-item:hover {
571539
background-color: transparent;
572540
}
573541
.navbar-burger {
574-
color: #4a4a4a;
575542
-moz-appearance: none;
576543
-webkit-appearance: none;
577544
appearance: none;
578545
background: 0 0;
579546
border: none;
580547
cursor: pointer;
581-
display: block;
582-
height: 3.25rem;
583548
position: relative;
584-
width: 3.25rem;
585549
margin-left: auto;
586550
}
587551
.navbar-burger span {
@@ -605,12 +569,6 @@ a.box:active {
605569
.navbar-burger span:nth-child(3) {
606570
top: calc(50% + 4px);
607571
}
608-
.navbar-burger:hover {
609-
background-color: rgba(0, 0, 0, 0.05);
610-
}
611-
.navbar-burger.is-active span:first-child {
612-
transform: translateY(5px) rotate(45deg);
613-
}
614572
.navbar-burger.is-active span:nth-child(2) {
615573
opacity: 0;
616574
}
@@ -852,18 +810,6 @@ a.navbar-item:hover {
852810
display: none !important;
853811
}
854812
}
855-
.hero {
856-
align-items: stretch;
857-
display: flex;
858-
flex-direction: column;
859-
justify-content: space-between;
860-
}
861-
.hero .navbar {
862-
background: 0 0;
863-
}
864-
.hero ul {
865-
border-bottom: none;
866-
}
867813
.section {
868814
padding: 3rem 1.5rem;
869815
}

assets/theme-css/styles.css

Lines changed: 13 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,6 @@ body {
22
margin: 0;
33
}
44

5-
.title {
6-
color: var(--pst-heading-color);
7-
}
8-
9-
hr {
10-
background-color: var(--pst-color-text-muted);
11-
}
12-
135
/**
146
* See `code.literal` in
157
* src/pydata_sphinx_theme/assets/styles/content/_code.scss
@@ -38,6 +30,19 @@ a > code {
3830
margin-left: 0.5em;
3931
}
4032

33+
.hero {
34+
align-items: stretch;
35+
display: flex;
36+
flex-direction: column;
37+
justify-content: space-between;
38+
}
39+
.hero .navbar {
40+
background: 0 0;
41+
}
42+
.hero ul {
43+
border-bottom: none;
44+
}
45+
4146
.hero-container {
4247
width: 100vw;
4348
}
@@ -202,7 +207,6 @@ svg.icon {
202207
nav,
203208
.navbar {
204209
background: var(--pst-color-background);
205-
color: var(--pst-color-text-base);
206210
}
207211
.navbar-burger {
208212
color: var(--pst-color-text-muted);

0 commit comments

Comments
 (0)