gallery/assets/css/parts/_page.scss

71 lines
1.0 KiB
SCSS

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