Skip to content
Snippets Groups Projects
Verified Commit f21e7bb3 authored by Aleksandr Gumroian's avatar Aleksandr Gumroian
Browse files

Fix odd icons padding in Safari

parent b8857dd8
Branches
Tags v4.1.0
1 merge request!8Fix odd icons padding in Safari & transitions
......@@ -80,3 +80,16 @@ footer p {
.alt-theme-color {
background-color: black;
}
/* Safari only */
@media not all and (min-resolution:.001dpcm){
@supports (-webkit-appearance:none) {
/* Fix odd icons padding */
.card-img-top {
padding-top: 0!important;
padding-bottom: 0!important;
}
}
}
body{background-color:#f5f5f5;padding-top:60px}main .intro{padding-top:1rem;padding-bottom:1rem;margin-bottom:0;background-color:none}@media (min-width:768px){.intro{padding-top:3rem;padding-bottom:3rem}}.intro p:last-child{margin-bottom:0}.intro h1{font-weight:300}.intro .container{max-width:40rem}#progress-bar{transition:all 1s linear}.row-cols-1 .card{max-width:330px}.card{transition:transform .4s;-webkit-transition:transform .4s}.card:hover{box-shadow:0 1rem 1.5rem rgba(0,0,0,.175)!important;transform:scale(1.03);-webkit-transform:scale(1.03);transition:transform .4s;-webkit-transition:transform .4s}.card-body a:hover{text-decoration:none}.card p.card-text{margin-bottom:.5rem}footer{padding-top:3rem;padding-bottom:3rem}footer p{margin-bottom:.25rem}.footer{background-color:#f5f5f5}.alt-theme-color{background-color:#000}
\ No newline at end of file
body{background-color:#f5f5f5;padding-top:60px}main .intro{padding-top:1rem;padding-bottom:1rem;margin-bottom:0;background-color:none}@media (min-width:768px){.intro{padding-top:3rem;padding-bottom:3rem}}.intro p:last-child{margin-bottom:0}.intro h1{font-weight:300}.intro .container{max-width:40rem}#progress-bar{transition:all 1s linear}.row-cols-1 .card{max-width:330px}.card{transition:transform .4s;-webkit-transition:transform .4s}.card:hover{box-shadow:0 1rem 1.5rem rgba(0,0,0,.175)!important;transform:scale(1.03);-webkit-transform:scale(1.03);transition:transform .4s;-webkit-transition:transform .4s}.card-body a:hover{text-decoration:none}.card p.card-text{margin-bottom:.5rem}footer{padding-top:3rem;padding-bottom:3rem}footer p{margin-bottom:.25rem}.footer{background-color:#f5f5f5}.alt-theme-color{background-color:#000}@media not all and (min-resolution:.001dpcm){@supports (-webkit-appearance:none){.card-img-top{padding-top:0!important;padding-bottom:0!important}}}
\ No newline at end of file
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment