Skip to content

Commit

Permalink
chore(front): update style reset (#1168)
Browse files Browse the repository at this point in the history
  • Loading branch information
dgrebb committed Jan 17, 2024
1 parent 307a959 commit 1071625
Show file tree
Hide file tree
Showing 3 changed files with 22 additions and 3 deletions.
6 changes: 6 additions & 0 deletions front/src/lib/styles/base/reset.css
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ Use a better box model (opinionated).
::before,
::after {
box-sizing: border-box;
min-width: 0;
}

/**
Expand Down Expand Up @@ -474,6 +475,11 @@ h5,
h6 {
font-weight: inherit;
font-size: inherit;
text-wrap: balance;
}

p {
text-wrap: pretty;
}

/**
Expand Down
11 changes: 10 additions & 1 deletion front/src/lib/styles/components/animated-image.css
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,10 @@
}
}
&:active {
top: 0.85rem;
.play-icon,
.pause-icon {
transform: translateY(0.033rem);
}
}
.play-icon,
.pause-icon {
Expand Down Expand Up @@ -108,6 +111,12 @@
opacity: 0.5;
}
}
&:active {
.play-icon,
.pause-icon {
transform: translateY(0.033rem);
}
}
.play-icon {
display: none;
}
Expand Down
8 changes: 6 additions & 2 deletions front/src/lib/styles/pages/post.css
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,7 @@
font-size: 3rem;
line-height: 0.8;
font-family: var(--font-lbb);
@media screen and (min-width: 768px) {
@media screen and (min-width: 640px) {
padding-top: 0.55rem;
font-size: 3.5rem;
}
Expand Down Expand Up @@ -522,7 +522,7 @@
position: relative;
float: right;
z-index: 9;
margin-left: 3rem;
margin-left: 1.5rem;
padding-bottom: 3rem;
width: 25%;
.page-navigation {
Expand All @@ -544,6 +544,10 @@
padding: 0.175rem 0.25rem;
}
blockquote {
display: flex;
flex-direction: column;
width: auto;
max-width: 83%;
& + h1,
& + h2,
& + h3,
Expand Down

0 comments on commit 1071625

Please sign in to comment.