MediaWiki:Common.css: Difference between revisions
From Ages of Conflict
Content added Content deleted
mNo edit summary |
m (Commenting out this whole thing. It works, but since I don't know how to do the opacity, it will make the article text illegible) |
||
Line 1: | Line 1: | ||
.page__main { |
/*.page__main { |
||
background-image:url(https://static.wikia.nocookie.net/ages-of-conflict-world-war-simulator/images/f/fb/Camo.png/revision/latest/scale-to-width-down/600?cb=20231119030911); |
background-image:url(https://static.wikia.nocookie.net/ages-of-conflict-world-war-simulator/images/f/fb/Camo.png/revision/latest/scale-to-width-down/600?cb=20231119030911); |
||
background-repeat:repeat; |
background-repeat:repeat; |
||
background-attachment:fixed; |
background-attachment:fixed; |
||
background-size:auto;} |
background-size:auto;} |
||
*/ |
|||
/*opacity: 0.4;*/ |
|||
/*COMMUNITY HEADER drop shadow*/ |
/*COMMUNITY HEADER drop shadow*/ |
||
.theme-fandomdesktop-light .fandom-community-header { |
.theme-fandomdesktop-light .fandom-community-header { |
Revision as of 03:18, 19 November 2023
/*.page__main {
background-image:url(https://static.wikia.nocookie.net/ages-of-conflict-world-war-simulator/images/f/fb/Camo.png/revision/latest/scale-to-width-down/600?cb=20231119030911);
background-repeat:repeat;
background-attachment:fixed;
background-size:auto;}
*/
/*COMMUNITY HEADER drop shadow*/
.theme-fandomdesktop-light .fandom-community-header {
filter: drop-shadow(0px 0px 6px #Ffd700) drop-shadow(0px 0px 2px #Ffd700);
z-index: 200;
}
.theme-fandomdesktop-dark .fandom-community-header {
filter: drop-shadow(0px 0px 6px #Ffd700) drop-shadow(0px 0px 2px #Ffd700);
z-index: 200;
}
a[href="/wiki/User:Cosmoj0sh"] {color:violet; font-weight:bold; filter:drop-shadow(0px 0px 2px #B200FF);}
#navbar a:hover {
background-color: #ddd;
color: black;
}
.MPElement {
padding: 20px;
background-color: #D2B48C;
color: #3D3D3D;
border: 1px solid #888;
margin-bottom: 10px;
transition: all 0.3s ease; /* Shorter transition for a more subtle effect */
}
.MPElement:hover {
background-color: #C19A6B; /* Subtle change in background color on hover */
}
.MPElement h2 {
margin: 0;
padding-bottom: 10px;
border-bottom: 1px solid #888;
}
.MPElement p.small {
font-size: 0.8em;
margin-top: 10px;
border-top: 1px solid #888;
}
.MPElement a {
color: #008B8B; /* Link color that stands out against both light and dark backgrounds */
}
.MPElement a:hover {
color: #00FFFF; /* Link color on hover */
}
.container {
display: flex; /* Aligns the boxes horizontally */
}
.MPElement {
flex: 1; /* Each box will take up an equal amount of space */
padding: 20px;
background-color: #D2B48C;
color: #3D3D3D;
border: 1px solid #888;
margin: 10px; /* Space around each box */
transition: all 0.3s ease;
}
.MPElement:hover {
background-color: #776650;
}
.MPElement h2 {
margin: 0;
padding-bottom: 10px;
border-bottom: 1px solid #888;
}
.MPElement p.small {
font-size: 0.8em;
margin-top: 10px;
border-top: 1px solid #888;
}