Skip to content

Commit 762a591

Browse files
Merge pull request #16 from stiefeljackal/tweak/layout
tweak(layout): adjust main layout structure and style
2 parents d1a099b + b59f0dc commit 762a591

File tree

2 files changed

+32
-9
lines changed

2 files changed

+32
-9
lines changed

public/stylesheets/style.css

+23
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,23 @@
22
--background-body: #11151d;
33
}
44

5+
html, body {
6+
display: flex;
7+
height: 100vh;
8+
margin: 0;
9+
}
10+
11+
html {
12+
justify-content: center;
13+
}
14+
15+
body {
16+
flex-direction: column;
17+
box-sizing: border-box;
18+
max-width: 820px;
19+
padding: 20px 10px;
20+
}
21+
522
.subheading {
623
font-size: 1rem;
724
}
@@ -17,6 +34,12 @@
1734
font-family: "Poppins", sans-serif;
1835
}
1936

37+
.go-page-content {
38+
flex: 1;
39+
}
40+
41+
.go-page-footer {
42+
width: 100%;
2043
.infobox {
2144
list-style-type: disc;
2245
padding-inline-start: 40px;

views/layout.pug

+9-9
Original file line numberDiff line numberDiff line change
@@ -13,13 +13,13 @@ html(lang="en")
1313
block head
1414
style.
1515
@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');
16-
17-
header.center
18-
img(src='/images/resonite.png' alt='Resonite')
1916
body
20-
block content
21-
h1 Placeholder
22-
footer
23-
p.center
24-
span Copyright ©
25-
a(href="https://yellowdogman.com/imprint.html") Yellow Dog Man Studios s.r.o.
17+
header.go-page-header.center
18+
img(src='/images/resonite.png' alt='Resonite')
19+
main.go-page-content
20+
block content
21+
h1 Placeholder
22+
footer.go-page-footer
23+
p.center
24+
span Copyright ©
25+
a(href="https://yellowdogman.com/imprint.html") Yellow Dog Man Studios s.r.o.

0 commit comments

Comments
 (0)