Skip to content

Commit

Permalink
move title styles to global file
Browse files Browse the repository at this point in the history
  • Loading branch information
YouHaveTrouble committed Jun 20, 2023
1 parent cf69b92 commit 6625a5b
Show file tree
Hide file tree
Showing 2 changed files with 30 additions and 30 deletions.
30 changes: 30 additions & 0 deletions src/assets/main.scss
Original file line number Diff line number Diff line change
Expand Up @@ -82,3 +82,33 @@ body {
filter: brightness(1.2);
}
}

.title {
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
padding-block: 2.5rem;
text-align: center;
width: 100%;
max-width: 45rem;
gap: 0.5rem;

h1 {
font-size: 4rem;
line-height: 0.75;
white-space: pre-wrap;
margin: 0;
}

h3 {
margin: 0;
line-height: 0.9;
}

small {
font-size: 0.9rem;
font-weight: bold;
line-height: 0.25;
}
}
30 changes: 0 additions & 30 deletions src/views/HomeView.vue
Original file line number Diff line number Diff line change
Expand Up @@ -80,36 +80,6 @@ main {
}
}
.title {
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
padding-block: 2.5rem;
text-align: center;
width: 100%;
max-width: 45rem;
gap: 0.5rem;
h1 {
font-size: 4rem;
line-height: 0.75;
white-space: pre-wrap;
margin: 0;
}
h3 {
margin: 0;
line-height: 0.9;
}
small {
font-size: 0.9rem;
font-weight: bold;
line-height: 0.25;
}
}
.coffer {
text-align: center;
Expand Down

0 comments on commit 6625a5b

Please sign in to comment.