Difference between revisions of "Template:UserRoles Card User/styles.css"
From WikiAnesthesia
Chris Rishel (talk | contribs) |
Chris Rishel (talk | contribs) |
||
(3 intermediate revisions by the same user not shown) | |||
Line 3: | Line 3: | ||
max-width: 14rem; | max-width: 14rem; | ||
width: 14rem; | width: 14rem; | ||
} | } | ||
.userroles-card img { | .userroles-card img { | ||
Line 13: | Line 8: | ||
height: auto; | height: auto; | ||
width: 100%; | width: 100%; | ||
} | |||
@media (max-width: 767px) { | |||
.userroles-card { | |||
max-width: 10rem; | |||
margin-left: 10px; | |||
margin-right: 10px; | |||
} | |||
.userroles-card .card-title, .userroles-card .card-subtitle { | |||
font-size: 0.9rem; | |||
} | |||
} | } |
Latest revision as of 17:04, 26 November 2021
.userroles-card { border: 0; max-width: 14rem; width: 14rem; } .userroles-card img { border-radius: 50%; height: auto; width: 100%; } @media (max-width: 767px) { .userroles-card { max-width: 10rem; margin-left: 10px; margin-right: 10px; } .userroles-card .card-title, .userroles-card .card-subtitle { font-size: 0.9rem; } }