MediaWiki:Common.css: Difference between revisions
From Glue3D Wiki, the free encygluepedia
Jump to navigationJump to search
Deniskincses (talk | contribs) No edit summary |
Deniskincses (talk | contribs) mNo edit summary |
||
| Line 1: | Line 1: | ||
/* CSS placed here will be applied to all skins */ | /* CSS placed here will be applied to all skins */ | ||
:root { | |||
--primary-color: #61BFCC; | |||
--secondary-color: #52A1AC; | |||
--text-color: #143A42; | |||
--hover-color: #15526B; | |||
--font-family: verdana, sans-serif; | |||
--light-bg: #ffffff85; | |||
--lighter-bg: #4D4D4D00; | |||
--shadow-color: #49494999; | |||
--gradient-bg: linear-gradient(#BEE8ED, #52A1AC 75%, #61BFCC); | |||
--hover-gradient: linear-gradient(#CDF7FC, #61B0BB 75%, #70CEDB); | |||
} | |||
html, body { | html, body { | ||
| Line 41: | Line 53: | ||
#footer { | #footer { | ||
margin-left: -4px; | margin-left: -4px; | ||
} | |||
button, | |||
.button { | |||
font-family: var(--font-family); | |||
font-weight: bold; | |||
font-size: .83em; | |||
color: black; | |||
text-decoration: none; | |||
text-align: center; | |||
background: var(--gradient-bg); | |||
box-shadow: 0px 2px 3px var(--shadow-color); | |||
border: 1px solid rgba(0, 0, 0, 0.45); | |||
margin: 1.5em 0; | |||
padding: 3px 24px; | |||
border-radius: 3px; | |||
cursor: pointer; | |||
} | |||
button:hover, | |||
.button:hover { | |||
background: var(--hover-gradient); | |||
box-shadow: 0px 2px 3px var(--shadow-color); | |||
} | |||
input[type="text"], | |||
input[type="email"], | |||
input[type="password"], | |||
input[type="username"] { | |||
font-family: var(--font-family); | |||
background: linear-gradient(#949494, #ABABAB 75%, #DCDCDC); | |||
border: 1px solid rgba(0, 0, 0, 0.45); | |||
border-radius: 3px; | |||
font-weight: bold; | |||
font-size: .83em; | |||
padding: 3px 8px; | |||
box-sizing: border-box; | |||
box-shadow: 0px 2px 3px var(--shadow-color); | |||
margin-top: 0px; | |||
} | |||
input[type="text"]:focus, | |||
input[type="email"]:focus, | |||
input[type="password"]:focus { | |||
outline: none; | |||
box-shadow: 0 0 2.5px 1px #61BFCC88; | |||
} | |||
input[type="checkbox"] { | |||
width: 15px; | |||
height: 15px; | |||
appearance: none; | |||
background: linear-gradient(to bottom, #f7f7f7 0%, #cccccc 84%, #dbdbdb 100%); | |||
border: 1px solid rgba(0, 0, 0, 0.45); | |||
border-radius: 2px; | |||
cursor: pointer; | |||
position: relative; | |||
box-shadow: 0px 2px 3px var(--shadow-color); | |||
} | |||
button:active, | |||
.button:hover, | |||
input[type="checkbox"]:hover { | |||
background: var(--gradient-bg); | |||
box-shadow: 0 0 2.5px 1px #61BFCC88; | |||
} | |||
input[type="checkbox"]:checked { | |||
background: linear-gradient(to bottom, #f7f7f7 0%, #cccccc 84%, #dbdbdb 100%); | |||
box-shadow: 0 0 2.5px 1px #61BFCC88; | |||
} | |||
input[type="checkbox"]:checked::after { | |||
content: ''; | |||
position: absolute; | |||
width: 13px; | |||
box-shadow: 0 3 2.5px 1px #61BFCC88; | |||
background: url('data:image/svg+xml;charset=UTF-8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 14 13"><path d="M0 7.5L2 6L5 9L13 0L14 1L5 13L0 7.5Z" fill="black"/></svg>') no-repeat center center; | |||
height: 14px; | |||
background-size: contain; | |||
} | |||
a, | |||
button { | |||
color: var(--text-color); | |||
} | } | ||
Revision as of 11:58, 29 May 2026
/* CSS placed here will be applied to all skins */
:root {
--primary-color: #61BFCC;
--secondary-color: #52A1AC;
--text-color: #143A42;
--hover-color: #15526B;
--font-family: verdana, sans-serif;
--light-bg: #ffffff85;
--lighter-bg: #4D4D4D00;
--shadow-color: #49494999;
--gradient-bg: linear-gradient(#BEE8ED, #52A1AC 75%, #61BFCC);
--hover-gradient: linear-gradient(#CDF7FC, #61B0BB 75%, #70CEDB);
}
html, body {
max-width: 100%;
overflow-x: hidden;
}
#globalWrapper {
font-family: verdana, sans-serif;
box-sizing: border-box;
padding-left: 4px !important;
padding-right: 4px !important;
}
.mw-wiki-logo {
background-size: 135px;
background-image: url("/resources/assets/glue3dwikihq.png") !important;
}
.portlet h5, #p-cactions li.selected a {
background-color: #52a1ac !important;
color: white !important;
}
#p-cactions li a {
background-color: #bee8ed !important;
color: #333 !important;
border-color: #a7d7df !important;
}
body {
background:
linear-gradient(
rgba(190, 232, 237, 0.8),
rgba(82, 161, 172, 0.8)
),
lightblue url("/resources/assets/skyboxicons.png") repeat !important;
}
/* hack */
#footer {
margin-left: -4px;
}
button,
.button {
font-family: var(--font-family);
font-weight: bold;
font-size: .83em;
color: black;
text-decoration: none;
text-align: center;
background: var(--gradient-bg);
box-shadow: 0px 2px 3px var(--shadow-color);
border: 1px solid rgba(0, 0, 0, 0.45);
margin: 1.5em 0;
padding: 3px 24px;
border-radius: 3px;
cursor: pointer;
}
button:hover,
.button:hover {
background: var(--hover-gradient);
box-shadow: 0px 2px 3px var(--shadow-color);
}
input[type="text"],
input[type="email"],
input[type="password"],
input[type="username"] {
font-family: var(--font-family);
background: linear-gradient(#949494, #ABABAB 75%, #DCDCDC);
border: 1px solid rgba(0, 0, 0, 0.45);
border-radius: 3px;
font-weight: bold;
font-size: .83em;
padding: 3px 8px;
box-sizing: border-box;
box-shadow: 0px 2px 3px var(--shadow-color);
margin-top: 0px;
}
input[type="text"]:focus,
input[type="email"]:focus,
input[type="password"]:focus {
outline: none;
box-shadow: 0 0 2.5px 1px #61BFCC88;
}
input[type="checkbox"] {
width: 15px;
height: 15px;
appearance: none;
background: linear-gradient(to bottom, #f7f7f7 0%, #cccccc 84%, #dbdbdb 100%);
border: 1px solid rgba(0, 0, 0, 0.45);
border-radius: 2px;
cursor: pointer;
position: relative;
box-shadow: 0px 2px 3px var(--shadow-color);
}
button:active,
.button:hover,
input[type="checkbox"]:hover {
background: var(--gradient-bg);
box-shadow: 0 0 2.5px 1px #61BFCC88;
}
input[type="checkbox"]:checked {
background: linear-gradient(to bottom, #f7f7f7 0%, #cccccc 84%, #dbdbdb 100%);
box-shadow: 0 0 2.5px 1px #61BFCC88;
}
input[type="checkbox"]:checked::after {
content: '';
position: absolute;
width: 13px;
box-shadow: 0 3 2.5px 1px #61BFCC88;
background: url('data:image/svg+xml;charset=UTF-8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 14 13"><path d="M0 7.5L2 6L5 9L13 0L14 1L5 13L0 7.5Z" fill="black"/></svg>') no-repeat center center;
height: 14px;
background-size: contain;
}
a,
button {
color: var(--text-color);
}