25,162
edits
(Created page with "→CSS placed here will affect users of the Timeless skin: →***************************** Extension MenuSidebar Styles *****************************: /* Allow popup submen...") |
No edit summary |
||
(35 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
/* CSS placed here will affect users of the Timeless skin */ | /* CSS placed here will affect users of the Timeless skin */ | ||
/* Color scheme */ | |||
@import url("/wiki/index.php?action=raw&ctype=text/css&title=MediaWiki:ColorSel.css"); | |||
@import url("/wiki/index.php?action=raw&ctype=text/css&title=MediaWiki:ColorScheme.css"); | |||
/* Generic elements */ | |||
@import url("/wiki/index.php?action=raw&ctype=text/css&title=MediaWiki:Basic.css"); | |||
/* Throw here if it doesn't match any other category */ | |||
@import url("/wiki/index.php?action=raw&ctype=text/css&title=MediaWiki:Main.css"); | |||
/* Sections */ | |||
@import url("/wiki/index.php?action=raw&ctype=text/css&title=MediaWiki:Section.css"); | |||
/* Components */ | |||
@import url("/wiki/index.php?action=raw&ctype=text/css&title=MediaWiki:Components.css"); | |||
@import url("/wiki/index.php?action=raw&ctype=text/css&title=MediaWiki:Infobox.css"); | |||
@import url("/wiki/index.php?action=raw&ctype=text/css&title=MediaWiki:Nmbox.css"); | |||
@import url("/wiki/index.php?action=raw&ctype=text/css&title=MediaWiki:Tabber.css"); | |||
@import url("/wiki/index.php?action=raw&ctype=text/css&title=MediaWiki:Vgrid.css"); | |||
@import url("/wiki/index.php?action=raw&ctype=text/css&title=MediaWiki:Tippy.css"); | |||
@import url("/wiki/index.php?action=raw&ctype=text/css&title=MediaWiki:Templates.css"); | |||
@import url("/wiki/index.php?action=raw&ctype=text/css&title=MediaWiki:FilterSearch.css"); | |||
/* Dark mode */ | |||
@import url("/wiki/index.php?action=raw&ctype=text/css&title=MediaWiki:ColorSchemeDark.css"); | |||
/* Font */ | |||
@import url("https://fonts.googleapis.com/css2?family=Josefin+Sans:wght@700&family=Familjen+Grotesk:wght@400;500;600;700"); | |||
/****************************** Extension MenuSidebar Styles ******************************/ | /****************************** Extension MenuSidebar Styles ******************************/ | ||
/* Allow popup submenus to overflow the sidebar area for the Vector skin */ | /* Allow popup submenus to overflow the sidebar area for the Vector skin */ | ||
.sidebar-chunk div.body ul li { | |||
overflow: visible !important; | overflow: visible !important; | ||
} | } | ||
Line 12: | Line 44: | ||
/* keep nested list fonts from continually decreasing in size with each nesting */ | /* keep nested list fonts from continually decreasing in size with each nesting */ | ||
.sidebar-chunk div.body ul li { | |||
font-size: small !important; | font-size: small !important; | ||
} | } | ||
/* Allow popup submenus to overflow the sidebar area */ | /* Allow popup submenus to overflow the sidebar area */ | ||
.sidebar-chunk div.body ul li { | |||
overflow: visible !important; | overflow: visible !important; | ||
} | } | ||
Line 30: | Line 62: | ||
} | } | ||
.color-left, | |||
.color-middle, | |||
.color-right { | |||
background: #add8e6; | |||
} | } | ||
.mw-body h1.firstHeading, | |||
#mw-page-header-links li.selected, | |||
#mw-content-container { | |||
border-color: #add8e6; | |||
} | } | ||
/**************** Sidebar *****/ | |||
background- | .sidebar-chunk h3 { | ||
background-image: none !important; | |||
padding: 0 0 3px 0 !important; | |||
} | } | ||
.sidebar-chunk h3, | |||
.sidebar-chunk h3:hover, | |||
.sidebar-chunk h3:active, | |||
.sidebar-chunk h3:link, | |||
.sidebar-chunk h3:visited { | |||
font-weight: bolder !important; | |||
text-decoration: none !important; | |||
} | } | ||
::-webkit- | .sidebar-chunk li > ul { | ||
position: absolute; | |||
visibility: hidden; | |||
left: 100%; | |||
background-color: #fff; | |||
margin-top: -1em !important; | |||
margin-left: -10px !important; | |||
min-width: 200px; | |||
max-width: 250px; | |||
opacity: 0; | |||
-webkit-box-shadow: 10px 10px 10px #ccf; | |||
-moz-box-shadow: 10px 10px 10px #ccf; | |||
box-shadow: 10px 10px 10px #ccf; | |||
} | } | ||
.sidebar-chunk li:hover > ul { | |||
opacity: 1; | |||
visibility: visible; | |||
} | } | ||
.sidebar-chunk ul, | |||
.sidebar-chunk li, | |||
.sidebar-chunk a, | |||
.sidebar-chunk strong.selflink { | |||
display: block; | |||
} | } | ||
.sidebar-chunk a, | |||
.sidebar-chunk strong.selflink { | |||
max-width: 96%; | |||
} | } | ||
.sidebar-chunk li { | |||
position: relative; | |||
font-weight: bold; | |||
font-family: "Microsoft YaHei", Arial, Helvetica, sans-serif; | |||
text-decoration: none; | |||
padding: 0; | |||
margin: 0; | margin: 0; | ||
z-index: 1; | |||
} | } | ||
::- | .sidebar-chunk li:hover { | ||
-webkit-transform: translateX(10px); | |||
-moz-transform: translateX(10px); | |||
-ms-transform: translateX(10px); | |||
-o-transform: translateX(10px); | |||
transform: translateX(10px); | |||
} | } | ||
.sidebar-chunk a:before, | |||
: | .sidebar-chunk a:after, | ||
.sidebar-chunk strong.selflink:before, | |||
.sidebar-chunk strong.selflink:after { | |||
color: #07a3d7; | |||
margin: auto 3px; | |||
} | } | ||
: | .sidebar-chunk a:before, | ||
.sidebar-chunk strong.selflink:before { | |||
content: '>'; | |||
} | } | ||
.sidebar-chunk a:after, | |||
::-webkit- | .sidebar-chunk strong.selflink:after { | ||
content: '<'; | |||
visibility: hidden; | |||
-webkit-transform: translateX(15px); | |||
-moz-transform: translateX(15px); | |||
-ms-transform: translateX(15px); | |||
-o-transform: translateX(15px); | |||
transform: translateX(15px); | |||
} | } | ||
::-webkit- | .sidebar-chunk a:hover:after, | ||
.sidebar-chunk strong.selflink:hover:after { | |||
visibility: visible; | |||
-webkit-transform: translateX(0px); | |||
-moz-transform: translateX(0px); | |||
-ms-transform: translateX(0px); | |||
-o-transform: translateX(0px); | |||
transform: translateX(0px); | |||
} | } | ||
.sidebar-chunk strong.selflink { | |||
color: #07a3d7 !important; | |||
: | border-bottom: 2px #07a3d7 solid; | ||
} | } | ||
::-webkit- | .sidebar-chunk a:after, | ||
.sidebar-chunk strong.selflink:after, | |||
.sidebar-chunk li { | |||
-webkit-transition: transform .3s; | |||
-moz-transition: transform .3s; | |||
-o-transition: transform .3s; | |||
transition: transform .3s; | |||
} | } | ||
.sidebar-chunk li > ul { | |||
-webkit-transition: opacity .3s; | |||
-moz-transition: opacity .3s; | |||
-o-transition: opacity .3s; | |||
transition: opacity .3s; | |||
} | } | ||
/* | /* Remove .mw-body-content stacking context so the tooltip can | ||
overlap with elements outside content area and be shown properly */ | |||
#bodyContentOuter { z-index: auto; } | |||
} | |||
#mw-content-container{ | |||
background- | background-image: url(https://elwiki.net/wiki/images/3/35/Background_-_Elwiki.jpg); | ||
background-repeat: no-repeat; | |||
background-position: initial !important; | |||
/ | background-size: cover !important; | ||
background-attachment: fixed !important; | |||
/ | |||
background- | |||
background-position: | |||
} | } |