Add themes/minimalist.css

This commit is contained in:
Julimiro 2024-07-27 12:39:03 -04:00
parent 13c3ae29bd
commit 585737523a

263
themes/minimalist.css Normal file
View file

@ -0,0 +1,263 @@
/*
Lite-Forum minimalist theme
Copyright © 2024 Julimiro <https://julimiro.eu>
This theme uses design elements based on the Lite-Forum platform, originally created by Anna.
Copyright © 2024 Anna <https://liteforum.knijn.one/>
Confusion helped with making the header 100% sticky.
Copyright © 2024 confusionunknown <https://confusionunknown.nekoweb.org/>
This theme is licensed to be used and distributed along with the Lite-Forum platform
under the Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License.
See http://creativecommons.org/licenses/by-nc-sa/4.0/ for more details.
*/
.container[page="settings"] h1:first-child::after{
font-size:0.5em;
content: "\A minimalist theme by Juli :3 V1 meow";
white-space: pre;
}
:root {
--background-color: #1a1a1a;
--text-color: #ccc;
--button-background: #333;
--button-text-color: #ccc;
--button-hover-color: #555;
--link-color: #cac;
--link-hover-color: #ddd;
--navbar-background: #222;
--dropdown-background: #222;
--dropdown-link-color: #ccc;
--dropdown-link-hover-background: #222;
--blockquote-background: #1a1a1a;
--blockquote-text-color: #999;
--thread-reply-background: #222;
--thread-reply-border-color: #222;
}
.reply-delete button {
background-color: #222;
color: ccc;
border: none;
padding: 8px 15px;
font-size: 14px;
margin-bottom: 15px;
cursor: pointer;
border-radius: 3px;
}
.reply-delete button:hover {
background-color: #333;
}
.reply-share a {
background-color: var(--link-color);
color: ccc;
border: none;
padding: 10px 16px;
font-size: 14px;
cursor: pointer;
border-radius: 3px;
}
.reply-share a:hover {
background-color: var(--link-hover-color);
color: var(--text-color);
}
footer {
position: fixed;
left: 0;
bottom: 0;
width: 100%;
text-align: center;
}
.navbar {
display: flex;
align-items: center;
opacity: 0;
transition: opacity 0.6s;
color: #ccc;
}
.navbar a {
color: #ccc;
}
.navbar-container:hover .navbar {
opacity: 1;
}
@media only screen and (max-width: 900px) {
.search-container {
margin-left: auto;
max-width: 50%;
}
.search-container input[type="text"] {
padding: 5%;
margin: 0%;
width: auto;
}
.search-container button {
padding: 10px;
margin: 0 5px;
width: calc(35% - 20px);
min-width: 65px;
}
}
.search-container {
margin-left: auto;
max-width: 50%;
}
.search-container input[type="text"] {
padding: 10px;
margin: 0 5px;
width: 300px;
}
.search-container button {
padding: 10px;
margin: 0 5px;
width: calc(35% - 20px);
min-width: 65px;
}
.search-container form {
display: flex;
align-items: center;
}
.container {
max-width: 50vw;
margin: 1% auto;
}
@media only screen and (max-width: 768px) {
.container {
max-width: 100vw;
}
}
.userimg {
max-width: 100%;
height: auto;
}
.flex-container {
display: flex;
align-items: center;
}
.reply-info {
display: inline-block;
vertical-align: top;
margin-left: 1%;
}
.reply-info h1,
.reply-info h2,
.reply-info h3,
.reply-info h4,
.reply-info h5,
.reply-info h6 {
margin-top: 0;
margin-bottom: 0;
}
.reply-delete {
margin-left: auto;
}
.reply-link {
text-decoration: none;
color: black;
margin-left: 10px;
}
.reply-hr {
border: none;
height: 1px;
background-color: #ccc;
margin: 10px 0;
}
hr {
display: none;
margin-top: 0;
margin-bottom: 0;
margin-left: 0;
margin-right: 0;
}
body {
font-family: Arial, sans-serif;
background-color: var(--background-color);
color: var(--text-color);
margin: 0;
padding: 0;
}
.btn,
button,
input[type="submit"],
a.btn, .button {
background-color: var(--button-background);
color: var(--button-text-color);
padding: 10px 20px;
text-decoration: none;
border: none;
cursor: pointer;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
display: inline-block;
margin-right: 10px;
}
.btn:hover,
button:hover,
input[type="submit"]:hover,
a.btn:hover {
background-color: var(--button-hover-color);
}
.thread,
.reply {
background-color: var(--thread-reply-background);
border: 1px solid var(--thread-reply-border-color);
padding: 15px;
margin-bottom: 20px;
border-radius: 3px;
}
textarea,
input {
width: calc(100% - 20px);
margin-bottom: 20px;
background-color: var(--thread-reply-background);
color: var(--text-color);
border: 1px solid var(--thread-reply-border-color);
padding: 10px;
border-radius: 3px;
}
blockquote {
background-color: var(--blockquote-background);
color: var(--blockquote-text-color);
padding: 10px;
margin: 0;
border-left: 3px solid var(--thread-reply-border-color);
font-style: italic;
margin-bottom: 20px;
}
a {
color: var(--link-color);
text-decoration: none;
}
a:hover {
color: var(--link-hover-color);
}
.navbar {
overflow: hidden;
background-color: var(--navbar-background);
}
.navbar a {
float: left;
font-size: 16px;
text-align: center;
padding: 14px 16px;
text-decoration: none;
}
.navbar a:hover {
background-color: var(--button-hover-color);
}
@media (max-width: 1000px) {
.navbar {
overflow-x: auto;
white-space: nowrap;
}
.navbar a {
float: none;
display: inline-block;
}
}
#top_navbar {
position: fixed;
top: 0;
width: 100%;
}
.reply-info h2 img {
display: none;
}