diff options
add pagination code
1 files changed, 27 insertions, 11 deletions
| -rw-r--r-- | dist/spectre.css | 38 |
diff --git a/dist/spectre.css b/dist/spectre.css index 7140590..2be0438 100644 --- a/dist/spectre.css +++ b/dist/spectre.css @@ -1164,17 +1164,6 @@ textarea.form-input { bottom: -0.2em; background-color: #fff; } -.avatar .avatar-status { - display: block; - width: 25%; - height: 25%; - position: absolute; - right: 0; - bottom: 0; - border: .1em solid #fff; - border-radius: 10rem; - background-color: #32b643; -} .avatar[data-initial]::after { content: attr(data-initial); position: absolute; @@ -1635,6 +1624,33 @@ textarea.form-input { flex: 1 0 auto; text-align: center; } +.pagination { + list-style: none; + margin: .5rem 0; + padding: 1.2rem; +} +.pagination .page-item { + float: left; + padding: .1rem .2rem; + border: .1rem solid transparent; + border-radius: .3rem; +} +.pagination .page-item a { + display: block; + padding: .5rem 1.5rem; + color: #5764c6; + text-decoration: none; +} +.pagination .page-item a:hover, +.pagination .page-item a:focus { + color: #35419c; +} +.pagination .page-item.active { + background-color: #5764c6; +} +.pagination .page-item.active a { + color: #fff; +} .toast { display: block; width: 100%; |