Navigation menu
Template:Nav/styles.css: Difference between revisions
From Metroid Wiki
m (fix) |
(make colours skin-specific) |
||
Line 1: | Line 1: | ||
.t_nav { | .t_nav { | ||
clear: both; | clear: both; | ||
border-radius: 20px; | border-radius: 20px; | ||
margin: auto; | margin: auto; | ||
max-width: 800px; | max-width: 800px; | ||
text-align: center; | text-align: center; | ||
} | } | ||
.t_nav .t_nav_header { | .t_nav .t_nav_header { | ||
border-radius: 15px; | border-radius: 15px; | ||
font-weight: bold; | font-weight: bold; | ||
padding: 3px; | padding: 3px; | ||
Line 33: | Line 29: | ||
.t_nav ul > li:first-child:before { | .t_nav ul > li:first-child:before { | ||
content: ""; | content: ""; | ||
} | |||
body.skin-quantumleap .t_nav { | |||
border: 2px solid #6e3c80; | |||
background-color: #3c0252; | |||
} | |||
body.skin-quantumleap .t_nav .t_nav_header { | |||
background-color: #1f0827; | |||
border: 1px solid #6e3c80; | |||
} | } |
Revision as of 22:23, 11 April 2023
.t_nav { clear: both; border-radius: 20px; margin: auto; max-width: 800px; text-align: center; } .t_nav .t_nav_header { border-radius: 15px; font-weight: bold; padding: 3px; } .t_nav .t_nav_content { font-size: .9em; } .t_nav ul > li { display: inline; white-space: nowrap; } .t_nav ul > li:before { content: "\00B7\0020"; font-weight: bold; } .t_nav ul > li:first-child:before { content: ""; } body.skin-quantumleap .t_nav { border: 2px solid #6e3c80; background-color: #3c0252; } body.skin-quantumleap .t_nav .t_nav_header { background-color: #1f0827; border: 1px solid #6e3c80; }