Teascade.net/public/css/custom.css

102 lines
1.8 KiB
CSS

:root {
--color-main: #272727 !important;
--color-navbar-bg: #252525 !important;
--color-navbar-button: #222 !important;
--color-navbar-button-hover: #1a1a1a !important;
--color-navbar-button-focus: #161616 !important;
--color-navbar-border-bottom: #252525 !important;
--color-content-bg: #282828 !important;
--color-content-fg: #cfcfcf !important;
--highlight-color: #ff0091 !important;
--content-width: calc(100% - 4em) !important;
--navbar-width: 80% !important;
}
.container {
width: 100%;
height: 100%;
display: inline-flex;
flex-direction: row;
}
.teacup {
flex: auto;
background-color: #1f1f1f;
text-align: center;
height: 100%;
display:flex;
justify-content:center;
align-items:center;
}
.teacup img {
width: 70%;
margin: auto;
}
article > *:last-child {
padding-bottom: 2em;
}
.content {
flex: auto;
width: 30%;
height: 100%;
overflow: auto;
}
h1 {
color: var(--highlight-color);
}
article p, article h2, article h3, hr {
margin-top: 1em;
}
.itch-embedded {
max-width: var(--content-width);
}
@media (max-width: 900px) {
.container {
flex-direction: column;
}
.teacup {
height: 10%;
}
.teacup img {
height: 100%;
}
.content {
width: 100%;
}
:root {
--content-side-padding: 0%;
--content-width: 100%;
--navbar-text-size: 30px;
--content-text-size: 1.5em;
--navbar-width: 100% !important;
}
nav {
height: auto;
}
nav li {
display: block;
}
nav li a {
text-align: center;
padding-top: 0.2em;
padding-bottom: 0.2em;
border: solid 3px var(--color-navbar-button-hover);
}
}