gallery/assets/css/parts/_page.scss

71 lines
1.0 KiB
SCSS
Raw Permalink Normal View History

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