BlogSharer/static/style.css

124 lines
2.1 KiB
CSS
Raw Normal View History

2024-03-03 16:17:15 -06:00
@font-face {
font-display: swap;
font-family: 'Source Code Pro';
font-style: normal;
font-weight: 400;
src: url('../fonts/source-code-pro-v23-latin-regular.woff2') format('woff2');
}
2024-03-23 14:43:33 -05:00
@font-face {
font-display: swap;
font-family: 'Rubik';
font-style: normal;
font-weight: 400;
src: url('../fonts/rubik-v28-latin-regular.woff2') format('woff2');
}
@font-face {
font-display: swap;
font-family: 'Encode Sans Expanded';
font-style: normal;
font-weight: 400;
src: url('../fonts/encode-sans-expanded-v11-latin-regular.woff2') format('woff2');
}
2023-12-28 17:48:56 -06:00
* {
2024-03-23 14:43:33 -05:00
font-family: "Encode Sans Expanded", "Rubik", Verdana, Geneva, Tahoma, sans-serif;
2023-12-28 17:48:56 -06:00
padding: 0;
2024-03-23 14:43:33 -05:00
/* text-align: center; */
2023-12-28 17:48:56 -06:00
}
h1 {
2024-03-03 16:17:15 -06:00
color: rgb(0, 255, 0);
2023-12-28 17:48:56 -06:00
font-size: 2.5rem;
2024-03-23 14:43:33 -05:00
text-align: center;
2023-12-28 17:48:56 -06:00
}
2024-03-08 11:03:24 -06:00
h2 {
2024-03-03 16:17:15 -06:00
color: rgb(0, 255, 0);
2023-12-28 17:48:56 -06:00
}
2024-03-08 11:03:24 -06:00
li,
2024-03-23 14:43:33 -05:00
h3, h4, h5, h6 {
2024-03-08 11:03:24 -06:00
color: white;
}
2024-03-23 14:43:33 -05:00
h3 {
font-size: 1.5rem;
}
2023-12-28 17:48:56 -06:00
body,
html {
margin: auto;
2024-03-23 14:43:33 -05:00
background-color: rgb(10, 10, 10);
2023-12-28 17:48:56 -06:00
margin: 0;
padding: 0;
}
2023-12-28 17:26:32 -06:00
body {
2023-12-28 17:48:56 -06:00
padding: 2.5%;
2023-12-28 17:26:32 -06:00
}
2024-03-03 16:17:15 -06:00
main {
2023-12-28 17:48:56 -06:00
margin: auto;
max-width: 1000px;
}
a {
color: rgb(175, 225, 255);
display: inline-block;
transition: 1.5s all cubic-bezier(0.075, 0.82, 0.165, 1);
}
2024-03-03 16:17:15 -06:00
.textBlock {
2024-03-23 14:43:33 -05:00
color: rgb(255, 255, 255);
2024-03-03 16:17:15 -06:00
white-space: pre-wrap;
2024-03-23 14:43:33 -05:00
background-color: rgb(20, 20, 20);
2024-03-03 16:17:15 -06:00
border: 2px lightgray solid;
padding: 0 10px;
2024-03-23 14:43:33 -05:00
font-style: italic;
font-family: 'Source Code Pro', sans-serif;
text-align: center;
2024-03-03 16:17:15 -06:00
}
.post {
color: rgb(240, 240, 240);
2024-03-23 14:43:33 -05:00
background-color: rgb(5, 5, 5);
2024-03-03 16:17:15 -06:00
border: 2px gray solid;
padding: 10px;
padding-top: 0;
margin: 25px 10px;
2024-03-23 14:43:33 -05:00
text-align: center;
2024-03-03 16:17:15 -06:00
}
2023-12-28 17:48:56 -06:00
a:hover {
2023-12-28 17:26:32 -06:00
color: white;
2023-12-28 17:48:56 -06:00
transition: 0.5s all cubic-bezier(0.075, 0.82, 0.165, 1);
}
2024-03-23 14:43:33 -05:00
p, li {
2023-12-28 17:48:56 -06:00
color: white;
font-size: 1.2rem;
padding: 0;
margin: 10px;
2024-03-23 14:43:33 -05:00
line-height: 2rem;
2023-12-28 17:48:56 -06:00
}
img {
width: 100%;
max-width: 135px;
transition: all 2s cubic-bezier(0.075, 0.82, 0.165, 1);
}
2023-12-28 17:26:32 -06:00
hr {
2023-12-28 17:48:56 -06:00
color: white;
opacity: 0.25;
border-width: 2px;
margin: 15px 10%;
2024-03-23 14:43:33 -05:00
}
ol, ul {
display: block;
width: 80%;
margin: auto;
2023-12-28 17:26:32 -06:00
}