sieni.rip/public/css/main.css

78 lines
1.7 KiB
CSS

* {
margin: 0;
padding: 0;
--background-color: #000;
--text-color: #fff;
--link-color: #f00;
}
body {
background-color: var(--background-color);
color: var(--text-color);
font-family: verdana;
font-size: 10px;
height: 100vh;
}
.enclosed { width: 100%; height: 100%; }
.flex { display: flex; justify-content: space-around; }
.flex-container { flex: auto; }
.center.flex { align-items: center; height: 100%; }
.enclosed.padding { padding-top: 5em; padding-bottom: 5em; }
.info {
padding: 3px;
text-align: right;
width: 167px;
}
.info > a { font-size: 16px; display: block; }
.info > i { display: block; }
a { color: var(--link-color); text-decoration: none; }
a:hover { color:var(--text-color); text-decoration:none;}
.content { text-align: center; }
.content > * { padding: auto; }
#ruffle-container { margin-top: 10px; margin-bottom: 10px; }
#flavourtext { margin-top: 20px; }
.messages {
position: absolute;
text-align: center;
width: calc(100% - 167px);
}
.messages > p { padding-top: 10px; }
.infopage {
font-size: 12px;
border: 2px solid var(--link-color);
padding-left: 2em;
padding-right: 2em;
width: 500px;
margin: auto;
height: auto;
}
.infopage > .info-content p { padding: 0.5em; padding-right: 0; }
.infopage > .info-content ul { padding-left: 2em; list-style-type: "-";}
.infopage > .info-content ul > li { padding-left: 1em;}
.infopage > .info-content { text-align: left; }
@media (max-width: 500px) {
.infopage {
width: 100%;
border-left: none;
border-right: none;
}
}
.infopage > hr {
width: calc(100% + 4em);
margin-left: -2em;
margin-top: 1em;
margin-bottom: 1em;
border-color: var(--link-color);
}