MediaWiki:Common.css: Difference between revisions
From Ages of Conflict
Content added Content deleted
No edit summary |
No edit summary |
||
Line 20: | Line 20: | ||
padding: 20px; |
padding: 20px; |
||
background-color: #D2B48C; |
background-color: #D2B48C; |
||
color: #3D3D3D; |
color: #3D3D3D; |
||
border: 1px solid #888; |
border: 1px solid #888; |
||
margin-bottom: 10px; |
margin-bottom: 10px; |
||
transition: all 0. |
transition: all 0.3s ease; /* Shorter transition for a more subtle effect */ |
||
} |
} |
||
.MPElement:hover { |
.MPElement:hover { |
||
background-color: # |
background-color: #C19A6B; /* Subtle change in background color on hover */ |
||
transform: scale(1.05); |
|||
animation: bounce 0.5s; |
|||
} |
} |
||
Line 39: | Line 37: | ||
.MPElement p.small { |
.MPElement p.small { |
||
font-size: 0.8em; |
font-size: 0.8em; |
||
margin-top: 10px; |
margin-top: 10px; |
||
border-top: 1px solid #888; |
border-top: 1px solid #888; |
||
} |
} |
||
.MPElement a { |
|||
@keyframes bounce { |
|||
color: #008B8B; /* Link color that stands out against both light and dark backgrounds */ |
|||
0% { transform: scale(1.05); } |
|||
} |
|||
50% { transform: scale(0.95); } |
|||
100% { transform: scale(1.05); } |
|||
.MPElement a:hover { |
|||
color: #00FFFF; /* Link color on hover */ |
|||
} |
} |
Revision as of 02:16, 19 November 2023
/*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 {
width: 500px;
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 */
}