Skip to content

Commit

Permalink
fix style
Browse files Browse the repository at this point in the history
  • Loading branch information
leovan committed Jan 22, 2023
1 parent 6ee84f8 commit 35bca86
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 3 deletions.
1 change: 0 additions & 1 deletion LICENSE
Original file line number Diff line number Diff line change
Expand Up @@ -435,4 +435,3 @@ the avoidance of doubt, this paragraph does not form part of the
public licenses.

Creative Commons may be contacted at creativecommons.org.

11 changes: 9 additions & 2 deletions static/css/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -435,7 +435,7 @@ body:not(.dark) #sun {

.main .index {
align-items: center;
min-height: calc(100vh - var(--header-height) - var(--footer-height) - (var(--gap) * 2));
min-height: calc(100dvh - var(--header-height) - var(--footer-height) - (var(--gap) * 2));
text-align: center;
}

Expand Down Expand Up @@ -520,7 +520,7 @@ body:not(.dark) #sun {
/* main */
.main {
position: relative;
min-height: calc(100vh - var(--header-height) - var(--footer-height));
min-height: calc(100dvh - var(--header-height) - var(--footer-height));
max-width: calc(var(--main-width) + var(--gap) * 2);
margin: auto;
padding: var(--gap);
Expand Down Expand Up @@ -1052,6 +1052,7 @@ div.code-toolbar > .toolbar {
/* google adsense */
.adsbygoogle {
margin: 16px auto 16px auto !important;
width: 100% !important;
}

/* pdf slide viewer */
Expand Down Expand Up @@ -1108,3 +1109,9 @@ div.code-toolbar > .toolbar {
padding: calc((var(--footer-height) - var(--gap) - 10px) / 2) var(--gap);
}
}

@media screen and (max-width: 480px) {
#menu {
display: none;
}
}

0 comments on commit 35bca86

Please sign in to comment.