This repository has been archived on 2023-08-24. You can view files and clone it, but cannot push or open issues or pull requests.
OwlBoard/static/styles/main.css

318 lines
7.1 KiB
CSS
Raw Normal View History

2022-11-30 22:08:27 +00:00
/* FONTS */
@font-face {
font-family: 'firamono';
src: url('/styles/fonts/firamono/firamono-regular.woff2') format('woff2'),
url('/styles/fonts/firamono/firamono-regular.woff') format('woff'),
url('/styles/fonts/firamono/firamono-regular.ttf') format('truetype');
font-weight: normal;
font-style: normal;
}
@font-face {
font-family: 'firamono';
src: url('/styles/fonts/firamono/firamono-500.woff2') format('woff2'),
url('/styles/fonts/firamono/firamono-500.woff') format('woff'),
url('/styles/fonts/firamono/firamono-500.ttf') format('truetype');
font-weight: 500;
font-style: normal;
}
2022-12-08 22:06:49 +00:00
@font-face {
font-family: 'urwgothic';
src: url('/styles/fonts/urwgothic/urwgothic.woff2') format('woff2'),
url('/styles/fonts/urwgothic/urwgothic.woff') format('woff'),
url('/styles/fonts/urwgothic/urwgothic.ttf') format('truetype');
font-weight: normal;
font-style: normal;
}
@font-face {
font-family: 'urwgothic';
src: url('/styles/fonts/urwgothic/urwgothicDemi.woff2') format('woff2'),
url('/styles/fonts/urwgothic/urwgothicDemi.woff') format('woff'),
url('/styles/fonts/urwgothic/urwgothicDemi.ttf') format('truetype');
font-weight: 900;
font-style: normal;
}
2022-11-30 22:08:27 +00:00
/* COLOR VARS */
:root {
2022-12-08 15:21:59 +00:00
--main-bg-color: #404c55;
--second-bg-color: #2b343c; /* Use as first arg in radial gradient */
2022-11-30 22:08:27 +00:00
--accent-color: #007979;
2022-12-08 15:21:59 +00:00
--overlay-color: #3c6f79de;
2022-11-30 22:08:27 +00:00
--main-text-color: #00b7b7;
--second-text-color: azure;
--note-text-color: #9de7ff;
2022-11-30 22:08:27 +00:00
--link-color: azure;
--box-border-color: ;
2022-11-30 22:08:27 +00:00
--link-visited-color: azure;
--main-alert-color: #ed6d00;
--second-alert-color: #e77f00; /* Use as second arg in radial gradient */
--main-warning-color: orange;
--board-name-color: #fcfc09;
2022-11-30 22:08:27 +00:00
}
/* Loading Box: */
@keyframes spinner {
0% {
transform: translate3d(-50%, -50%, 0) rotate(0deg);
}
100% {
transform: translate3d(-50%, -50%, 0) rotate(360deg);
}
}
.spinner::before {
animation: 1.5s linear infinite spinner;
animation-play-state: inherit;
border: solid 5px var(--overlay-color);
border-bottom-color: var(--second-text-color);
border-radius: 50%;
content: "";
height: 40px;
width: 40px;
position: absolute;
top: 30%;
margin: auto;
transform: translate3d(-50%, -50%, 0);
will-change: transform;
}
#loading {
position: fixed;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
margin: auto;
background-color: var(--overlay-color);
border-radius: 45px;
padding: 20px;
padding-bottom: 1px;
min-width: 90px;
max-width: 90px;
}
#loading p {
padding-top: 50px;
font-weight: bolder;
overflow-wrap: normal;
}
/* MAIN */
html{
width: 100%;
height: 100%;
}
2022-11-30 22:08:27 +00:00
body {
background-color: var(--main-bg-color);
background-image: radial-gradient(var(--second-bg-color), var(--main-bg-color));
2022-11-30 22:08:27 +00:00
color: var(--main-text-color);
2022-12-08 22:06:49 +00:00
font-family: urwgothic, sans-serif;
2022-11-30 22:08:27 +00:00
text-align: center;
padding-bottom: 60px; /*Footer height*/
}
2023-01-11 23:18:00 +00:00
body a {color:var(--link-color)}
body a:visited {color:var(--link-visited-color)}
2022-11-30 22:08:27 +00:00
.titleimg {
2022-12-08 15:21:59 +00:00
width: 45%;
2022-11-30 22:08:27 +00:00
padding-top: 20px;
padding-bottom: 20px;
width: 200px;
height: 131px;
2022-11-30 22:08:27 +00:00
transition: 0.2s;
}
@media only screen and (min-height: 740px) {.titleimg{width: 250px;height: 164px;}}
2022-11-30 22:08:27 +00:00
.lookup-box {
text-align: center;
border: black;
border-radius: 40px;
padding: 10px;
margin-bottom: 5px;
font-size: 18px;
text-transform: uppercase;
2022-12-08 22:06:49 +00:00
font-family: urwgothic, sans-serif;
2022-11-30 22:08:27 +00:00
transition: 0.2s;
}
.text-entry {
text-align: center;
border: black;
width: 75%;
max-width: 250px;
border-radius: 40px;
padding: 10px;
margin-bottom: 5px;
font-size: 12px;
font-family: urwgothic, sans-serif;
transition: 0.2s;
}
.text-entry-long{
text-align: left;
border: black;
width: 75%;
max-width: 250px;
height: 30%;
max-height: 350px;
border-radius: 20px;
padding: 10px;
margin-bottom: 5px;
font-size: 12px;
font-family: urwgothic, sans-serif;
transition: 0.2s;
}
label {
font-weight: 900;
}
.small-lookup-box {
text-align: center;
border: black;
border-radius: 40px;
padding: 10px;
margin-bottom: 10px;
text-transform: uppercase;
font-family: urwgothic, sans-serif;
transition: 0.2s;
}
2022-11-30 22:08:27 +00:00
.form-text-small {
text-align: center;
border: black;
width: 80%;
border-radius: 5px;
padding: 10px;
font-size: 18px;
transition: 0.2s;
}
@media only screen and (min-width: 600px) {.form-text-small{width: 50%}}
.form-text-large {
text-align: left;
border: black;
width: 80%;
height: 90px;
border-radius: 5px;
padding: 5px;
font-size: 16px;
transition: 0.2s;
}
@media only screen and (min-width: 600px) {.form-text-large{width: 50%}}
.form-info {
color: var(--main-text-color);
font-size: 17px;
font-weight: bolder;
margin-bottom: 4px;
}
.text-description {
display: inline-block;
width: 80%;
font-family: sans-serif;
color: var(--main-text-color);
padding-top: 5px;
padding-bottom: 5px;
margin-left: auto;
margin-right: auto;
transition: 0.2s;
}
@media only screen and (min-width: 600px) {.text-description{width: 50%}}
.lookup-button {
background-color: var(--accent-color);
color: var(--link-color);
border: none;
border-radius: 18px;
font-size: 16px;
2022-12-08 22:06:49 +00:00
font-weight: normal;
font-family: urwgothic, sans-serif;
2022-11-30 22:08:27 +00:00
padding: 5px;
padding-left: 15px;
padding-right: 15px;
margin-bottom: 10px;
cursor: pointer;
}
#quick_links{
width: 75%;
max-width: 300px;
margin: auto;
}
2022-11-30 22:08:27 +00:00
.actionbutton {
display: inline-block;
text-decoration: none;
font-family: firamono, monospace;
2022-12-08 22:06:49 +00:00
font-weight: 400;
2022-11-30 22:08:27 +00:00
cursor: pointer;
background-color: var(--accent-color);
border: none;
border-radius: 10px;
color: var(--link-color);
2022-12-08 22:06:49 +00:00
padding: 3px;
padding-left: 8px;
padding-right: 8px;
margin-left: 5px;
margin-right: 5px;
2022-11-30 22:08:27 +00:00
margin-bottom: 10px;
2022-12-08 22:06:49 +00:00
font-size: 18px;
2022-11-30 22:08:27 +00:00
}
.inlinelink {
text-decoration: underline;
color: var(--link-color);
cursor: pointer;
}
/* START MENU STYLE */
#top_button {
2022-11-30 22:08:27 +00:00
position: absolute;
top: 2px;
right: 0;
padding: 5px;
}
.sidebar_control {
background-color: transparent;
2022-12-08 15:21:59 +00:00
color: var(--link-color);
2022-11-30 22:08:27 +00:00
border: none;
font-family: sans-serif;
font-size: larger;
cursor: pointer;
2022-11-30 22:08:27 +00:00
}
#sidebar_open_short {display: block;}
#sidebar_close_short {
display: none;
font-size: x-large;
}
#sidebar {
position: fixed;
top: 40px;
right: 0;
margin: auto;
display: block;
max-width: 250px;
width: 0;
border-top-left-radius: 45px;
border-bottom-left-radius: 45px;
background-color: var(--overlay-color);
transition: 0.4s;
}
#sidebar a {
padding: 8px 8px 8px 8px;
margin-top: 10px;
margin-bottom: 10px;
2022-12-08 22:21:46 +00:00
font-family: urwgothic, sans-serif;
2022-11-30 22:08:27 +00:00
font-weight: 300;
text-decoration: none;
text-align: center;
font-size: 25px;
color: var(--link-color);
display: block;
white-space: nowrap;
transition: 0.5s;
}
2022-11-30 22:08:27 +00:00
/* Footer Styles */
footer {
background-color: var(--accent-color);
font-family: firamono, monospace;
2022-12-08 15:21:59 +00:00
font-size: smaller;
color: var(--second-text-color);
2022-11-30 22:08:27 +00:00
width: 100%;
position: fixed;
bottom: -1px;
2022-11-30 22:08:27 +00:00
left: 0;
}
footer a {
text-decoration: underline;
color: var(--link-color);
2022-11-30 22:08:27 +00:00
}
footer a:visited {
color: var(--link-visited-color);
2022-11-30 22:08:27 +00:00
}
footer a:hover {
color: beige;
}