Template

Main Page Navigation/styles.css

From Dogcraft Wiki

No edit summary
m (Adding wiki only cog toggle)
 
(17 intermediate revisions by 3 users not shown)
Line 1: Line 1:
#transclude-wiki-navigation {
#transclude-wiki-navigation {
display: flex;  
    display: flex;  
justify-content: space-around;  
    justify-content: space-around;  
gap: 8px;  
    gap: 10px;
flex-wrap: wrap;
    flex-wrap: wrap;
}
}


#transclude-wiki-navigation > div {
#transclude-wiki-navigation > div {
display: flex;  
    display: flex;  
flex-direction: column;  
    flex-direction: column;  
align-items: center; 
    font-weight: 600;  
font-weight: 600;  
    background: #ffffff;  
background: #ffffff;  
    border-radius:5px;   
border-radius:5px;   
    box-shadow: 0 2px 3px rgba(85, 85, 85, 0.1), 0 0 0 1px rgba(85, 85, 85, 0.1);
box-shadow: 2px 0 5px rgba(85, 85, 85, 0.25),2px 0 10px rgba(85, 85, 85, 0.18);
    width: 120px;
width: 95px;
    height: 120px;
height: 95px;
    transition: box-shadow 0.2s ease-in-out;
padding: 8px;
}
 
#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);
}
 
#transclude-wiki-navigation > div > a:nth-child(1) {
    padding: 10px 25px 0;
}
 
#transclude-wiki-navigation > div > a:nth-child(2) {
  padding: 10px 0;
  line-height: 20px;
  width: 100%;
  text-align: center;
}
 
#transclude-wiki-navigation > div > a:nth-child(2):hover,
#transclude-wiki-navigation > div > a:nth-child(2):focus {
  text-decoration: none;
}
 
#transclude-wiki-navigation > div > a:nth-child(1),
#transclude-wiki-navigation > div > a:nth-child(1) > img {
    width: 70px;
    height: 70px;
}
 
body > #app .wiki-only {
display: none;
}
}

Latest revision as of 11:13, 4 December 2023

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

#transclude-wiki-navigation > div {
    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;
}

#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);
}

#transclude-wiki-navigation > div > a:nth-child(1) {
    padding: 10px 25px 0;
}

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

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

#transclude-wiki-navigation > div > a:nth-child(1),
#transclude-wiki-navigation > div > a:nth-child(1) > img {
    width: 70px;
    height: 70px;
}

body > #app .wiki-only {
	display: none;
}
Background Dragon Slayer - Retriever by Ironboundred