Skip to content

Commit

Permalink
Layout adjustments; hiding scrollbar
Browse files Browse the repository at this point in the history
  • Loading branch information
jacmoe committed Sep 21, 2023
1 parent 7a99d6e commit 1d92af5
Show file tree
Hide file tree
Showing 24 changed files with 92 additions and 2,734 deletions.
67 changes: 67 additions & 0 deletions assets/css/custom.css
Original file line number Diff line number Diff line change
Expand Up @@ -112,3 +112,70 @@ figcaption {
text-align: center;
}
}

.layout {
display: flex;
flex-wrap: wrap;
margin-top: -1em;
margin-left: -3.5em;
align-items: center;
}
.layout:not(:first-of-type) {
margin-top: 3em;
}
.layout:nth-child(even) {
flex-direction: row-reverse;
}
.layout__item {
padding-top: 1em;
padding-left: 3.5em;
}
.layout__item--body {
flex-grow: 9999;
flex-basis: 15rem;
}
.layout__item--figure {
margin-right: auto;
flex-grow: 1;
}
@supports ((max-width: -webkit-max-content) or (max-width: -moz-max-content) or (max-width: max-content)) {
.layout__item--figure {
min-width: 15rem;
max-width: -webkit-max-content;
max-width: -moz-max-content;
max-width: max-content;
flex-basis: 15rem;
flex-grow: 99999;
}
}

.layout__item * + * {
margin-top: 1em;
}

@media (min-width: 48em) {
.container.content {
padding-right: 0;
}
}
@media (min-width: 64em) {
.content {
max-width: 44rem;
margin-right: 1rem;
}
}

.container.content {
-ms-overflow-style: none; /* for Internet Explorer, Edge */
scrollbar-width: none; /* for Firefox */
overflow-y: scroll;
}
.container.content::-webkit-scrollbar {
display: none;
}
.container.content::-webkit-scrollbar-thumb {
display: none;
}
.container.content::-webkit-scrollbar-track {
display: none;
}
6 changes: 3 additions & 3 deletions config.toml
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,9 @@ disqusShortname = "notusingdisqus"
# HasChildren: If the directory's files should be listed. Default is true.
# Limit: If the files should be listed, how many should be shown.
menu = [
{Name = "About", URL = "/about/", HasChildren = false},
{Name = "Projects", URL = "/projects/", HasChildren = false},
{Name = "Gallery", URL = "/gallery/", HasChildren = false},
#{Name = "About", URL = "/about/", HasChildren = false},
#{Name = "Projects", URL = "/projects/", HasChildren = false},
#{Name = "Gallery", URL = "/gallery/", HasChildren = false},
{Name = "Archive", URL = "/posts/", HasChildren = false},
]

Expand Down
131 changes: 1 addition & 130 deletions docs/404.html
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,7 @@



<link type="text/css" rel="stylesheet" href="/css/bundle.min.1673ade16343c20ee6ab0f351b2358510d09946d6f6a441b77195ba6436610af.css">
<link type="text/css" rel="stylesheet" href="/css/bundle.min.c4c39b49b992ca24b33684697a2fb0acbe29f8c47ff5c80d76ecbe976813eb91.css">
<link rel="stylesheet" href="https://jacmoe.github.io//css/justifiedGallery.min.css">
<link rel="stylesheet" href="https://jacmoe.github.io//css/swipebox.min.css">
<link rel="me" value="https://writing.exchange/@jacmoe" />
Expand Down Expand Up @@ -254,135 +254,6 @@ <h1>Jacmoe&#39;s Cyber Soapbox</h1>










<li class="heading">
<a href="/about/">About</a>
</li>

















































<li class="heading">
<a href="/projects/">Projects</a>
</li>


































<li class="heading">
<a href="/gallery/">Gallery</a>
</li>

































Expand Down
131 changes: 1 addition & 130 deletions docs/about/about/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,7 @@



<link type="text/css" rel="stylesheet" href="/css/bundle.min.1673ade16343c20ee6ab0f351b2358510d09946d6f6a441b77195ba6436610af.css">
<link type="text/css" rel="stylesheet" href="/css/bundle.min.c4c39b49b992ca24b33684697a2fb0acbe29f8c47ff5c80d76ecbe976813eb91.css">
<link rel="stylesheet" href="https://jacmoe.github.io//css/justifiedGallery.min.css">
<link rel="stylesheet" href="https://jacmoe.github.io//css/swipebox.min.css">
<link rel="me" value="https://writing.exchange/@jacmoe" />
Expand Down Expand Up @@ -258,135 +258,6 @@ <h1>Jacmoe&#39;s Cyber Soapbox</h1>










<li class="heading">
<a href="/about/">About</a>
</li>

















































<li class="heading">
<a href="/projects/">Projects</a>
</li>


































<li class="heading">
<a href="/gallery/">Gallery</a>
</li>

































Expand Down
Loading

0 comments on commit 1d92af5

Please sign in to comment.