Template

Main Page Navigation/styles.css

From Dogcraft Wiki

mNo edit summary
No edit summary
Line 6: Line 6:
}
}


#transclude-wiki-navigation > div {
#transclude-wiki-navigation > a {
display: flex;  
display: flex;  
flex-direction: column;  
flex-direction: column;  
Line 20: Line 20:
}
}


#transclude-wiki-navigation > div:hover,
#tranclude-wiki-navigation .thumbinner {
#transclude-wiki-navigation > div:focus{
  width: auto !important;
  margin: 0 !important;
  position: relative;
  box-shadow: 0 2px 3px rgba(85,85,85,0.1),0 0 0 1px rgba(85,85,85,0.1);
}
 
#transclude-wiki-navigation .thumbcaption {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: transparent;
  padding: 0;
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: end;
  color: var(--link-color);
  font-style: normal;
  font-weight: 600;
}
 
#transclude-wiki-navigation > .thumbinner:hover,
#transclude-wiki-navigation > .thumbinner: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);
}
}

Revision as of 01:58, 12 January 2023

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

#transclude-wiki-navigation > a {
	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: 100px;
	height: 100px;
	padding: 10px;
	transition: box-shadow 0.2s ease-in-out;
}

#tranclude-wiki-navigation .thumbinner {
  width: auto !important;
  margin: 0 !important;
  position: relative;
  box-shadow: 0 2px 3px rgba(85,85,85,0.1),0 0 0 1px rgba(85,85,85,0.1);
}

#transclude-wiki-navigation .thumbcaption {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: transparent;
  padding: 0;
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: end;
  color: var(--link-color);
  font-style: normal;
  font-weight: 600;
}

#transclude-wiki-navigation > .thumbinner:hover,
#transclude-wiki-navigation > .thumbinner:focus{
	box-shadow: 0 2px 3px rgba(85, 85, 85, 0.25), 0 0 10px rgba(85, 85, 85, 0.25);
}
This page was last modified on 12 January 2023, at 01:58. (12 months ago)
Background Dragon Slayer - Retriever by Ironboundred