181 lines
3.5 KiB
CSS
181 lines
3.5 KiB
CSS
:root {
|
|
/*Green and light pink (default light)*/
|
|
--background-color: #3E4B39;
|
|
--text-color: #F0EFEE;
|
|
--accent-color: #F9E2D6;
|
|
}
|
|
|
|
@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 Official Green Forest Lime Dark theme-green Yellow Muted yellow */
|
|
/* #D787FF #5FAF87, #286546 #75a98a #78916e, #968540 #9a9168 */
|
|
}
|
|
}
|
|
|
|
html {
|
|
padding: 0;
|
|
margin: 0;
|
|
width: 100%;
|
|
height: 100%;
|
|
|
|
background: var(--accent-color);
|
|
}
|
|
|
|
body {
|
|
margin: 0 1.5%;
|
|
|
|
background: var(--background-color);
|
|
|
|
min-height: calc(100% - 40px);
|
|
|
|
/*The height of the footer at the bottom*/
|
|
padding: 0 0 40px;
|
|
|
|
font-size: 16px;
|
|
color: var(--text-color);
|
|
font-family: Helvetica, Arial, sans-serif;
|
|
|
|
-webkit-text-size-adjust: 100%;
|
|
}
|
|
|
|
.main-wrap {
|
|
max-width: 1000px;
|
|
}
|
|
|
|
.thought {
|
|
margin: 20px 30px;
|
|
line-height: 1.5em;
|
|
}
|
|
|
|
.thought.highlighted .main, .thought.highlighted .extended-text {
|
|
margin-left: 25px;
|
|
}
|
|
|
|
/* Standard button styles, most prominently used on the show-more buttons */
|
|
button, input[type="button"], input[type="submit"] {
|
|
background: none;
|
|
border: none;
|
|
border-radius: 0;
|
|
cursor: pointer;
|
|
color: var(--accent-color);
|
|
margin: 3px 6px;
|
|
padding: 0;
|
|
border-bottom: 1px solid transparent;
|
|
outline: none;
|
|
font-size: 13px;
|
|
}
|
|
button:hover, button:focus,
|
|
input[type="button"]:hover, input[type="button"]:focus,
|
|
input[type="submit"]:hover, input[type="submit"]:focus {
|
|
/* border-bottom-color: var(--accent-color); */
|
|
text-decoration: underline;
|
|
}
|
|
|
|
/* Textbox/textarea styles */
|
|
textarea, input[type="text"], input[type="password"] {
|
|
padding: 1px 5px;
|
|
outline: none;
|
|
resize: none;
|
|
background: none;
|
|
border: none;
|
|
font-size: inherit;
|
|
color: inherit;
|
|
font-family: inherit;
|
|
border-bottom: 1px solid var(--accent-color);
|
|
border-radius: 0;
|
|
overflow-x: hidden;
|
|
}
|
|
|
|
.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;
|
|
}
|
|
|
|
.text img {
|
|
max-width: 100%;
|
|
max-height: 500px;
|
|
}
|
|
|
|
.extended-text {
|
|
margin-top: 1em;
|
|
display: inline-block; /*Needs to be inline-block, so that margin on it works*/
|
|
}
|
|
|
|
.thought-end {
|
|
overflow: auto;
|
|
}
|
|
|
|
.thought hr {
|
|
margin: 0;
|
|
border-style: none;
|
|
border-bottom: 1px var(--accent-color) solid;
|
|
}
|
|
|
|
.timestamp {
|
|
float: right;
|
|
font-size: 14px;
|
|
color: var(--accent-color);
|
|
}
|
|
|
|
header h1 {
|
|
padding: 4% 30px 15px;
|
|
font-size: 3em;
|
|
font-weight: normal;
|
|
margin: 0;
|
|
overflow: auto;
|
|
white-space: nowrap;
|
|
}
|
|
header .text {
|
|
color: var(--text-color);
|
|
|
|
font-family: Georgia, Libre Baskerville, serif;
|
|
border-bottom: 4px solid var(--accent-color);
|
|
}
|
|
|
|
.hidden {
|
|
display: none;
|
|
}
|
|
|
|
/*footer {
|
|
position: fixed;
|
|
bottom: 0;
|
|
background: var(--accent-color);
|
|
color: var(--background-color);
|
|
width: 100%;
|
|
padding: 10px;
|
|
height: 20px;
|
|
}*/
|