Template

Main Page Navigation/styles.css

From Dogcraft Wiki

No edit summary
(Owen version)
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: 8px;  
flex-wrap: wrap;
    flex-wrap: wrap;
}
}


#transclude-wiki-navigation .thumbinner > a {
#transclude-wiki-navigation > div {
display: flex;  
    display: flex;  
flex-direction: column;  
    flex-direction: column;  
align-items: center;   
    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: 0 2px 3px rgba(85, 85, 85, 0.1), 0 0 0 1px rgba(85, 85, 85, 0.1);
width: 100px;
    width: 120px;
height: 100px;
    height: 120px;
padding: 10px;
    transition: box-shadow 0.2s ease-in-out;
}
}


#transclude-wiki-navigation .thumb .thumbinner {
#transclude-wiki-navigation > div:hover,
  width: auto !important;
#transclude-wiki-navigation > div:focus{
  margin: 0 !important;
    box-shadow: 0 2px 3px rgba(85, 85, 85, 0.25), 0 0 10px rgba(85, 85, 85, 0.25);
  position: relative;
  box-shadow: 0 2px 3px rgba(85,85,85,0.1),0 0 0 1px rgba(85,85,85,0.1);
  transition: box-shadow 0.2s ease-in-out;
}
}


#transclude-wiki-navigation .thumbcaption {
.mw-parser-output #transclude-wiki-navigation > div > a:nth-child(1) {
  position: absolute;
    padding: 10px 25px 0;
  bottom: 0;
  left: 0;
  width: 100%;
  background: transparent;
  padding: 0;
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: end;
  color: initial;
  font-style: normal;
  font-weight: 600;
}
}


#transclude-wiki-navigation .thumbinner:hover,
.mw-parser-output #transclude-wiki-navigation > div > a:nth-child(2) {
#transclude-wiki-navigation .thumbinner:focus{
    padding: 0 25px 10px;
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 img {
    width: 70px;
    height: 70px;
}
}

Revision as of 02:22, 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;
}

.mw-parser-output #transclude-wiki-navigation > div > a:nth-child(2) {
    padding: 0 25px 10px;
}

.mw-parser-output #transclude-wiki-navigation > div img {
    width: 70px;
    height: 70px;
}
This page was last modified on 12 January 2023, at 02:22. (11 months ago)
Background Valentine's Day Event 2024 by TheWhiteTigerNL