hugo-theme-hello-friend/assets/css/pagination.css

86 lines
1.4 KiB
CSS
Raw Normal View History

2018-07-20 19:14:22 +02:00
.pagination {
margin-top: 50px;
2019-01-06 11:23:25 +01:00
2018-07-20 19:14:22 +02:00
&__title {
display: flex;
text-align: center;
position: relative;
margin: 100px 0 20px;
&-h {
text-align: center;
margin: 0 auto;
padding: 5px 10px;
2020-06-20 00:07:59 +02:00
background: var(--background);
color: var(--color-secondary);
2018-07-20 19:14:22 +02:00
font-size: .8rem;
text-transform: uppercase;
text-decoration: none;
letter-spacing: .1em;
z-index: 1;
}
hr {
position: absolute;
left: 0;
right: 0;
width: 100%;
margin-top: 15px;
z-index: 0;
}
}
&__buttons {
display: flex;
2019-01-06 11:23:25 +01:00
align-items: center;
justify-content: center;
2018-07-20 19:14:22 +02:00
a {
text-decoration: none;
font-weight: bold;
}
}
2019-01-06 11:23:25 +01:00
}
.button {
position: relative;
display: inline-flex;
align-items: center;
justify-content: center;
2020-06-20 00:07:59 +02:00
background: var(--background-secondary);
2019-01-06 11:23:25 +01:00
font-size: 1rem;
font-weight: 500;
2019-01-06 11:23:25 +01:00
border-radius: 8px;
max-width: 40%;
padding: 0;
cursor: pointer;
appearance: none;
+ .button {
margin-left: 10px;
}
a {
display: flex;
padding: 8px 16px;
text-decoration: none;
text-overflow: ellipsis;
white-space: nowrap;
overflow: hidden;
}
&__text {
text-overflow: ellipsis;
white-space: nowrap;
overflow: hidden;
}
&.next .button__icon {
margin-left: 8px;
}
&.previous .button__icon {
margin-right: 8px;
}
}