WIP React > Svelte
Put most of the developed design into Svelte
This commit is contained in:
55
src/style/molecules/_pagination.scss
Normal file
55
src/style/molecules/_pagination.scss
Normal file
@@ -0,0 +1,55 @@
|
||||
// Pagination
|
||||
.pagination {
|
||||
background-color: $color-tertiary;
|
||||
text-align: center;
|
||||
padding: 64px 0 72px;
|
||||
position: relative;
|
||||
|
||||
@include breakpoint (sm) {
|
||||
padding: 16vw 0 7.5vw;
|
||||
margin-top: -64px;
|
||||
}
|
||||
@include breakpoint (xl) {
|
||||
padding-top: 200px;
|
||||
}
|
||||
|
||||
// Pages
|
||||
&__page {
|
||||
p {
|
||||
font-family: $font-serif-extra;
|
||||
color: rgba($color-text, .15);
|
||||
position: relative;
|
||||
line-height: 1;
|
||||
font-size: rem(72px);
|
||||
|
||||
@include breakpoint (sm) {
|
||||
font-size: rem(160px);
|
||||
}
|
||||
|
||||
span {
|
||||
font-family: $font-serif;
|
||||
color: #FF0536;
|
||||
position: absolute;
|
||||
font-size: 18px;
|
||||
top: 50%;
|
||||
left: 50%;
|
||||
transform: translate(-50%, -65%);
|
||||
|
||||
@include breakpoint (sm) {
|
||||
font-size: rem(40px);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// Caption
|
||||
&__caption {
|
||||
font-size: 10px;
|
||||
color: $color-lightgray;
|
||||
letter-spacing: 2px;
|
||||
|
||||
@include breakpoint (sm) {
|
||||
font-size: 14px;
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user