1
0
Fork 1
mirror of https://github.com/pixelfed/pixelfed.git synced 2024-12-24 08:44:02 +00:00

Add CSS for added classes

This commit is contained in:
Stasiek Michalski 2018-06-03 03:28:58 +02:00 committed by GitHub
parent 66f285c2b1
commit ea119a28ed
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -153,3 +153,23 @@ body, button, input, textarea {
.font-weight-ultralight {
font-weight: 200 !important;
}
.square {
position: relative;
width: 100%;
}
.square::after {
content: "";
display: block;
padding-bottom: 100%;
}
.square-content {
position: absolute;
width: 100%;
height: 100%;
background-repeat: no-repeat;
background-size: cover;
background-position: 50%;
}