Template

Card2/styles.css

From Dogcraft Wiki

< Template:Card2
Revision as of 21:19, 28 June 2023 by Domino (talk | contribs) (Created page with "div.card2 { display: flex; flex-direction: column; font-weight: 600; background: #ffffff; border-radius:5px; box-shadow: 0 2px 3px rgba(85, 85, 85, 0.1), 0 0 0 1px rgba(85, 85, 85, 0.1); width: 120px; height: 120px; transition: box-shadow 0.2s ease-in-out; } div.card2:hover, div.card2:focus{ box-shadow: 0 2px 3px rgba(85, 85, 85, 0.25), 0 0 10px rgba(85, 85, 85, 0.25); } div.card2 > a:nth-child(1) { padding: 10px 25px 0...")
(diff) โ† Older revision | Latest revision (diff) | Newer revision โ†’ (diff)
div.card2 {
    display: flex; 
    flex-direction: column; 
    font-weight: 600; 
    background: #ffffff; 
    border-radius:5px;  
    box-shadow: 0 2px 3px rgba(85, 85, 85, 0.1), 0 0 0 1px rgba(85, 85, 85, 0.1);
    width: 120px;
    height: 120px;
    transition: box-shadow 0.2s ease-in-out;
}

div.card2:hover,
div.card2:focus{
    box-shadow: 0 2px 3px rgba(85, 85, 85, 0.25), 0 0 10px rgba(85, 85, 85, 0.25);
}

div.card2 > a:nth-child(1) {
    padding: 10px 25px 0;
}

div.card2 > a:nth-child(2) {
   padding: 10px 0;
   line-height: 20px;
   width: 100%;
   text-align: center;
}

div.card2 > a:nth-child(2):hover,
div.card2 > a:nth-child(2):focus {
   text-decoration: none;
}

div.card2 > a:nth-child(1),
div.card2 > a:nth-child(1) > img {
    width: 70px;
    height: 70px;
}
This page was last modified on 28 June 2023, at 21:19. (16 months ago)