Skip to content

Commit

Permalink
Add home illustration
Browse files Browse the repository at this point in the history
  • Loading branch information
MinThaMie committed Nov 23, 2023
1 parent 0d0450b commit 3cab42f
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 7 deletions.
19 changes: 12 additions & 7 deletions app/styles/app.css
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,22 @@
--background-color: #fff6ef;
}

html {
height: 100%;
}

body {
font-family: Inter, sans-serif;
}

body.index {
background-color: white;
background-image: url("/illustrations/home.svg");
background-position: right bottom;
background-repeat: no-repeat;
background-size: min(60%, 800px);
}

h2 {
color: var(--primary-color);
font-family: "PT serif", serif;
Expand Down Expand Up @@ -166,10 +178,3 @@ nav > ul > li > a.active {
.menu-button:hover {
color: var(--primary-color);
}

.large-illustration {
height: 80%;
position: fixed;
top: 120px;
right: 20px;
}
Loading

0 comments on commit 3cab42f

Please sign in to comment.