Skip to content

Commit a9b430e

Browse files
authored
size better mobile (#115)
1 parent 37db69d commit a9b430e

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

templates/index.css

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -23,15 +23,15 @@
2323
:root {
2424
--bg: #181a1b;
2525
--text: #e8e6e3;
26+
--page-margin: 8%;
2627
}
2728

2829
body {
2930
font-family: "Libre Caslon Text";
3031
color: var(--text);
3132
background-color: var(--bg);
32-
margin: 8%;
33-
padding: 0;
34-
width: 84%;
33+
margin: 0;
34+
width: 100%;
3535
}
3636

3737
/* overriding defaults */
@@ -94,7 +94,9 @@ code {
9494
display: flex;
9595
flex-direction: column;
9696
font-weight: 500;
97-
width: 100%;
97+
margin: var(--page-margin) auto var(--page-margin) auto;
98+
min-width: 300px;
99+
max-width: 1350px;
98100
}
99101

100102
#name {

0 commit comments

Comments
 (0)