Skip to content

Commit

Permalink
chore: add styles for logo and markdown images
Browse files Browse the repository at this point in the history
  • Loading branch information
vandreleal committed Jun 29, 2023
1 parent 5bc1153 commit 47aa58a
Show file tree
Hide file tree
Showing 4 changed files with 57 additions and 6 deletions.
15 changes: 15 additions & 0 deletions src/css/components/markdown.scss
Original file line number Diff line number Diff line change
Expand Up @@ -34,4 +34,19 @@
h3.heading {
--ifm-h3-font-size: 1.375rem;
}

img {
display: flex;
align-items: center;
margin: 0 auto;
width: 100%;
max-height: 600px;
object-fit: contain;
background-color: #edeeeb;
border-radius: 16px;

@media (min-width: 997px) {
padding: 36px;
}
}
}
20 changes: 16 additions & 4 deletions src/theme/Navbar/styles.scss
Original file line number Diff line number Diff line change
Expand Up @@ -29,13 +29,25 @@
z-index: calc(var(--ifm-z-index-fixed) + 15);

&__brand {
margin-right: 1.875rem;
width: 53px;
height: 46px;
margin-right: 1rem !important;
background-repeat: contain;
background-image: url("/img/logo-active.svg");
border-radius: 0.5rem;
}

&__logo {
height: 1.25rem;
transform: translateY(-0.1rem);
margin-right: 0.2rem;
height: 100%;
margin: 0;

img {
width: 100%;
}

&:hover {
opacity: 0;
}
}

&__title {
Expand Down
7 changes: 7 additions & 0 deletions static/img/logo-active.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
21 changes: 19 additions & 2 deletions static/img/logo.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 47aa58a

Please sign in to comment.