Skip to content

Commit

Permalink
feat: switch to 65/35 layout
Browse files Browse the repository at this point in the history
`homepage` keeps 50/50
  • Loading branch information
charlesrocket committed May 24, 2024
1 parent 8f4eb7e commit 730b6bd
Showing 1 changed file with 13 additions and 7 deletions.
20 changes: 13 additions & 7 deletions sass/_site.scss
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
.block-left {
width: 35%;
float: left;
.content {
z-index: 1;
Expand All @@ -7,16 +8,16 @@
}

.block-right {
width: 65%;
float: right;
overflow-y: auto;
.content {
padding: 120px 60px 60px;
padding: 120px 10% 60px;
}
}

.block-left,
.block-right {
width: 50%;
height: 100%;
position: relative;
display: table;
Expand All @@ -32,13 +33,19 @@
}

#homepage {
.block-left {
width: 50%;
}
.block-right {
width: 50%;
display: block;
> div {
display: flex;
align-items: center;
}
.content {
padding: 60px;
max-width: 600px;
min-height: 94%;
}
}
Expand All @@ -50,8 +57,6 @@
}

.content {
padding: 60px;
max-width: 600px;
margin: 0 auto;
overflow-wrap: break-word;
}
Expand Down Expand Up @@ -357,7 +362,7 @@ a.zola-anchor {
}
p {
color: $overlay-color;
font-size: 12px;
font-size: 14px;
margin: 10px 0;
padding-top: 0;
line-height: 24px;
Expand All @@ -375,7 +380,6 @@ a.zola-anchor {
height: auto;
min-height: 94%;
display: block;
max-width: 800px;
}
}
.logo {
Expand Down Expand Up @@ -491,7 +495,7 @@ a.zola-anchor {
margin-bottom: 20px;
}
p {
font-size: 12px;
font-size: 14px;
line-height: 1.6;
margin-bottom: 1.3em;
}
Expand Down Expand Up @@ -543,6 +547,7 @@ a.zola-anchor {
border: 2px dashed;
border-color: darken($white, 42);
> p {
font-size: 12px;
margin-bottom: unset;
}
}
Expand All @@ -557,6 +562,7 @@ a.zola-anchor {
border: 2px dashed;
border-color: darken($white, 42);
> p {
font-size: 12px;
margin-bottom: unset;
}
}
Expand Down

0 comments on commit 730b6bd

Please sign in to comment.