Skip to content

Commit

Permalink
update (styles) : improvements (#7)
Browse files Browse the repository at this point in the history
  • Loading branch information
codexarama committed May 20, 2021
1 parent ae4caa1 commit 0b6dc50
Show file tree
Hide file tree
Showing 5 changed files with 44 additions and 23 deletions.
19 changes: 8 additions & 11 deletions css/styles.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion sass/base/_typography.scss
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ nav {
}

&__location {
font-size: $xl;
font-size: $l;
color: $secondaire-txt;
border-radius: 3px;
line-height: 1.5em;
Expand Down
40 changes: 32 additions & 8 deletions sass/layout/_gallery.scss
Original file line number Diff line number Diff line change
Expand Up @@ -17,14 +17,6 @@
overflow: hidden;
cursor: pointer;

&:focus {
outline: none;
box-shadow: 0 0 0 3px white, 0 0 0 6px $primaire-bg;
}
}

&__link {

& img,
& video {
width: 275px;
Expand All @@ -36,9 +28,41 @@
&:focus {
transform: scale(1.25);
transform-origin: 50% 50%;
outline: none;
box-shadow: 0 0 0 3px white, 0 0 0 6px $primaire-bg;
}
}
}
// &__media {
// width: 275px;
// height: 275px;
// border-radius: 3px;
// margin: auto;
// overflow: hidden;
// cursor: pointer;

// &:focus {
// outline: none;
// box-shadow: 0 0 0 3px white, 0 0 0 6px $primaire-bg;
// }
// }

// &__link {

// & img,
// & video {
// width: 275px;
// height: 275px;
// object-fit: cover;
// transition: all 0.5s ease;

// &:hover,
// &:focus {
// transform: scale(1.25);
// transform-origin: 50% 50%;
// }
// }
// }

&__content {
width: 100%;
Expand Down
1 change: 0 additions & 1 deletion sass/layout/_lightbox.scss
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,6 @@
&__title {
margin-top: 5px;
color: $secondaire-txt;
font-size: $m;
}

&__btn {
Expand Down
5 changes: 3 additions & 2 deletions sass/utils/_variables.scss
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,10 @@ $type: Roboto, Arial, Helvetica, sans-serif;
$xs: xx-small;
$s: small;
$m: medium;
$l: larger;
$ml: larger;
$l: large;
$xl: x-large;
$xxl: 2em;
$xxl: xx-large;
$light: 300;
$regular: 400;
$bold: 700;
Expand Down

0 comments on commit 0b6dc50

Please sign in to comment.