Skip to content

Commit 00fc833

Browse files
committed
Cleanup old bulma css
1 parent 1f7ee45 commit 00fc833

2 files changed

Lines changed: 13 additions & 34 deletions

File tree

assets/theme-css/bulma.css

Lines changed: 0 additions & 33 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;
@@ -548,12 +544,6 @@ a.box:active {
548544
color: currentColor;
549545
text-decoration: underline;
550546
}
551-
.navbar {
552-
background-color: #fff;
553-
min-height: 3.25rem;
554-
position: relative;
555-
z-index: 30;
556-
}
557547
.navbar > .container {
558548
align-items: stretch;
559549
display: flex;
@@ -564,24 +554,19 @@ a.box:active {
564554
align-items: stretch;
565555
display: flex;
566556
flex-shrink: 0;
567-
min-height: 3.25rem;
568557
}
569558
.navbar-brand a.navbar-item:focus,
570559
.navbar-brand a.navbar-item:hover {
571560
background-color: transparent;
572561
}
573562
.navbar-burger {
574-
color: #4a4a4a;
575563
-moz-appearance: none;
576564
-webkit-appearance: none;
577565
appearance: none;
578566
background: 0 0;
579567
border: none;
580568
cursor: pointer;
581-
display: block;
582-
height: 3.25rem;
583569
position: relative;
584-
width: 3.25rem;
585570
margin-left: auto;
586571
}
587572
.navbar-burger span {
@@ -605,12 +590,6 @@ a.box:active {
605590
.navbar-burger span:nth-child(3) {
606591
top: calc(50% + 4px);
607592
}
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-
}
614593
.navbar-burger.is-active span:nth-child(2) {
615594
opacity: 0;
616595
}
@@ -852,18 +831,6 @@ a.navbar-item:hover {
852831
display: none !important;
853832
}
854833
}
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-
}
867834
.section {
868835
padding: 3rem 1.5rem;
869836
}

assets/theme-css/styles.css

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,19 @@ a > code {
3838
margin-left: 0.5em;
3939
}
4040

41+
.hero {
42+
align-items: stretch;
43+
display: flex;
44+
flex-direction: column;
45+
justify-content: space-between;
46+
}
47+
.hero .navbar {
48+
background: 0 0;
49+
}
50+
.hero ul {
51+
border-bottom: none;
52+
}
53+
4154
.hero-container {
4255
width: 100vw;
4356
}
@@ -202,7 +215,6 @@ svg.icon {
202215
nav,
203216
.navbar {
204217
background: var(--pst-color-background);
205-
color: var(--pst-color-text-base);
206218
}
207219
.navbar-burger {
208220
color: var(--pst-color-text-muted);

0 commit comments

Comments
 (0)