drmr.nl/code/static/style.css
2025-10-12 21:35:48 +02:00

309 lines
5.0 KiB
CSS

* {
box-sizing: border-box;
}
:root {
--main-bg-color: #222222;
--base-bg-color: #111111;
--text-color: #9d9d9d;
--wstd-green: #28a07d;
--wstd-yellow: #d5af14;
--wstd-blue: #186da1;
--wstd-red: #FF473D;
--wstd-purple: #662042;
}
body {
width: 95%;
padding-left: 0%;
padding-right: 0%;
background-color: var(--main-bg-color);
font-family: monospace;
display: flex;
flex-direction: column;
}
.footer {
display: flex;
flex-direction: row;
justify-content: space-between;
align-items: center;
padding: 5px 12px;
}
.p
{
color: #7e7e7e;
margin-bottom: 45px;
font-size: 10px;
}
.nav_bar {
width: 90%;
font-size: 12px;
margin: auto;
text-align: center;
color: var(--text-color);
font-weight: 600;
}
.nav_drmr {
text-decoration: none;
background: var(--base-bg-color);
display: inline-flex;
margin: 4px;
padding: 5px 12px;
}
.nav_drmr:hover {
animation: pulse 1.5s infinite;
}
.ascii
{
vertical-align: center;
background: var(--base-bg-color);
display: inline-flex;
flex-wrap: wrap;
justify-content: space-evenly;
margin: 4px;
padding: 5px 12px;
border-radius: 20px;
color: var(--text-color);
line-height: 1.1em;
white-space: pre;
text-align:left;
user-select: none;
}
/* == root page == */
.root
{
width: 90%;
margin-top: 20px;
margin-bottom: 40px;
display: flex;
justify-content: space-evenly;
}
.rootcontainer
{
width: 100%;
float: left;
clear: both;
justify-content: space-evenly;
flex-wrap: wrap;
}
.roottext
{
text-align: center;
color: var(--text-color);
font-weight: 600;
font-size: 10px;
text-decoration: none;
background: var(--base-bg-color);
/* display: inline-flex; */
/* margin: 4px; */
padding: 5px 12px;
border-radius: 20px;
/* column-count: 2; */
margin: auto;
margin-top: 20px;
margin-bottom: 40px;
float: center;
clear: both;
display: flex;
width: 250px;
justify-content: space-evenly;
}
.rootdesc
{
text-align: center;
color: var(--text-color);
font-weight: 600;
font-size: 13px;
text-decoration: none;
background: var(--base-bg-color);
padding: 5px 12px;
border-radius: 20px;
margin: auto;
margin-top: 20px;
margin-bottom: 40px;
float: center;
clear: both;
display: flex;
width: 300px;
justify-content: space-evenly;
white-space: pre-line;
user-select: none;
}
.videos
{
display: flex;
flex-wrap: wrap;
justify-content: space-evenly;
}
.releasevideo
{
height: 220px;
width: 350px;
color: var(--text-color);
font-weight: 600;
font-size: 10px;
text-decoration: none;
background: var(--base-bg-color);
display: inline-flex;
margin: 4px;
padding: 15px 12px;
border-radius: 20px;
}
.releaseembed
{
max-height:185px;
max-width:330px;
width: auto;
height: auto;
margin: 5px;
border-radius: 15px;
object-fit: cover;
overflow: hidden;
}
.ytembed
{
height: 185px;
width: 330px;
}
.link, .link:visited
{
color: inherit;
text-decoration: none;
}
.rootdesc:hover {
animation: pulse 2s infinite;
}
@keyframes pulse {
0% {
-webkit-box-shadow: 0 0 0 0 rgba(40, 160, 125, 1);
}
70% {
-webkit-box-shadow: 0 0 0 10px rgba(255, 0, 0, 0);
}
100% {
-webkit-box-shadow: 0 0 0 0 rgba(255, 0, 0, 0);
}
}
@media screen and (min-width: 600px) {
body {
padding-left: 5%;
padding-right: 5%;
}
.ascii {
font-size: 14px;
}
.roottext {
font-size: 12px;
width: 300px;
}
.rootdesc {
font-size: 15px;
width: 450px;
}
.nav_bar {
font-size: 16px;
}
.releasevideo
{
height: 280px;
min-width:460px;
font-size: 12px;
margin: 5px;
}
.releaseembed
{
max-height:247px;
max-width:440px;
width: auto;
height: auto;
margin: 5px;
border-radius: 15px;
object-fit: cover;
overflow: hidden;
}
.ytembed
{
height: 247px;
width: 440px;
}
}
@media screen and (min-width: 768px) {
body {
padding-left: 10%;
padding-right: 10%;
}
.ascii {
font-size: 17px;
}
.roottext {
font-size: 15px;
width: 350px;
}
.rootdesc {
font-size: 18px;
width: 550px;
}
.nav_bar {
font-size: 20px;
}
.releasevideo
{
height: 350px;
min-width: 580px;
margin: 6px;
font-size: 14px;
}
.releaseembed
{
max-height:315px;
max-width:560px;
width: auto;
height: auto;
margin: 5px;
border-radius: 15px;
object-fit: cover;
overflow: hidden;
}
.ytembed
{
height: 315px;
width: 560px;
}
}