Template

Card2/styles.css

From Dogcraft Wiki

(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...")
 
No edit summary
Line 1: Line 1:
div.card2 {
div.wiki-card {
     display: flex;  
     display: flex;  
     flex-direction: column;  
     flex-direction: column;  
Line 11: Line 11:
}
}


div.card2:hover,
div.wiki-card:hover,
div.card2:focus{
div.wiki-card:focus{
     box-shadow: 0 2px 3px rgba(85, 85, 85, 0.25), 0 0 10px rgba(85, 85, 85, 0.25);
     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) {
div.wiki-card > a:nth-child(1) {
     padding: 10px 25px 0;
     padding: 10px 25px 0;
}
}


div.card2 > a:nth-child(2) {
div.wiki-card > a:nth-child(2) {
   padding: 10px 0;
   padding: 10px 0;
   line-height: 20px;
   line-height: 20px;
Line 27: Line 27:
}
}


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


div.card2 > a:nth-child(1),
div.wiki-card > a:nth-child(1),
div.card2 > a:nth-child(1) > img {
div.wiki-card > a:nth-child(1) > img {
     width: 70px;
     width: 70px;
     height: 70px;
     height: 70px;
}
}

Revision as of 21:20, 28 June 2023

div.wiki-card {
    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.wiki-card:hover,
div.wiki-card:focus{
    box-shadow: 0 2px 3px rgba(85, 85, 85, 0.25), 0 0 10px rgba(85, 85, 85, 0.25);
}

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

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

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

div.wiki-card > a:nth-child(1),
div.wiki-card > a:nth-child(1) > img {
    width: 70px;
    height: 70px;
}
This page was last modified on 28 June 2023, at 21:20. (11 months ago)
Background Takeshi by Edo