rachel.cafe/assets/css/main.scss
2023-12-08 22:09:59 +01:00

188 lines
2.7 KiB
SCSS

---
---
@font-face {
font-family: SAX2;
src: url(/assets/css/fonts/SAX2.ttf);
}
body {
font-family: "SAX2";
background: #1d1f21;
background-image: url(/assets/img/bg.png);
background-repeat: repeat;
background-position: center;
color: #c5c8c6;
display: flex;
justify-content: center;
margin: 0;
padding: 0;
}
img {
max-width: 100%;
}
figcaption {
text-align: center;
}
.catch {
margin-top: 3em;
text-align: center;
}
pre code {
display: block;
padding: 0.5em;
font-size: 1.2em;
border-top: 2px dotted #808080;
border-bottom: 2px dotted #808080;
}
table, th, td {
border: 1px solid #808080;
}
th, td {
padding: 5px;
}
.bigger {
font-size: 1.2em;
}
.bit_bigger {
font-size: 1.1em;
}
a {
text-decoration: none;
}
a:link {
color: #ef7627;
}
a:visited {
color: #ef7627;
}
a:hover {
color: #70c0b1;
}
.sitetitle a, {
color: #b55690;
}
.sitetitle {
display: flex;
flex-direction: row;
align-items: center;
justify-content: center;
}
.right {
text-align: right;
float: right;
}
.aba {
display: flex;
flex-direction: row;
align-items: top;
justify-content: center;
}
.rimg {
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
width: 200%;
max-width: 200%;
}
@media only screen and (max-width : 850px) {
.centercol {
box-sizing: border-box !important;
width: 100vw !important;
padding: 10px !important;
backdrop-filter: blur(4px) !important;
-webkit-backdrop-filter: blur(4px) !important;
box-shadow: none !important;
-webkit-box-shadow: none !important;
}
.aba {
display: flex;
flex-direction: column;
align-items: center;
justify-content: top;
}
.rimg {
margin: 1em 0 0 0;
width: 70%;
max-width: 70%;
}
}
.posts {
margin: 0;
padding: 0;
padding-left: 0;
list-style-type: none;
}
.post_listing {
margin-top: 3em;
margin-bottom: 3em;
}
nav ul {
list-style: none;
padding: 0;
margin: 0;
text-align: center;
}
nav ul li {
display: inline;
margin-right: 1em;
white-space: nowrap;
}
hr {
color: #808080;
border: 0;
border-bottom: 1px dashed;
}
table {
margin-left: auto;
margin-right: auto;
}
.centercol {
box-sizing: border-box;
width: 60vw;
min-height: 100vh;
max-width: 94vw;
padding: 4em;
backdrop-filter: blur(7px);
-webkit-backdrop-filter: blur(7px);
box-shadow: 0 0 0 5px #d54e53;
-webkit-box-shadow: 0 0 0 5px #d54e53;
}
table {
border-collapse: collapse;
}