MediaWiki:Common.css: Difference between revisions
Jump to navigation
Jump to search
Added the wiki-button class for the provisional main-page redesign. The sizes are subject to change upon applicative testing. Tag: Reverted |
No edit summary Tag: Reverted |
||
Line 156: | Line 156: | ||
.4w td { | .4w td { | ||
width: 4%; | width: 4%; | ||
} | |||
/* Keita Side Menu */ | |||
@import 'https://fonts.googleapis.com/css?family=Roboto'; | |||
#mw-panel { | |||
font-family: 'Roboto', sans-serif; | |||
position: fixed; | |||
top: 0; | |||
left: 0; | |||
margin: 0; | |||
padding: 0; | |||
height: 100%; | |||
width: 60px; | |||
list-style-type: none; | |||
background: #222222; | |||
overflow: hidden; | |||
transition: width .3s; | |||
} | |||
.vector-menu-content { | |||
display: none !important; | |||
} | |||
.vector-menu-heading { | |||
display: none !important; | |||
} | |||
#mw-panel:hover { | |||
width: 300px; | |||
.vector-menu-content, .vector-menu-heading { | |||
display: block !important; | |||
} | |||
.vector-menu-heading { | |||
display: block !important; | |||
} | |||
} | |||
#mw-panel li { | |||
width: 300px; | |||
} | |||
#mw-panel li span { | |||
font-size: 1rem; | |||
margin: 20px 30px 0 22px; | |||
} | |||
#mw-panel li a { | |||
display: block; | |||
font-size: .9rem; | |||
text-decoration: none; | |||
color: #FFF; | |||
height: 60px; | |||
} | |||
#mw-panel li a:hover, | |||
.side-menu li:first-child a { | |||
background: #14081d; | |||
display: block; | |||
} | } |
Revision as of 17:56, 6 June 2023
/* CSS placed here will be applied to all skins */
.wiki-button {
height: 35px;
width: 170px;
border-radius:10px;
outline: 2px solid;
outline-offset: 3px;
outline-color: #ffffff !important;
border: none;
filter:drop-shadow(0px 4px 4px rgba(0,0,0,0.25));
}
.pro-table {
background-color: #333333;
border: 5px solid #000000;
border-radius: 20px;
padding: 3px;
cellspacing: 2px;
cellpadding: 2px;
border-spacing: 5px 5px;
color: white;
}
.pro-table-header {
background-color: #1B1A1A;
color: #FFB600;
border-radius: 30px;
border: 1px solid #000000;
font-weight: bold;
font-size: 125%;
text-align: center;
padding: 4px;
}
.pro-table-header-cell {
padding: 7px;
border: 3px solid #000000;
}
.pro-table-row {
background-color: #DDD;
color: #000000;
}
.circular-icon {
width: 55px;
height: 55px;
border-radius: 35px;
border: 3px solid #000000;
background-color: white;
text-align: center;
padding: 5px;
align: left;
}
.pro-table-cell {
background-color: #666666;
border-radius: 20px;
border: 1px solid #000000;
padding: 4px;
}
.informational-box {
margin-left: 15px;
margin-top: 5px;
margin-bottom: 5px;
cellspacing: 2px;
float: right;
text-align: center;
padding: 3px;
}
.top-align {
vertical-align: top;
}
.middle-align {
vertical-align: middle;
}
.tab {
text-align: center;
}
.tab td {
float: left;
border: 1px solid {{#var:border}};
outline: none;
cursor: pointer;
padding: 14px 16px;
transition: 0.3s;
font-size: 17px;
border-radius: 25px 25px 1px 1px;
}
.tab td:hover {
text-decoration: underline;
}
.tab td.active {
background-color: {{#var:background}};
font-weight: bold;
color: {{#var:border}};
}
.tabcontent {
display: none;
background-color: none;
border: none;
border-top: none;
}
#n-PRO-Wiki-Discord a {
background-image: url("https://i.imgur.com/4TeLNLE.png");
background-position: left;
color: white !important;
background-repeat: no-repeat;
font-size: 10px;
font-weight: bold;
border-radius: 25px;
border: 1px solid #2b44a1;
background-color: #7289da;
display: block;
position: relative;
padding-left: 32px;
padding-bottom: 7px;
padding-top: 7px;
padding-right: 7px;
box-shadow: 0 2px 3px rgba(0, 0, 0, 0.1);
transition: 0.2s ease;
}
.collapsible span.collapsible-toggle {
float: right;
}
.border-top-radius {
border-top-right-radius: 25px;
border-top-left-radius: 25px;
}
.border-bottom-radius {
border-bottom-right-radius: 25px;
border-bottom-left-radius: 25px;
}
colgroup {
display: table-column-group;
}
col {
display: table-column;
}
.4w td {
width: 4%;
}
/* Keita Side Menu */
@import 'https://fonts.googleapis.com/css?family=Roboto';
#mw-panel {
font-family: 'Roboto', sans-serif;
position: fixed;
top: 0;
left: 0;
margin: 0;
padding: 0;
height: 100%;
width: 60px;
list-style-type: none;
background: #222222;
overflow: hidden;
transition: width .3s;
}
.vector-menu-content {
display: none !important;
}
.vector-menu-heading {
display: none !important;
}
#mw-panel:hover {
width: 300px;
.vector-menu-content, .vector-menu-heading {
display: block !important;
}
.vector-menu-heading {
display: block !important;
}
}
#mw-panel li {
width: 300px;
}
#mw-panel li span {
font-size: 1rem;
margin: 20px 30px 0 22px;
}
#mw-panel li a {
display: block;
font-size: .9rem;
text-decoration: none;
color: #FFF;
height: 60px;
}
#mw-panel li a:hover,
.side-menu li:first-child a {
background: #14081d;
display: block;
}