Compare commits
4 Commits
0e3f005639
...
fb72b00456
Author | SHA1 | Date | |
---|---|---|---|
fb72b00456 | |||
3970aed176 | |||
0eacea8243 | |||
14ea0910ef |
@ -1,41 +1,74 @@
|
||||
.LP-Pagination{
|
||||
font-family: $-primary-sans-serif-font;
|
||||
font-weight: bold;
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
justify-content: center;
|
||||
font-family: $-primary-sans-serif-font;
|
||||
font-weight: bold;
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
justify-content: center;
|
||||
|
||||
.LP-Pagination__List{
|
||||
list-style-type: none;
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
}
|
||||
.LP-Pagination__List{
|
||||
list-style-type: none;
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
}
|
||||
|
||||
.LP-Pagination__Item{
|
||||
margin: 0 4px;
|
||||
.LP-Pagination__Item{
|
||||
margin: 0 4px;
|
||||
|
||||
&--current{
|
||||
&--current{
|
||||
|
||||
.LP-Link{
|
||||
background-color: $-beige;
|
||||
border-radius: 2px;
|
||||
.LP-Link{
|
||||
background-color: $-beige;
|
||||
border-radius: 2px;
|
||||
|
||||
&:hover{
|
||||
background-color: $-beige;
|
||||
color: $-grey;
|
||||
}
|
||||
}
|
||||
}
|
||||
&:hover{
|
||||
background-color: $-beige;
|
||||
color: $-grey;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
.LP-Link{
|
||||
padding: 15px 25px;
|
||||
.LP-Link{
|
||||
padding: 15px 25px;
|
||||
vertical-align: sub;
|
||||
|
||||
&:active, &:hover{
|
||||
background-color: $-beige;
|
||||
border-radius: 2px;
|
||||
color: $-grey;
|
||||
}
|
||||
}
|
||||
&:active, &:hover{
|
||||
background-color: $-beige;
|
||||
border-radius: 2px;
|
||||
color: $-grey;
|
||||
}
|
||||
}
|
||||
|
||||
.LP-Pagination__First{
|
||||
&:before{
|
||||
content: "⟪";
|
||||
padding-right: 1em;
|
||||
font-size: larger;
|
||||
}
|
||||
}
|
||||
|
||||
.LP-Pagination__Previous{
|
||||
&:before{
|
||||
content: "⟨";
|
||||
padding-right: 1em;
|
||||
font-size: larger;
|
||||
}
|
||||
}
|
||||
|
||||
.LP-Pagination__Next{
|
||||
&:after{
|
||||
content: "⟩";
|
||||
padding-left: 1em;
|
||||
font-size: larger;
|
||||
}
|
||||
}
|
||||
|
||||
.LP-Pagination__Last{
|
||||
&:after{
|
||||
content: "⟫";
|
||||
padding-left: 1em;
|
||||
font-size: larger;
|
||||
}
|
||||
}
|
||||
}
|
@ -1,37 +1,43 @@
|
||||
<div class="LP-Pagination">
|
||||
<ul class="LP-Pagination__List">
|
||||
<li class="LP-Pagination__Item LP-Pagination__Item--previous">
|
||||
<a href="#" class="LP-Link"><span class="LP-Pagination__Previous"></span></a>
|
||||
</li>
|
||||
<li class="LP-Pagination__Item LP-Pagination__Item--number">
|
||||
<a href="#" class="LP-Link"><span class="LP-Pagination__Number">1</span></a>
|
||||
</li>
|
||||
<li class="LP-Pagination__Item LP-Pagination__Item--number">
|
||||
<a href="#" class="LP-Link"><span class="LP-Pagination__Number">2</span></a>
|
||||
</li>
|
||||
<li class="LP-Pagination__Item LP-Pagination__Item--number">
|
||||
<a class="LP-Link" href="#"><span class="LP-Pagination__Number">3</span></a>
|
||||
</li>
|
||||
<li class="LP-Pagination__Item LP-Pagination__Item--number">
|
||||
<a href="#" class="LP-Link"><span class="LP-Pagination__Number">4</span></a>
|
||||
</li>
|
||||
<li class="LP-Pagination__Item LP-Pagination__Item--number LP-Pagination__Item--current">
|
||||
<a href="#" class="LP-Link"><span class="LP-Pagination__Number">5</span></a>
|
||||
</li>
|
||||
<li class="LP-Pagination__Item LP-Pagination__Item--number">
|
||||
<a href="#" class="LP-Link"><span class="LP-Pagination__Number">6</span></a>
|
||||
</li>
|
||||
<li class="LP-Pagination__Item LP-Pagination__Item--number">
|
||||
<a href="#" class="LP-Link"><span class="LP-Pagination__Number">7</span></a>
|
||||
</li>
|
||||
<li class="LP-Pagination__Item LP-Pagination__Item--number">
|
||||
<a href="#" class="LP-Link"><span class="LP-Pagination__Number">8</span></a>
|
||||
</li>
|
||||
<li class="LP-Pagination__Item LP-Pagination__Item--number">
|
||||
<a href="#" class="LP-Link"><span class="LP-Pagination__Number">9</span></a>
|
||||
</li>
|
||||
<li class="LP-Pagination__Item LP-Pagination__Item--next">
|
||||
<a href="#" class="LP-Link"><span class="LP-Pagination__Next"></span></a>
|
||||
</li>
|
||||
</ul>
|
||||
<ul class="LP-Pagination__List">
|
||||
<li class="LP-Pagination__Item LP-Pagination__Item--first">
|
||||
<a href="#" class="LP-Link"><span class="LP-Pagination__First">first</span></a>
|
||||
</li>
|
||||
<li class="LP-Pagination__Item LP-Pagination__Item--previous">
|
||||
<a href="#" class="LP-Link"><span class="LP-Pagination__Previous">previous</span></a>
|
||||
</li>
|
||||
<li class="LP-Pagination__Item LP-Pagination__Item--number">
|
||||
<a href="#" class="LP-Link"><span class="LP-Pagination__Number">1</span></a>
|
||||
</li>
|
||||
<li class="LP-Pagination__Item LP-Pagination__Item--number">
|
||||
<a href="#" class="LP-Link"><span class="LP-Pagination__Number">2</span></a>
|
||||
</li>
|
||||
<li class="LP-Pagination__Item LP-Pagination__Item--number">
|
||||
<a class="LP-Link" href="#"><span class="LP-Pagination__Number">3</span></a>
|
||||
</li>
|
||||
<li class="LP-Pagination__Item LP-Pagination__Item--number">
|
||||
<a href="#" class="LP-Link"><span class="LP-Pagination__Number">4</span></a>
|
||||
</li>
|
||||
<li class="LP-Pagination__Item LP-Pagination__Item--number LP-Pagination__Item--current">
|
||||
<a href="#" class="LP-Link"><span class="LP-Pagination__Number">5</span></a>
|
||||
</li>
|
||||
<li class="LP-Pagination__Item LP-Pagination__Item--number">
|
||||
<a href="#" class="LP-Link"><span class="LP-Pagination__Number">6</span></a>
|
||||
</li>
|
||||
<li class="LP-Pagination__Item LP-Pagination__Item--number">
|
||||
<a href="#" class="LP-Link"><span class="LP-Pagination__Number">7</span></a>
|
||||
</li>
|
||||
<li class="LP-Pagination__Item LP-Pagination__Item--number">
|
||||
<a href="#" class="LP-Link"><span class="LP-Pagination__Number">8</span></a>
|
||||
</li>
|
||||
<li class="LP-Pagination__Item LP-Pagination__Item--number">
|
||||
<a href="#" class="LP-Link"><span class="LP-Pagination__Number">9</span></a>
|
||||
</li>
|
||||
<li class="LP-Pagination__Item LP-Pagination__Item--next">
|
||||
<a href="#" class="LP-Link"><span class="LP-Pagination__Next">next</span></a>
|
||||
</li>
|
||||
<li class="LP-Pagination__Item LP-Pagination__Item--last">
|
||||
<a href="#" class="LP-Link"><span class="LP-Pagination__Last">last</span></a>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
@ -1,3 +1,4 @@
|
||||
@charset "UTF-8";
|
||||
@font-face {
|
||||
font-family: Crimson;
|
||||
src: url("fonts/Crimson/CrimsonText-Regular.ttf"), url("fonts/Crimson/CrimsonText-Bold.ttf"), url("fonts/Crimson/CrimsonText-Italic.ttf"); }
|
||||
@ -270,11 +271,28 @@ body {
|
||||
background-color: #D7CEC7;
|
||||
color: #565656; }
|
||||
.LP-Pagination .LP-Link {
|
||||
padding: 15px 25px; }
|
||||
padding: 15px 25px;
|
||||
vertical-align: sub; }
|
||||
.LP-Pagination .LP-Link:active, .LP-Pagination .LP-Link:hover {
|
||||
background-color: #D7CEC7;
|
||||
border-radius: 2px;
|
||||
color: #565656; }
|
||||
.LP-Pagination .LP-Pagination__First:before {
|
||||
content: "⟪";
|
||||
padding-right: 1em;
|
||||
font-size: larger; }
|
||||
.LP-Pagination .LP-Pagination__Previous:before {
|
||||
content: "⟨";
|
||||
padding-right: 1em;
|
||||
font-size: larger; }
|
||||
.LP-Pagination .LP-Pagination__Next:after {
|
||||
content: "⟩";
|
||||
padding-left: 1em;
|
||||
font-size: larger; }
|
||||
.LP-Pagination .LP-Pagination__Last:after {
|
||||
content: "⟫";
|
||||
padding-left: 1em;
|
||||
font-size: larger; }
|
||||
|
||||
.LP-Content {
|
||||
padding: 35px; }
|
||||
|
Loading…
Reference in New Issue
Block a user