ForumExperiment/static/out.css

158 lines
3 KiB
CSS
Raw Normal View History

2023-04-13 19:21:17 +00:00
:root {
--faded-text-color: #303030;
--background-color: #6d695c;
--main-color: #E0E0E0;
--border-color: white;
--tertiary-color: lightgray;
--fourth-color: darkgray;
--fun-color: #4CAF50;
--angry-color: red;
--text-color: #242424;
--link-color: #2980b9;
--link-visited-color: #9b59b6;
--darker-color: #ebebeb;
}
body {
margin: 0;
background-color: var(--background-color);
background-image: url("/background.png");
background-repeat: repeat;
background-size: 100px 100px;
font-family: Charter, "Bitstream Charter", "Sitka Text", Cambria, serif;
}
aside {
width: 150px;
margin-right: 10px;
}
footer {
text-align: center;
background: linear-gradient(red, orange);
background-clip: text;
-webkit-text-fill-color: transparent;
-webkit-background-clip: text;
font-size: large;
}
div#actionBarRight {
margin-left: auto;
}
* {
box-sizing: border-box;
}
div#actionBar {
margin: 0px;
padding: 0px;
display: flex;
border: 5px ridge var(--fourth-color);
border-bottom: none;
background-color: lightgray;
font-family: sans-serif;
align-items: flex-start;
}
div#actionBar div a {
font-size: large;
text-decoration: none;
color: black;
display: block;
padding-inline: 20px;
padding-block: 8px;
}
div#actionBar div:hover {
background-color: var(--fourth-color);
}
div#content {
margin-inline: auto;
max-width: 1200px;
}
a {
text-decoration: none;
}
a:hover {
text-decoration: underline;
}
header {
user-select: none;
font-weight: 600;
text-align: center;
font-size: 4rem;
background: linear-gradient(red, orange);
background-clip: text;
-webkit-text-fill-color: transparent;
-webkit-background-clip: text;
-webkit-text-stroke: 1px red;
margin: 10px;
}
header a:hover {
text-decoration: none;
}
#messageContainer:first-child .messageMeta {
padding-block: 10px;
font-size: 15px;
text-decoration: none;
text-decoration-style: none;
}
.message {
background-color: var(--tertiary-color);
margin-bottom: 5px;
padding: 0 0 10px 0;
margin-top: 15px;
}
.message .messageMeta {
font-family: sans-serif;
user-select: none;
background: rgb(190, 190, 190);
text-decoration: underline;
text-decoration-style: dotted;
font-size: 13px;
padding-block: 5px;
padding-left: 5px;
}
.message .messageContent {
display: flex;
padding-block: 10px;
}
.message .messageContent .userInfo {
font-family: sans-serif;
display: inline-block;
margin-right: 16px;
max-width: 170px;
font-size: 15px;
border-right: 2px ridge gainsboro;
text-align: center;
}
.message .messageContent .userInfo #userName {
font-weight: bold;
font-size: 20px;
margin-bottom: 5px;
}
.message .messageContent .messageBody {
width: 100%;
}
.message .messageContent .messageBody h3 {
margin-top: 0px;
margin-bottom: 2px;
font-size: 20px;
}
.message .messageContent .messageBody p {
margin: 0px 0px 0px 0px;
word-wrap: break-word;
}
main {
background-color: var(--main-color);
border: 5px ridge var(--border-color);
padding-block: 10px;
padding-inline: 20px;
}