Skip to content

Commit 11bbb64

Browse files
Jakubluizdepra
authored andcommitted
Long title covers menu (luizdepra#574)
* modified margin for .container class * modified navigation list and menu button so it is relative to title * added kuba86 as contributor * generate CSS files * remove margin-top from menu-button to align with title inside navigation Co-authored-by: Luiz F. A. de Prá <[email protected]>
1 parent 23233b1 commit 11bbb64

File tree

5 files changed

+7
-7
lines changed

5 files changed

+7
-7
lines changed

CONTRIBUTORS.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -98,5 +98,6 @@
9898
- [cuso4-5h2o](https://www.cuso4.me)
9999
- [freeformz](https://icanhazdowntime.org)
100100
- [Roberto Gongora](https://yourfavourite.blog)
101+
- [kuba86](https://kuba86.com)
101102
- [Vladislav Matus](https://github.com/matusvla)
102103
- [Kirill Feoktistov](https://feoktistoff.org)

assets/scss/_base.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -234,7 +234,7 @@ figure {
234234
}
235235

236236
.container {
237-
margin: 0 auto;
237+
margin: 1rem auto;
238238
max-width: 90rem;
239239
width: 100%;
240240
padding-left: 2rem;

assets/scss/_navigation.scss

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@
88
font-size: 1.7rem;
99
font-family: $font-family;
1010
font-weight: 600;
11-
line-height: 6rem;
1211
color: $fg-color;
1312
}
1413

@@ -32,8 +31,8 @@
3231
margin-top: 0;
3332

3433
@media only screen and (max-width: 768px) {
35-
position: absolute;
36-
top: 6rem;
34+
position: relative;
35+
top: 2rem;
3736
right: 0;
3837
z-index: 5;
3938
visibility: hidden;
@@ -117,8 +116,8 @@
117116
display: none;
118117

119118
@media only screen and (max-width: 768px) {
119+
position: relative;
120120
display: block;
121-
margin: 1.8rem 0;
122121
font-size: 2.4rem;
123122
font-weight: 400;
124123
}

resources/_gen/assets/scss/scss/coder.scss_5e1eb8e37c42cdfb6215b61e44dcfa5f.content

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
{"Target":"css/coder.min.93c41bf1e522f85ecda7355985f09000f71fc1d64dda9f74051b0fa06210e93f.css","MediaType":"text/css","Data":{"Integrity":"sha256-k8Qb8eUi+F7NpzVZhfCQAPcfwdZN2p90BRsPoGIQ6T8="}}
1+
{"Target":"css/coder.min.34dfa7b2f5cdeb0f5302b2628f4a7a4bfe88a2431e1397ee4ec605c56ab69701.css","MediaType":"text/css","Data":{"Integrity":"sha256-NN+nsvXN6w9TArJij0p6S/6IokMeE5fuTsYFxWq2lwE="}}

0 commit comments

Comments
 (0)