Template

Main Page Navigation/styles.css

From Dogcraft Wiki

(Owen version)
No edit summary
Line 25: Line 25:


.mw-parser-output #transclude-wiki-navigation > div > a:nth-child(1) {
.mw-parser-output #transclude-wiki-navigation > div > a:nth-child(1) {
     padding: 10px 25px 0;
     /*padding: 10px 25px 0;*/
    width: 100%;
text-align: center;
padding-top: 10px;
}
}


.mw-parser-output #transclude-wiki-navigation > div > a:nth-child(2) {
.mw-parser-output #transclude-wiki-navigation > div > a:nth-child(2) {
    padding: 0 25px 10px;
  /* padding: 0 25px 10px;*/
    width: 100%;
text-align: center;
padding-bottom: 10px;
}
}



Revision as of 02:27, 12 January 2023

#transclude-wiki-navigation {
    display: flex; 
    justify-content: space-around; 
    gap: 8px; 
    flex-wrap: wrap;
}

#transclude-wiki-navigation > div {
    display: flex; 
    flex-direction: column; 
    align-items: center;  
    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;
}

#transclude-wiki-navigation > div:hover,
#transclude-wiki-navigation > div:focus{
    box-shadow: 0 2px 3px rgba(85, 85, 85, 0.25), 0 0 10px rgba(85, 85, 85, 0.25);
}

.mw-parser-output #transclude-wiki-navigation > div > a:nth-child(1) {
    /*padding: 10px 25px 0;*/
    width: 100%;
	text-align: center;
	padding-top: 10px;
}

.mw-parser-output #transclude-wiki-navigation > div > a:nth-child(2) {
   /* padding: 0 25px 10px;*/
    width: 100%;
	text-align: center;
	padding-bottom: 10px;
}

.mw-parser-output #transclude-wiki-navigation > div img {
    width: 70px;
    height: 70px;
}
This page was last modified on 12 January 2023, at 02:27. (12 months ago)
Background SRN Opening by Montenator