Toggle menu
1.3K
1.7K
694
23.9K
Veloren Wiki
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Template:Https://wiki.veloren.net/wiki/User:Ajima/MyStyle.css: Difference between revisions

Template page
Content added Content deleted
mNo edit summary
mNo edit summary
Line 77: Line 77:
background-color: #ff6666; /* pink */
background-color: #ff6666; /* pink */
}
}

/* overide mediawiki links's style */
.plainlinks{
color:white;
}

/* CSS for upcoming category */
.cardbox-title-grey {
.cardbox-title-grey {
max-height: 32px;
max-height: 32px;
Line 82: Line 89:
margin: 0;
margin: 0;
border: none;
border: none;
color: rgba(92, 133, 214, 0.55);
color: rgba(92, 133, 214, 0.3);
background-color: rgba(92, 133, 214, 0.25); /* blue */
background-color: rgba(92, 133, 214, 0.25); /* blue */
}
.cardbox-title-grey:hover {
content:"Coming soon";
}
/* overide mediawiki links's style */
.plainlinks{
color:white;
}
}


/* CSS for upcoming category */
.cardbox-overlay-container {
.cardbox-overlay-container {
position: relative;
position: relative;
Line 108: Line 107:
opacity:0.5;
opacity:0.5;
}
}
.cardbox-overlay-img p {
margin:0;
}
.cardbox-overlay-text p {
.cardbox-overlay-text p {
margin: 0;
margin: 0;
padding: 0;
padding: 0;
color: rgba(0,0,0,0);
color: rgba(0,0,0,0);
font-size: 20px;
font-size: 20px;
position: absolute;
position: absolute;
top: 50%;
top: 50%;
left: 50%;
left: 50%;
text-align: center;
text-align: center;
}
}
.cardbox-overlay-text:hover p {
.cardbox-overlay-text:hover p {

Revision as of 16:00, 14 October 2022

/* Main Page */
/* Used for nav button in main page */
#mainpage-nav{
	padding: 10px;
	border: none;
	border-radius:5px;
	background-color: rgba(92, 133, 214, 0.25); /* blue */
}
/* Overide  mediawiki nav link style */
.plainlinks > a{
	color: white;
	font-weight: bold;
	font-size: 1em;
}
#mainpage-nav:hover {
  color: white;
  background-color:  #ff6666; /* pink */
}
/* Same style then nav button but separated in case */
#button{
	max-height: 32px;
	padding: 10px;
	border: none;
	border-radius:5px;
	color: white;
	background-color: rgba(92, 133, 214, 0.25); /* blue */
}
#button:hover {
  background-color: #ff6666; /* pink */
}

/* Contents */
/* Used for any flex content */
.flex-container {
display: flex;
flex-direction: row;
flex-wrap: wrap;
gap: 10px; /* tough mediawiki said it doesn't support gap, it does support */
}
.hlist > div {
	display : inline-block;
}

/* Force the overflow in table for Armors page */
.Stats {
	max-width:765px; /* So picture of armor set and the table are next to each other */
	overflow-x:auto;
}
.Stats > table, th, tr, td {
		padding:0;
}
/* Force the overflow in table for Weapons page */
.Weapon-grid{
	max-width: 960px; /* 960px is the max-width of body section */
	overflow-x:auto;
}

/* Cardbox for category card*/
/* Defines rounded border */
.cardbox-image img {
	display:block;
	padding:0;
	margin: 0;
	border-radius:8px 8px 0 0;
}
/* Rounded title + hover effect */
.cardbox-title {
	max-height: 32px;
	padding: 10px;
	margin: 0;
	border: none;
	color: white;
	background-color: rgba(92, 133, 214, 0.25); /* blue */
}

.cardbox-title:hover {
  background-color: #ff6666; /* pink */
}

/* overide mediawiki links's style */
.plainlinks{
	color:white;
}

/* CSS for upcoming category */
.cardbox-title-grey {
	max-height: 32px;
	padding: 10px;
	margin: 0;
	border: none;
	color: rgba(92, 133, 214, 0.3);
	background-color: rgba(92, 133, 214, 0.25); /* blue */
}

.cardbox-overlay-container {
  position: relative;
  width: 300px;
}
.cardbox-overlay-img img {
	opacity:0.8;
	display:block;
	padding:0;
	margin: 0;
	border-radius:8px 8px 0 0;
}
.cardbox-overlay-img:hover img {
opacity:0.5;
}
.cardbox-overlay-img p {
	margin:0;
}
	
.cardbox-overlay-text p {
	margin: 0;
	padding: 0;
	color: rgba(0,0,0,0);
	font-size: 20px;
	position: absolute;
	top: 50%;
	left: 50%;
	text-align: center;
}
.cardbox-overlay-text:hover p {
  color: white;
}
/*End Cardbox */
Cookies help us deliver our services. By using our services, you agree to our use of cookies.