diff --git a/assets/css/main.scss b/assets/css/main.scss new file mode 100644 index 0000000..991c850 --- /dev/null +++ b/assets/css/main.scss @@ -0,0 +1,3 @@ +@use './parts/_page.scss'; +@use './parts/_albums.scss'; + diff --git a/assets/css/parts/_albums.scss b/assets/css/parts/_albums.scss new file mode 100644 index 0000000..fac9c5f --- /dev/null +++ b/assets/css/parts/_albums.scss @@ -0,0 +1,64 @@ +@use './_responsive.scss' as r; + +.subalbums { + display: grid; + grid-template-columns: 1fr; + grid-template-columns: repeat(auto-fill, minmax(200px, 300px)); + gap: 15px; + + .subalbum { + border: 1px solid lightgray; + border-radius: 10px; + padding: 5px; + display: flex; + flex-direction: column; + + .teaser { + flex: 0 0 200px; + height: 200px; + // background-color: lightgray; + border-radius: 10px; + + display: flex; + justify-content: center; + + img { + max-width: 100%; + max-height: 100%; + } + } + + .title { + flex: auto 1 0; + text-align: center; + } + } +} + +.breadcrumbs { + margin: 10px 0; +} + +.images { + margin: 10px 0; + + .download { + margin: 10px 0 20px; + display: flex; + flex-direction: row; + justify-content: end; + + .button { + background-color: #7181e3; + color: black; + padding: 10px 25px; + border-radius: 10px; + font-weight: bold; + text-decoration: none; + + &:hover { + text-decoration: underline; + } + } + } +} diff --git a/assets/css/parts/_page.scss b/assets/css/parts/_page.scss new file mode 100644 index 0000000..1aa3d15 --- /dev/null +++ b/assets/css/parts/_page.scss @@ -0,0 +1,71 @@ +@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; +} diff --git a/assets/css/parts/_responsive.scss b/assets/css/parts/_responsive.scss new file mode 100644 index 0000000..acef326 --- /dev/null +++ b/assets/css/parts/_responsive.scss @@ -0,0 +1,11 @@ +@mixin responsive-min-width($width) { + @media screen and (min-width: $width) { + @content; + } +} + +@mixin desktop { + @include responsive-min-width(1024px) { + @content; + } +} diff --git a/assets/img/no-image.png b/assets/img/no-image.png new file mode 100644 index 0000000..8ac4c92 Binary files /dev/null and b/assets/img/no-image.png differ diff --git a/static/img/bg/UK019730.JPG b/static/img/bg/UK019730.JPG new file mode 100644 index 0000000..91b1b67 Binary files /dev/null and b/static/img/bg/UK019730.JPG differ diff --git a/static/img/bg/bg.jpg b/static/img/bg/bg.jpg new file mode 100644 index 0000000..4f0b344 Binary files /dev/null and b/static/img/bg/bg.jpg differ