Common.css: Difference between revisions
An Avatar.Global Resource
mNo edit summary |
mNo edit summary |
||
Line 20: | Line 20: | ||
line-height: 2em; | line-height: 2em; | ||
text-decoration: none; | text-decoration: none; | ||
padding:10px; | padding:10px 12px 10px 12px; | ||
transition: margin-left 4s, color 1s; | transition: margin-left 4s, color 1s; | ||
} | } | ||
Line 35: | Line 35: | ||
} | } | ||
/* Main Menu */ | |||
#coolMenu { | #coolMenu { | ||
font-family: Arial; | font-family: Arial; | ||
Line 61: | Line 62: | ||
#coolMenu ul li:hover a { | #coolMenu ul li:hover a { | ||
background: #ffc97c; | background: #ffc97c; | ||
#nav .menu_normal li { | #nav .menu_normal li { | ||
Line 79: | Line 83: | ||
} | } | ||
/* experimental end */ | /* experimental end */ |
Revision as of 21:17, 23 November 2018
/* CSS placed here will be applied to all skins */ #coolMenu, #coolMenu ul { list-style: none; } #coolMenu { float: left; } #coolMenu > li { float: left; } #coolMenu li a { display: block; height: 2em; line-height: 2em; text-decoration: none; padding:10px 12px 10px 12px; transition: margin-left 4s, color 1s; } #coolMenu ul { position: absolute; display: none; z-index: 999; } #coolMenu ul li a { width: 80px; } #coolMenu li:hover ul { display: block; } /* Main Menu */ #coolMenu { font-family: Arial; font-size: 12px; background: #efefef; } #coolMenu > li > a { color: #222; font-weight: 600; } #coolMenu > li:hover > a { background: #eeffee; color: #000; } /* Submenu ------------------------------------------*/ #coolMenu ul { background: #eeffee; } #coolMenu ul li a { color: #000; display:block; padding:8px; } #coolMenu ul li:hover a { background: #ffc97c; #nav .menu_normal li { position: static !Important; } #nav .menu_normal .sub-menu { left: 0 !Important; right: 0 !Important; } #nav .menu_normal .sub-menu > li { float: left !Important; } #nav .menu_normal .label_holder { width: auto !Important; } /* experimental end */ div.topnav ul { list-style-type: none; margin: 0; margin-bottom:28px; padding: 0; overflow: hidden; background-color: #fffafa; border-bottom: 1px solid #888 } div.topnav li { float: left; ; } div.topnav li a { display: block; color: #222; text-align: center; padding: 14px 16px; text-decoration: none; transition: .8s background-color; } div.nav ul { list-style-type: none; margin: 0; margin-bottom:28px; padding: 0; overflow: hidden; background-color: #fafffa; border-bottom: 1px solid #888 } div.nav li { float: left; ; } div.nav li a { display: block; color: #222; text-align: center; padding: 14px 16px; text-decoration: none; transition: .8s background-color; } div.nav ul a:hover:not(.active) { background-color: #f3fff3; } div.nav ul .active { background-color:#fafafa; } div.toc-mobile h2 { display:none } div.toc { display:none; } div.definition, div.definition p:first-of-type { padding: 15px; border: 1px solid #eee; } @import url("https://fonts.googleapis.com/css?family=Noto+Sans|Noto+Serif") body {font-family: "Noto Sans", sans-serif} /* changes the default font used for MediaWiki to Noto Sans (does not include headings or monospaced text) */ div#content h1, div#content h2 {font-family: "Noto Serif", serif} /* changes the default font used for MediaWiki headings to Noto Serif */