Improved responsive design for small displays with css media queries
This commit is contained in:
parent
507210b0a0
commit
23f7b20a5b
@ -47,3 +47,24 @@ footer{
|
|||||||
.btn-on-com-card:hover{
|
.btn-on-com-card:hover{
|
||||||
background-color: hsl(42, 100%, 45%);
|
background-color: hsl(42, 100%, 45%);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@media all and (max-width: 900px) {
|
||||||
|
.card-deck {
|
||||||
|
display:block!important;
|
||||||
|
}
|
||||||
|
|
||||||
|
.card{
|
||||||
|
margin-bottom:15px!important;
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
@media all and (max-width: 700px) {
|
||||||
|
.container{
|
||||||
|
width: 100%!important;
|
||||||
|
}
|
||||||
|
|
||||||
|
h1{margin: 1em 0;}
|
||||||
|
h2{margin-top: 1em;}
|
||||||
|
h3{margin-top: 0.5em;}
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user