WhisperMaPhone/main/static/main/main.css

216 lines
4.5 KiB
CSS
Raw Normal View History

:root {
/*Green and light pink (default light)*/
--background-color: #3E4B39;
--text-color: #F0EFEE;
--accent-color: #F9E2D6;
2020-09-06 16:39:00 +00:00
/*Dark blue, soft yellow, gray-blue*/
/* --background-color: #1C1D20; */
/* --text-color: #cac5b1; */
/* --accent-color: #6a7784; */
/*Discord*/
/* --background-color: #2F3136; */
/* --text-color: #B9BBBE; */
/* --accent-color: #6E84D2; */
/*Rigby dark, bad*/
/* --background-color: #2E2A2A; */
/* --text-color: #f4f2d6; */
/* --accent-color: #BA3333; */
/*Rigby but worse*/
/* --background-color: #f4f2d6; */
/* --text-color: #2E2A2A; */
/* --accent-color: #BA3333; */
/*Melodramatic 10/10*/
/* --background-color: #180519; */
/* --text-color: #FFFFFF; */
/* --accent-color: #739DCD; */
/*Blue on blue but it still doesn't look good*/
/* --background-color: #0B1419; */
/* --text-color: #A2ACAE; */
/* --accent-color: #3f698d; */
/*Gray and lavender*/
/* --background-color: #505453; */
/* --text-color: #EBEDE0; */
/* --accent-color: #DACBEF; */
/*Black and white*/
/* --background-color: #FEFEFE; */
/* --text-color: #222222; */
/* --accent-color: #CCCCCC; */
/*Really flipping blue*/
/* --background-color: #00111B; */
/* --text-color: #8BAD94; */
/* --accent-color: #003A46; */
/*OG, yellow and a strong blue*/
/* --background-color: #2E2A39; */
/* --text-color: #E3D096; */
/* --accent-color: #53929B; */
/*Darkened green and yellow*/
/* --background-color: #151410; */
/* --text-color: #B3B1A6; */
/* --accent-color: #4C6444; */
/*Muted yellow dark (posted)*/
/* --background-color: #23252E; */
/* --text-color: #b3b9c1; */
/* --accent-color: #9a9168; */
}
html {
padding: 0;
margin: 0;
width: 100%;
height: 100%;
2020-09-06 16:39:00 +00:00
background: var(--accent-color);
}
@media (prefers-color-scheme: dark) {
:root {
/*Background and text colors from Atom One Dark*/
--background-color: #23252E;
--text-color: #C5CBD3;
/*A lot of accent colors work with this one*/
--accent-color: #78916e;
/* Pink Offical Green Forest Lime Dark theme-green Yellow Muted yellow */
/* #D787FF #5FAF87, #286546 #75a98a #78916e, #968540 #9a9168 */
}
}
2020-09-06 16:39:00 +00:00
body {
margin: 0 1.5%;
2020-09-06 16:39:00 +00:00
background: var(--background-color);
min-height: calc(100% - 40px);
2020-09-06 16:39:00 +00:00
/*The height of the footer at the bottom*/
padding: 0 0 40px;
2020-09-06 17:23:30 +00:00
font-size: 16px;
2020-09-06 16:39:00 +00:00
color: var(--text-color);
2020-09-06 17:23:30 +00:00
font-family: Helvetica, Arial, sans-serif;
}
2020-09-06 16:39:00 +00:00
.main-wrap {
max-width: 1000px;
}
2020-09-06 17:23:30 +00:00
.thought {
2020-09-06 18:17:49 +00:00
margin: 20px 30px;
2020-09-06 17:23:30 +00:00
line-height: 1.5em;
}
button.show-more {
background: none;
border: none;
border-radius: 0;
cursor: pointer;
color: var(--accent-color);
margin: 3px 6px;
2020-09-06 17:23:30 +00:00
padding: 0;
border-bottom: 1px solid transparent;
outline: none;
font-size: 13px;
2020-09-06 16:39:00 +00:00
}
2020-09-06 17:23:30 +00:00
button.show-more:hover, button.show-more:focus {
/* border-bottom-color: var(--accent-color); */
text-decoration: underline;
}
.text {
max-width: 100%;
}
.main-text, .main-text p {
display: inline; /*inline so that the Show More is on the same line*/
}
.text pre {
display: inline-block; /*Code blocks need to be inline-block*/
}
a {
text-decoration: none;
}
.text a {
color: var(--accent-color);
}
.text p, .text pre {
padding: 0;
margin: 0;
overflow-wrap: break-word;
}
.text p:not(:first-child) {
margin-top: 1em;
}
.text pre {
background: black;
border-radius: 3px;
padding: 3px;
2020-09-06 17:23:30 +00:00
}
.extended-text {
margin-top: 1em;
display: inline-block; /*Needs to be inline-block, so that margin on it works*/
2020-09-06 17:23:30 +00:00
}
2020-10-01 02:12:52 +00:00
.thought-end {
overflow: auto;
}
.thought hr {
margin: 0;
border-style: none;
2020-10-01 02:12:52 +00:00
border-bottom: 1px var(--accent-color) solid;
}
2020-09-06 17:23:30 +00:00
.timestamp {
float: right;
font-size: 14px;
color: var(--accent-color);
}
2020-09-06 16:39:00 +00:00
hr.thought-end {
margin: 0 30px;
border-color: var(--accent-color);
2020-09-06 17:23:30 +00:00
border-style: none;
border-bottom-style: inset;
2020-09-06 16:39:00 +00:00
}
header {
padding: 4% 30px 15px;
2020-09-06 18:17:49 +00:00
font-size: 3em;
2020-09-06 16:39:00 +00:00
}
header .text {
color: var(--text-color);
2020-09-06 18:17:49 +00:00
2020-09-06 16:39:00 +00:00
font-family: Georgia, Libre Baskerville, serif;
border-bottom: 4px solid var(--accent-color);
}
.hidden {
display: none;
}
2020-10-01 02:12:52 +00:00
/*footer {
position: fixed;
bottom: 0;
background: var(--accent-color);
color: var(--background-color);
width: 100%;
padding: 10px;
height: 20px;
2020-10-01 02:12:52 +00:00
}*/