gallery/assets/css/parts/_page.scss

72 lines
1.0 KiB
SCSS
Raw Normal View History

2024-10-24 09:52:54 +00:00
@use './_responsive.scss' as r;
body {
display: flex;
flex-direction: column;
margin: 0;
padding: 10px;
box-sizing: border-box;
min-height: 100vh;
color: white;
}
.page-background {
z-index: -1;
position: fixed;
top: 0;
left: 0;
width: 100vw;
height: 100vh;
background-image: url('../img/bg/bg.jpg');
background-repeat: no-repeat;
background-size: cover;
background-position: center;
}
a {
color: white;
}
.header, .footer {
flex: auto 0 0;
h1 {
margin: 20px 10px;
}
}
.main {
flex: 1 0 auto;
@include r.desktop {
max-width: 1280px;
width: 100%;
margin: 0 auto;
}
}
.footer {
display: flex;
justify-content: center;
gap: 30px;
font-size: smaller;
border-top: 1px solid white;
margin-top: 10px;
padding: 10px 0;
p {
margin: 0;
}
}
.header {
border-bottom: 1px solid white;
padding-bottom: 10px;
margin-bottom: 10px;
}
.header a {
text-decoration: none;
}