Skip to content

Commit

Permalink
Added background images for British parliaments and NI assembly
Browse files Browse the repository at this point in the history
  • Loading branch information
lucascumsille committed Sep 10, 2024
1 parent 1c3ce4d commit 6a7346d
Show file tree
Hide file tree
Showing 23 changed files with 39 additions and 3 deletions.
Binary file added www/docs/style/img/ni-assembly-desktop.webp
Binary file not shown.
Binary file added www/docs/style/img/ni-assembly-huge.webp
Binary file not shown.
Binary file added www/docs/style/img/ni-assembly-mobile.webp
Binary file not shown.
Binary file added www/docs/style/img/ni-assembly-tablet.webp
Binary file not shown.
Binary file removed www/docs/style/img/ni-parliament-desktop.jpg
Binary file not shown.
Binary file removed www/docs/style/img/ni-parliament-mobile.jpg
Binary file not shown.
Binary file removed www/docs/style/img/ni-parliament-tablet.jpg
Binary file not shown.
Binary file removed www/docs/style/img/scottish-parliament-desktop.jpg
Binary file not shown.
Binary file not shown.
Binary file added www/docs/style/img/scottish-parliament-huge.webp
Binary file not shown.
Binary file removed www/docs/style/img/scottish-parliament-mobile.jpg
Binary file not shown.
Binary file not shown.
Binary file removed www/docs/style/img/scottish-parliament-tablet.jpg
Binary file not shown.
Binary file not shown.
Binary file removed www/docs/style/img/senedd-desktop.jpg
Binary file not shown.
Binary file removed www/docs/style/img/senedd-mobile.jpg
Binary file not shown.
Binary file not shown.
Binary file added www/docs/style/img/senedd-parliament-huge.webp
Binary file not shown.
Binary file added www/docs/style/img/senedd-parliament-mobile.webp
Binary file not shown.
Binary file added www/docs/style/img/senedd-parliament-tablet.webp
Binary file not shown.
Binary file removed www/docs/style/img/senedd-photo.jpg
Binary file not shown.
Binary file removed www/docs/style/img/senedd-tablet.jpg
Binary file not shown.
42 changes: 39 additions & 3 deletions www/docs/style/sass/parts/_panels.scss
Original file line number Diff line number Diff line change
Expand Up @@ -56,15 +56,51 @@
}

.panel--homepage--senedd {
background: url('../img/senedd-photo.jpg') center/cover no-repeat;
background: url('../img/senedd-parliament-mobile.webp') center/cover no-repeat;

@media (min-width: $medium-screen) {
background-image: url('../img/senedd-parliament-tablet.webp');
}

@media (min-width: $large-screen) {
background-image: url('../img/senedd-parliament-desktop.webp');
}

@media (min-width: $huge-screen) {
background-image: url('../img/senedd-parliament-huge.webp');
}
}

.panel--homepage--scotland {
background: url('../img/scotland-photo.jpg') center/cover no-repeat;
background: url('../img/scottish-parliament-mobile.webp') center/cover no-repeat;

@media (min-width: $medium-screen) {
background-image: url('../img/scottish-parliament-tablet.webp');
}

@media (min-width: $large-screen) {
background-image: url('../img/scottish-parliament-desktop.webp');
}

@media (min-width: $huge-screen) {
background-image: url('../img/scottish-parliament-huge.webp');
}
}

.panel--homepage--niassembly {
background: url('../img/niassembly-photo.jpg') center/cover no-repeat;
background: url('../img/ni-assembly-mobile.webp') center/cover no-repeat;

@media (min-width: $medium-screen) {
background-image: url('../img/ni-assembly-tablet.webp');
}

@media (min-width: $large-screen) {
background-image: url('../img/ni-assembly-desktop.webp');
}

@media (min-width: $huge-screen) {
background-image: url('../img/ni-assembly-huge.webp');
}
}

.panel--primary {
Expand Down

0 comments on commit 6a7346d

Please sign in to comment.