/*if you just want to customize colors, you can do that up here with these!*/ :root { --textcolor: #070d0d; --backgroundcolor: #f3f8f8; --postbackgroundcolor: #f9f9f9; --accentcolor: #5a9da6; --accentcolorlight: #cde1e4; } /*and under here is the rest of the layout code. modify it however you please.*/ * { box-sizing: border-box; scrollbar-width: thin; scrollbar-color: var(--accentcolor) var(--backgroundcolor); } html { margin: 0; padding: 0; } body { background-color: var(--backgroundcolor); font-family: 'Ubuntu', Helvetica, Arial, sans-serif; font-size: 8pt; margin: 0; padding: 0; color: var(--textcolor); } ::selection { background-color: var(--accentcolorlight); } h1 { font-size: 56pt; margin: 0; position: fixed; bottom: 5px; left: 5px; } h2 { padding-left: 10px; } ul { padding-left: 30px; padding-right: 20px; } ul>ul { padding-left: 20px; } a { color: var(--accentcolor); font-weight: bold; } a:hover, a:focus { color: var(--accentcolorlight); } summary { color: var(--accentcolor); list-style-type: none; padding: 10px; cursor: pointer; } hr { width: 75%; border-top: 1px solid var(--accentcolorlight); } .container { margin: auto; width: fit-content; min-height: 100vh; } .sidebar { width: 250px; margin: 25px; margin-top: 0; position: fixed; height: 100%; display: flex; gap: 10px; flex-direction: column; align-items: center; justify-content: center; line-height: 1; transition: 0.5s; } .bio { background-color: #f9f9f9; border: 1px rgba(000, 000, 000, 0.1) solid; padding: 10px; text-align: center; width: 100%; } #profilepic { height: 150px; width: 150px; margin: auto; margin-top: -75px; border-radius: 100%; overflow: hidden; } #profilepic img { height: 100%; } .nav { text-align: center; border: 1px var(--accentcolorlight) solid; background-color: var(--postbackgroundcolor); max-width: 250px; overflow: auto; } .nav a { text-decoration: 1px underline dotted; } .nav summary { font-size: x-large; width: fit-content; } .nav details[open]>summary { transform: rotate(90deg) } .nav ul { list-style-type: none; padding: 0; } .nav li { padding: 5px; } #bottomrightcorner { position: fixed; width: fit-content; height: fit-content; bottom: 0px; right: 0px; z-index: -1; } #bottomrightcorner img { max-height: 300px; } .columnbody { column-count: 3; align-items: center; column-gap: 25px; padding: 20px; padding-top: 70px; margin-left: 300px; min-height: 100vh; } .post { width: 250px; max-height: 450px; min-height: 100px; overflow: auto; border: 1px rgba(000, 000, 000, 0.1) solid; box-shadow: rgba(50, 50, 93, 0.25) 0px 1px 2px -1px, rgba(0, 0, 0, 0.3) 0px 1px 2px -1px; background-color: var(--postbackgroundcolor); border-radius: 5px; margin-bottom: 25px; transition: 0.5s; } .post img { max-width: 100%; max-height: 400px; border-radius: 5px; } .post:hover { box-shadow: rgba(50, 50, 93, 0.25) 0px 50px 100px -20px, rgba(0, 0, 0, 0.3) 0px 30px 60px -30px; scale: 1.3; } .post p { padding: 10px; padding-top: 0; padding-bottom: 0; } .reversepost { background-color: var(--textcolor); color: var(--backgroundcolor); } .imagepost { overflow: hidden; } .imageposttext { max-height: 50px; overflow: auto; font-style: italic; letter-spacing: 1px; border-left: 2px var(--accentcolor) solid; margin-top: 5px; margin-bottom: 5px; margin-left: 10px; text-align: justify; } .imageposttext p { margin: 0; } /*these are for the "page" version of the layout.*/ .pagebody { display: flex; flex-direction: column; align-items: center; justify-content: center; margin-left: 300px; min-height: 80vh; padding: 50px; padding-right: 0; font-size: 12pt; max-width: 800px; } .page { overflow: auto; border: 1px rgba(000, 000, 000, 0.1) solid; box-shadow: rgba(50, 50, 93, 0.25) 0px 1px 2px -1px, rgba(0, 0, 0, 0.3) 0px 1px 2px -1px; background-color: var(--postbackgroundcolor); border-radius: 5px; margin-bottom: 10px; transition: 0.5s; padding: 20px; width: 600px; min-height: 200px; } .pagebody img { max-width: 100%; border-radius: 5px; } .pagebody figcaption { font-style: italic; letter-spacing: 1px; border-left: 2px var(--accentcolor) solid; padding-left: 10px; } .quote { font-style: italic; letter-spacing: 1px; border-left: 2px var(--accentcolor) solid; padding-left: 10px; width: 80%; margin: auto; } /*below this are the settings for smaller screens!*/ @media only screen and (max-width: 1150px) { .columnbody { column-count: 2; } } @media only screen and (max-width: 960px) { .pagebody { width: 60%; margin-left: calc(auto + 300px); padding: unset; min-width: unset; max-width: unset; gap: 0; } .page { width: 100%; min-width: unset; margin: unset; } } @media only screen and (max-width: 870px) { .pagebody { width: 100%; margin: unset; min-width: unset; max-width: unset; gap: 0; padding: unset; } .page { width: 80%; min-width: unset; margin: unset; } .container { width: 100%; } .sidebar { position: absolute; display: block; top: 0; width: 100%; margin: 0; height: 80px; overflow: auto; background-color: var(--postbackgroundcolor); border: 1px rgba(000, 000, 000, 0.1) solid; padding-top: 10px; padding-bottom: 0; } .bio { order: 2; background: unset; border: unset; box-shadow: unset; margin-top: 0; margin-bottom: 0; padding-top: 0; padding-bottom: 0 } h1 { position: static; text-align: center; order: 1; font-size: 28pt; margin-bottom: 0; } #profilepic { display: none; } .nav { position: fixed; top: 0; } #bottomrightcorner img { height: 180px; } .columnbody { margin: auto; column-count: 3; margin-top: 100px; padding: 5px; } } @media only screen and (max-width: 775px) { .columnbody { width: fit-content; column-count: 2; } } @media only screen and (max-width: 545px) { .page { width: 100%; } .columnbody { column-count: 1; } .post { width: 100%; height: auto; max-height: unset; } .post img { max-height: unset; } .post:hover { scale: 1; } #bottomrightcorner { display: none; } }