press-garden/style.css

164 lines
2.9 KiB
CSS
Raw Normal View History

2023-11-08 13:51:09 +01:00
@font-face {
font-family: 'Teko';
src: url('fonts/teko-light-webfont.woff');
font-weight: 300;
}
@font-face {
font-family: 'Teko';
src: url('fonts/teko-regular-webfont.woff');
font-weight: 400;
}
@font-face {
font-family: 'Teko';
src: url('fonts/teko-medium-webfont.woff');
font-weight: 500;
}
@font-face {
font-family: 'Teko';
src: url('fonts/teko-semibold-webfont.woff');
font-weight: 600;
}
@font-face {
font-family: 'Teko';
src: url('fonts/teko-bold-webfont.woff');
font-weight: 700;
}
body {
background-image: url("assets/bg3.png"), url("assets/bg2.png"), url("assets/bg1.png");
background-attachment: fixed, fixed, fixed;
font-family: Inter,Cantarell,-apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,Oxygen,Ubuntu,'Fira Sans','Droid Sans','Helvetica Neue',sans-serif;
}
body, html {
margin: 0;
padding: 0;
}
article {
background-color: white;
border-radius: 8px;
padding: 0.5rem 1rem 1rem 1rem;
margin-bottom: 1rem;
box-shadow: 0px 1px 1px 1px rgba(0, 0, 0, 0.3);
border-left: 8px solid #e67700;
}
article:last-child {
margin-bottom: 0rem;
}
header nav {
background-color: #1971c2;
padding: 0.4rem!important;
}
main {
background-image: url("assets/pics.png"), url("assets/picsfooter.png");
background-repeat: repeat-x, repeat-x;
background-position: top center, bottom center;
padding-bottom: 1.5rem;
padding-left: 1rem;
padding-right: 1rem;
}
h1 {
margin: 0;
padding-top: 1.5rem;
padding-bottom: 1rem;
color:white;
text-align: center;
font-family: 'Teko', sans-serif;
font-size: 3.5rem;
text-shadow: -2px -2px 0 #000,
0 -2px 0 #000,
2px -2px 0 #000,
2px 0 0 #000,
2px 2px 0 #000,
0 2px 0 #000,
-2px 2px 0 #000,
-2px 0 0 #000,
.05em .1em 0 #000;
}
section {
max-width: 960px;
margin: auto;
}
section:not(.shown) {
display: none;
}
nav ul {
display:flex;
justify-content:center;
margin:0;
padding:0;
list-style-type: none;
}
a:not(:hover) {
text-decoration: none;
}
nav a {
color: white!important;
padding: 0.8rem 1.2rem;
display: block;
border-radius: 8px;
text-decoration: none;
margin-left: 0.2rem;
margin-right: 0.2rem;
2023-11-08 14:19:15 +01:00
font-weight: bold;
2023-11-08 13:51:09 +01:00
}
nav a:hover {
background-color:rgba(255,255,255,0.4);
}
nav a.active {
background-color:rgba(255,255,255,0.2);
}
footer {
color: white;
background-color: #343a40;
padding-top: 0.5rem;
padding-left: 1rem;
padding-right: 1rem;
}
footer p {
max-width: 960px;
margin: auto;
padding-bottom: 0.5rem;
}
footer a {
color:#a5d8ff!important;
}
.btn-area {
padding: 1rem;
text-align: center;
}
.btn {
background-color: #e67700;
padding: 0.8rem 1.2rem;
color: white;
font-weight: bold;
text-decoration: none!important;
border-radius: 9999px;
box-shadow: 0px 1px 1px 1px rgba(0, 0, 0, 0.3);
}
.btn:hover {
background-color: #f08c00;
}