Skip to content

Commit 96a0042

Browse files
Remove level css (#525)
* Remove unused level sytling * Remove more level styling * Remove more * Final
1 parent 8edd54b commit 96a0042

3 files changed

Lines changed: 15 additions & 59 deletions

File tree

assets/theme-css/bulma.css

Lines changed: 0 additions & 47 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
.block:not(:last-child),
33
.box:not(:last-child),
44
.content:not(:last-child),
5-
.level:not(:last-child),
65
.title:not(:last-child) {
76
margin-bottom: 1.5rem;
87
}
@@ -76,52 +75,6 @@ a.box:active {
7675
.field:not(:last-child) {
7776
margin-bottom: 0.75rem;
7877
}
79-
.level {
80-
align-items: center;
81-
justify-content: space-between;
82-
}
83-
.level code {
84-
border-radius: 4px;
85-
}
86-
.level img {
87-
display: inline-block;
88-
vertical-align: top;
89-
}
90-
.level.is-mobile {
91-
display: flex;
92-
}
93-
.level.is-mobile .level-item:not(:last-child) {
94-
margin-bottom: 0;
95-
margin-right: 0.75rem;
96-
}
97-
.level.is-mobile .level-item:not(.is-narrow) {
98-
flex-grow: 1;
99-
}
100-
@media screen and (min-width: 769px), print {
101-
.level {
102-
display: flex;
103-
}
104-
.level > .level-item:not(.is-narrow) {
105-
flex-grow: 1;
106-
}
107-
}
108-
.level-item {
109-
align-items: center;
110-
display: flex;
111-
flex-basis: auto;
112-
flex-grow: 0;
113-
flex-shrink: 0;
114-
justify-content: center;
115-
}
116-
.level-item .subtitle,
117-
.level-item .title {
118-
margin-bottom: 0;
119-
}
120-
@media screen and (max-width: 768px) {
121-
.level-item:not(:last-child) {
122-
margin-bottom: 0.75rem;
123-
}
124-
}
12578
.column {
12679
display: block;
12780
flex-basis: 0;

assets/theme-css/footer.css

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -73,12 +73,17 @@
7373
/* Icon size slightly enlargened for footer */
7474
font-size: 2.3em;
7575
max-width: 25rem;
76+
margin-bottom: 1.5rem;
7677
}
7778

7879
#footer .community-icons a {
7980
display: inline-block;
8081
}
8182

83+
#footer .community-icons a:not(:last-child) {
84+
margin-right: 0.75rem;
85+
}
86+
8287
#footer svg.icon {
8388
fill: var(--colorSecondary);
8489
margin-right: 0.5rem;

layouts/partials/footer.html

Lines changed: 10 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -25,19 +25,17 @@
2525
{{- end }}
2626
<div class="footer-actions">
2727
{{ partial "footer_actions.html" . }}
28-
<nav class="level is-mobile">
29-
<div class="community-icons">
30-
{{- range $socialMedia }}
31-
<a class="level-item" href="{{ .link }}" aria-label="{{ .link }}">
32-
{{if .icon -}}
33-
{{- partial "svg-icon" .icon -}}
34-
{{- else -}}
35-
<span class="icon"></span>
36-
{{- end }}
37-
</a>
28+
<div class="community-icons">
29+
{{- range $socialMedia }}
30+
<a href="{{ .link }}" aria-label="{{ .link }}">
31+
{{if .icon -}}
32+
{{- partial "svg-icon" .icon -}}
33+
{{- else -}}
34+
<span class="icon"></span>
3835
{{- end }}
39-
</div>
40-
</nav>
36+
</a>
37+
{{- end }}
38+
</div>
4139
<div class="copyright">&copy; {{ now.Year}} {{ $author }}. All rights reserved.</div>
4240
</div>
4341
</div>

0 commit comments

Comments
 (0)