My-Website/app/static/style.css
2024-09-17 09:45:25 -05:00

325 lines
5.9 KiB
CSS

/* Global Stuff */
@import url('https://fonts.googleapis.com/css?family=PT%20Mono:700|PT%20Mono:400');
body {
font-family: 'PT Mono';
font-weight: 400;
}
h1, h2, h3, h4, h5 {
font-family: 'PT Mono';
font-weight: 700;
}
html {
--text: black;
--background: #c0c0b0;
/* --background: #2b2d31; */
--primary: hsl(229, 81%, 73%);
--primary10: hsla(209, 61%, 71%, 10%);
--primary20: hsla(209, 61%, 71%, 20%);
--primary40: hsla(209, 61%, 71%, 40%);
--secondary: hsl(277, 81%, 33%);
--secondary10: hsla(277, 81%, 33%, 10%);
--secondary20: hsla(277, 81%, 33%, 20%);
--secondary30: hsla(277, 81%, 33%, 30%);
--secondary40: hsla(277, 81%, 33%, 40%);
--secondary50: hsla(277, 81%, 33%, 50%);
--accent: hsl(291, 81%, 60%);
--accent75: hsla(291, 81%, 60%, 75%);
--accent50: hsla(291, 81%, 60%, 50%);
--main-background: var(--primary10);
--borders-style: hidden;
--border-radius: 15px;
}
body {
color: var(--text);
background-color: var(--background);
}
a {
color: var(--text);
}
a:hover {
color: var(--accent);
}
blockquote {
background-color: var(--secondary10);
border-style: var(--borders-style);
border-radius: 7.5px;
padding: 0.25em;
}
.post blockquote p {
text-indent: 1.5em;
}
.post blockquote li p {
text-indent: 0;
}
li {
margin-left: 4em;
}
/* Other */
.header {
background-image: url("render.jpg");
background-size: cover;
text-align: center;
margin: 2em 25%;
padding: 3em;
border-style: var(--borders-style);
border-color: #1E2022;
background-color: var(--background);
border-radius: var(--border-radius);
color: white;
}
.header a {
text-decoration: none;
color: var(--primary);
}
.container {
display: flex;
flex-direction: row;
margin: 0px 20%;
border-style: var(--borders-style);
border-color: #1E2022;
background-color: var(--main-background);
border-radius: var(--border-radius);
}
.sidebar {
height: fit-content;
align-self: flex-start;
position: sticky;
top: 10px;
padding: 20pt;
margin: 5em 0;
margin-left: 2em;
border-style: var(--borders-style);
border-radius: var(--border-radius);
border-color: #1E2022;
background-color: var(--main-background);
opacity: 0.9;
/* box-shadow: -10px 10px var(--accent); */
/* Text Settings */
font-weight: bold;
line-height: 30pt;
}
.sidebar a {
text-decoration: none;
}
.rightbar {
height: fit-content;
align-self: flex-start;
top: 10px;
padding: 20pt;
margin: 5em 0;
margin-right: 2em;
border-style: var(--borders-style);
border-radius: var(--border-radius);
border-color: #1E2022;
background-color: var(--main-background);
opacity: 0.9;
/* box-shadow: -10px 10px var(--accent); */
/* Text Settings */
font-weight: bold;
line-height: 30pt;
}
.rightbar a {
text-decoration: none;
}
.rightbar h2 {
font-family: Georgia, 'Times New Roman', Times, serif;
line-height: normal;
}
.dlog {
flex: 3;
display: flex;
flex-direction: column;
padding: 10pt;
margin: 0 5%;
margin-left: 0;
border-style: var(--borders-style);
border-radius: var(--border-radius);
border-color: #1E2022;
}
.post {
border-style: var(--borders-style);
border-radius: var(--border-radius);
padding: 1.5em 2em;
margin: 1em 2em;
background-color: var(--main-background);
/* box-shadow: 10px 10px var(--accent); */
}
.post img {
border-style: var(--borders-style);
border-radius: var(--border-radius);
width: 90%;
padding: 0.5em;
margin: 0.5em 1em;
display: block;
margin-left: auto;
margin-right: auto;
background-color: var(--background);
}
.post h1 {
font-family: Georgia, 'Times New Roman', Times, serif;
font-weight: 100;
font-size: 26px;
text-decoration: underline;
text-decoration-style: solid;
text-decoration-thickness: 0.25em;
text-underline-offset: 7px;
text-decoration-color: var(--primary);
}
.post h2 {
font-family: Georgia, 'Times New Roman', Times, serif;
font-weight: 300;
font-size: 18px;
}
.post p {
font-family: Verdana, Geneva, sans-serif;
line-height: 2.25;
text-indent: 3em;
}
.post-date {
float: right;
}
.comment-container {
background-color: var(--primary40);
border-style: var(--borders-style);
border-radius: var(--border-radius);
padding: 1em;
margin: 1em;
}
.comment {
background-color: var(--primary40);
border-style: var(--borders-style);
border-radius: 5px;
margin: 0.25em;
padding: 0.25em;
}
.comment h4 {
margin: 0.25em;
}
.comment p {
margin: 0.25em;
text-indent: 1em;
}
.comment-editor textarea {
width: 80%;
height: 6em;
padding: 0.75em;
border-style: solid;
border-color: var(--secondary50);
}
.comment-editor textarea:focus {
border: 3px solid var(--accent);
}
/* MUSIC */
.albums {
height: fit-content;
align-self: flex-start;
top: 10px;
padding: 20pt;
margin: 5em 0;
margin-right: 2em;
border-style: var(--borders-style);
border-radius: var(--border-radius);
border-color: #1E2022;
background-color: var(--main-background);
/* Text Settings
font-weight: bold;
line-height: 30pt; */
}
.real-albums img {
height: 100px;
width: 100px;
padding: 0 0;
margin: 0 0;
border: 0 0;
}
.real-albums {
line-height: 0;
font-size: 0;
padding: 0 0;
margin: 0 0;
}
.albums h1 {
font-size: 2em;
text-align: center;
padding: 0 0;
margin: 15pt 0;
margin-top: -5pt;
}