MediaWiki:Common.css: Difference between revisions
Jump to navigation
Jump to search
(hm) |
mNo edit summary |
||
(27 intermediate revisions by 2 users not shown) | |||
Line 10: | Line 10: | ||
.navbox { | .navbox { | ||
background:#BAF0A5; | background-color:#BAF0A5; | ||
border-top:solid 2px #BAF0A5; | border-top:solid 2px #BAF0A5; | ||
border-left:solid 2px #BAF0A5; | border-left:solid 2px #BAF0A5; | ||
border-radius:1em; | border-radius:1em; | ||
box-shadow: 5px 5px 5px #777; | box-shadow: 5px 5px 5px #777; | ||
} | |||
/* Indented navbox formatting: slightly lighter green, round, and sunken. No other operators. */ | |||
.indbox { | |||
background-color:#E2FFCD; | |||
border-radius:1em; | |||
width:95%; | |||
margin:auto; | |||
border:solid 2px #CEFFB9; | |||
box-shadow:inset 2px 2px 8px #CEFFB9; | |||
} | |||
/*Standard infobox formatting: rounded black borders. No other operators.*/ | |||
.info { | |||
text-align: center; | |||
font-size: 85%; | |||
border-collapse: separate; | |||
border-spacing: 5; | |||
border-width: 2px; | |||
border-style: solid; | |||
border-color: #000; | |||
border-radius: 10px; | |||
-moz-border-radius: 10px; | |||
-webkit-border-radius: 10px; | |||
-khtml-border-radius: 10px; | |||
-icab-border-radius: 10px; | |||
-o-border-radius: 10px; | |||
} | |||
/*Citspace outer box formatting*/ | |||
.citout { | |||
background-color:#FAEBD7; | |||
border-top:solid 2px #FAEBD7; | |||
border-left:solid 2px #FAEBD7; | |||
border-radius:1em; | |||
padding: 1em; | |||
box-shadow: 5px 5px 5px #777; | |||
} | |||
/*Citspace header box formatting*/ | |||
.cithead { | |||
background-color:#fae6c2; | |||
border-radius:1em; | |||
padding:0.5em; | |||
margin:auto; | |||
border:solid 2px #FDF5E6; | |||
box-shadow:inset 2px 2px 8px #FAF0E6; | |||
} | |||
/*Citspace indented box formatting*/ | |||
.citin { | |||
background-color:#FDF5E6; | |||
border-radius:1em; | |||
padding:0.5em; | |||
margin:auto; | |||
border:solid 2px #FDF5E6; | |||
box-shadow:inset 2px 2px 8px #FAF0E6 | |||
} | |||
/*Chancery boxes*/ | |||
.chanc { | |||
background-color:white; | |||
border-radius:1em; | |||
padding:.5em; | |||
margin:auto; | |||
border:solid 10px #F0E68C; | |||
box-shadow:5px 5px 5px #ccc; | |||
} | |||
/* Removes underlines from certain links for IPA*/ | |||
.nounderlines a, | |||
.IPA a:link, .IPA a:visited { | |||
text-decoration: none !important; | |||
} | |||
/* Prevent line breaks in silly places: | |||
1) Where desired | |||
2) Links when we don't want them to | |||
3) Bold "links" to the page itself | |||
4) Ref tags with group names <ref group="Note"> --> "[Note 1]" */ | |||
.nowrap, | |||
.nowraplinks a, | |||
.nowraplinks .selflink, | |||
sup.reference a { | |||
white-space: nowrap; | |||
} | |||
/* But allow wrapping where desired: */ | |||
.wrap, | |||
.wraplinks a { | |||
white-space: normal; | |||
} | } |
Latest revision as of 02:18, 8 October 2014
/* [[Template:Hatnote]] */ .hatnote { font-style: italic; padding-left: 2em; margin-bottom: 0.5em; } /* Standard navbox formatting: green, round, and shadowed. No other operators. */ .navbox { background-color:#BAF0A5; border-top:solid 2px #BAF0A5; border-left:solid 2px #BAF0A5; border-radius:1em; box-shadow: 5px 5px 5px #777; } /* Indented navbox formatting: slightly lighter green, round, and sunken. No other operators. */ .indbox { background-color:#E2FFCD; border-radius:1em; width:95%; margin:auto; border:solid 2px #CEFFB9; box-shadow:inset 2px 2px 8px #CEFFB9; } /*Standard infobox formatting: rounded black borders. No other operators.*/ .info { text-align: center; font-size: 85%; border-collapse: separate; border-spacing: 5; border-width: 2px; border-style: solid; border-color: #000; border-radius: 10px; -moz-border-radius: 10px; -webkit-border-radius: 10px; -khtml-border-radius: 10px; -icab-border-radius: 10px; -o-border-radius: 10px; } /*Citspace outer box formatting*/ .citout { background-color:#FAEBD7; border-top:solid 2px #FAEBD7; border-left:solid 2px #FAEBD7; border-radius:1em; padding: 1em; box-shadow: 5px 5px 5px #777; } /*Citspace header box formatting*/ .cithead { background-color:#fae6c2; border-radius:1em; padding:0.5em; margin:auto; border:solid 2px #FDF5E6; box-shadow:inset 2px 2px 8px #FAF0E6; } /*Citspace indented box formatting*/ .citin { background-color:#FDF5E6; border-radius:1em; padding:0.5em; margin:auto; border:solid 2px #FDF5E6; box-shadow:inset 2px 2px 8px #FAF0E6 } /*Chancery boxes*/ .chanc { background-color:white; border-radius:1em; padding:.5em; margin:auto; border:solid 10px #F0E68C; box-shadow:5px 5px 5px #ccc; } /* Removes underlines from certain links for IPA*/ .nounderlines a, .IPA a:link, .IPA a:visited { text-decoration: none !important; } /* Prevent line breaks in silly places: 1) Where desired 2) Links when we don't want them to 3) Bold "links" to the page itself 4) Ref tags with group names <ref group="Note"> --> "[Note 1]" */ .nowrap, .nowraplinks a, .nowraplinks .selflink, sup.reference a { white-space: nowrap; } /* But allow wrapping where desired: */ .wrap, .wraplinks a { white-space: normal; }