Skip to content

Commit

Permalink
Fix image bug
Browse files Browse the repository at this point in the history
  • Loading branch information
iigmir committed Nov 13, 2023
1 parent 40183fd commit a6aa033
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions src/css/new-framework.css
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,7 @@ code {
padding: 3px;
}

p, article p {
line-height: 24px;
}
p, article p { line-height: 24px; }

.click-icon { cursor: pointer; }

Expand All @@ -35,8 +33,7 @@ p, article p {
}

/* Colour scheme */
@media (prefers-color-scheme: light)
{
@media (prefers-color-scheme: light) {
code {
--code-text-colour: #000000;
--code-bg-colour: #f5f2f0;
Expand All @@ -47,8 +44,7 @@ p, article p {
}
}
}
@media (prefers-color-scheme: dark)
{
@media (prefers-color-scheme: dark) {
code {
--code-text-colour: #000000;
--code-bg-colour: #f5f2f0;
Expand All @@ -60,7 +56,11 @@ p, article p {
}
}

/* RWD service */
/* Image and its RWD service */
article img, .article img {
max-width: 1200px;
}

@media (max-width: 1199px) {
article, .article, footer, .footer {
padding: 0 1rem;
Expand Down

0 comments on commit a6aa033

Please sign in to comment.