Files
vintagecoding.net/css/base.css
T

226 lines
2.7 KiB
CSS

@font-face {
font-family: 'Hack Nerd Font Mono';
src: url('/home/violet/documents/development/vintagecoding.net/resources/HackNerdFontMono-Regular.ttf') format('ttf');
font-weight: normal;
font-style: normal;
}
* {
padding: 0;
margin: 0;
}
body {}
h1,
h2,
h3,
h4,
h5,
p,
small,
a {
font-family: 'HackNerdFontMono', Hack, sans-serif;
padding: 0;
margin: 0;
}
h1 {
font-size: 5vw;
}
h2 {
font-size: 4vw;
}
h3 {
font-size: 3vw;
}
h4 {
font-size: 2vw;
}
h5 {
font-size: 1vw;
}
p {
font-size: .75vw;
}
small {
font-size: .5vw;
}
a.fill_div {
display: block;
height: 100%;
width: 100%;
text-decoration: none;
}
nav {
padding: 0;
margin: 0px 30px 15px 30px;
}
nav ul {
padding: 0;
margin: 0;
width: 100%;
}
nav ul li {
display: inline-block;
}
nav ul li a {
font-size: 2vw;
font-weight: 800;
text-decoration: none;
display: block;
height: 100%;
width: 100%;
padding: 15px;
}
nav form {
padding: 15px;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
}
code {
padding: 1px;
border-radius: 4px;
}
.line {
height: 1px;
width: 100%;
margin-top: 5px;
margin-bottom: 5px;
}
.row_no_margin {
display: flex;
justify-content: space-between;
width: 100%;
margin: 0;
}
.row {
display: flex;
justify-content: space-between;
align-items: center;
width: 100%;
margin: 15px 0px 15px 0px;
}
.center-h {
margin: 0 auto;
}
.article_card {
margin: 0 auto;
margin-top: 50px;
padding: 18px;
height: max-content;
width: 60%;
border-radius: 18px;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
}
.card_info_box {
display: flex;
}
.col-right {
margin-right: 25px;
display: flex;
flex-direction: column;
justify-content: center;
align-items: end;
}
.card_pic_box {
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
}
.button {
padding: 15px;
text-decoration: none;
border: 2px solid #00FF41;
border-radius: 9px;
}
.tag {
margin: 15px;
padding: 10px;
border-radius: 18px;
border: 2px solid #008F11;
text-decoration: none;
}
.tag_row {}
.tag_box {
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
}
.card_profile_picture {
height: 64px;
width: auto;
border-radius: 50%;
}
.underline {
text-decoration: underline;
}
#theme-toggle {
width: 32px;
height: 32px;
border: none;
background: none;
font-size: 1.5vw;
}
.article {
width: 50%;
margin: 0 auto;
}
.article ul li {
margin-left: 50px;
}
@media (max-width: 980px) {
h1 {
font-size: 4vw;
}
p {
font-size: 2vw;
}
.card {
margin: 75% auto;
}
}