MediaWiki:Common.css: Difference between revisions
Jump to navigation
Jump to search
(captcha styling) |
No edit summary |
||
(8 intermediate revisions by 2 users not shown) | |||
Line 3: | Line 3: | ||
/* fix captcha input style */ | /* fix captcha input style */ | ||
/* copied from resources/mediawiki.ui/mediawiki.ui.vector.css */ | /* copied from resources/mediawiki.ui/mediawiki.ui.vector.css */ | ||
.mw-ui-vform div.captcha input { | .mw-ui-vform div.captcha input { | ||
display: block; | |||
-webkit-box-sizing: border-box; | |||
-moz-box-sizing: border-box; | |||
box-sizing: border-box; | |||
margin: 0; | |||
width: 100%; | |||
border-style: solid; | border-style: solid; | ||
border-width: 1px; | border-width: 1px; | ||
Line 9: | Line 16: | ||
color: #252525; | color: #252525; | ||
padding: 0.35em 0 0.35em 0.5em; | padding: 0.35em 0 0.35em 0.5em; | ||
font-size: 1em; | |||
line-height: 1.4em; | |||
} | } | ||
.mw-ui-vform div.captcha input:focus { | |||
box-shadow: #4091ed 0px 0px 5px; | |||
border-color: #4091ed; | |||
outline: 0; | |||
} | |||
.mw-ui-vform div.captcha label { | |||
display: block; | |||
-webkit-box-sizing: border-box; | |||
-moz-box-sizing: border-box; | |||
box-sizing: border-box; | |||
font-size: 0.9em; | |||
color: #4a4a4a; | |||
width: auto; | |||
margin: 0 0 0.2em 0; | |||
padding: 0; | |||
} | |||
/* Funny list item bullets */ | |||
li { | |||
list-style-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAA8AAAAOCAYAAADwikbvAAAABmJLR0QAAAAAAAD5Q7t/AAAACXBIWXMAAAsTAAALEwEAmpwYAAACsklEQVQozy3By2tcVRzA8e+559x755VxJplJY5uQPgQXokKhil2EgooI6qIoglhcunFTKvgHCIILl6IIblrRjaDoRt27sKKN2lBaUczDKJkmM9O5d+7jPH5u/HwUQPXd69hyTnt4jT+2XhqaRlidCcOfb+4Pzz564nSzoReDUx9+/kD/9iudZVr/ZixvvIcqPnqV+lQMc3+u6q09XeT7T9bV9KFJGVp/7t6L19eHqapL55S6vHRibdQxesGUXE3zsTXx5Bt0eP4FpPF+LGE1XV6mcoaGrzh2sitog6iuwaTvKtMNmijS1trww85VVV27dFwPel+qcuUczQE+PqKe3cGbDHoK6XeQVhdlFsGsQHDI7OAXNZ48Z+qDbKOZLj2sJILIE5UVyXyOREeEToLXMRiBpCHEA8TnkE4fdEl03sxu/bOubTNNO4JKRuD3JNS7RMOATtuK+B4iCnykUAoJCaLqVPCnzeGtnSJMq9A9PtGm5QjmANUt0EmPqN1GsEi4Cy6AcwhNgnPifT43473Jr35czfx03Et6ghnWqrmYQAdIGyhqcBWoGYQIVIEr7MQW803jrP4tm2Z3lMsea3YVLYHGmT4SZYRsG4kdQoSKQBTYkFFO6hvlgd3Uz7JQJKa83xb2gsKpEBxR0xMPI6TpRPCICyo4cCFQTou6PCrePnlx40f9WjchRH7PSnjGWhl4h6huUHoJaAtegnJeYR3UuSMbFd/O71bv/P7JVqU/m1csZX68lrLrhCespS+R4HSNF6usd/hIM59Zxn9nN2ej/I37jg22H7lyAw3w1kLMxTP+9uYh12vLahBW6pwknzmK4ELu3OhwP//qcG/65sbL5ze//uA6X2xZFP/7tB/RUIGjSvVbHbkQd3hcD2jrU+yEPt//tcVPZ59qVqNtz4sf1wD8B/4GeIlA8n0UAAAAAElFTkSuQmCC"); | |||
} | |||
#mw-panel ul li{ | |||
list-style-type: none !important; | |||
list-style-image: none!important; | |||
} | |||
#mw-head ul li{ | |||
list-style-type: none !important; | |||
list-style-image: none!important; | |||
} | |||
#toc ul li{ | |||
list-style-type: none !important; | |||
list-style-image: none!important; | |||
} | |||
.search-types ul li { | |||
list-style:none!important; | |||
list-style-image: none!important; | |||
} | |||
/* Resize the logo in the top left */ | |||
.mw-wiki-logo { | |||
background-size: 135px 135px; | |||
} | |||
/* Make page titles big */ | |||
#firstHeading { | |||
margin-right:230px; | |||
text-align:center; | |||
border-bottom:0px!important; | |||
position:relative; | |||
top:13px; | |||
margin-bottom:29px!important; | |||
} | |||
#firstHeading span { | |||
font-family: Tahoma !important; | |||
color:#01183E; | |||
font-size:1.2em; | |||
font-weight:900; | |||
line-height:1.30em; | |||
letter-spacing:.2em; | |||
} | |||
/* Hide most tabs for reading users */ | |||
#ca-nstab-main { display: none !important; } | |||
#ca-talk { display: none !important; } | |||
#ca-view { display: none !important; } | |||
#ca-viewsource { display: none !important; } | |||
#ca-history { display: none !important;} | |||
/* Remove the tools menu in the sidebar */ | |||
#p-tb { display: none; } | |||
/* Center and enlarge sidebar navigation */ | |||
#p-navigation{ | |||
margin-top:6px !important; | |||
margin-left:46px !important; | |||
font-size: 1.35em; | |||
font-weight: 400; | |||
} | |||
#p-navigation ul li { margin-bottom:20px !important; } | |||
/* Remove the footer while keeping a bit of space at the bottom. */ | |||
#footer { display: none; } | |||
#content { margin-bottom: 30px; } |
Latest revision as of 09:35, 31 March 2023
/* CSS placed here will be applied to all skins */ /* fix captcha input style */ /* copied from resources/mediawiki.ui/mediawiki.ui.vector.css */ .mw-ui-vform div.captcha input { display: block; -webkit-box-sizing: border-box; -moz-box-sizing: border-box; box-sizing: border-box; margin: 0; width: 100%; border-style: solid; border-width: 1px; border-color: #c9c9c9; color: #252525; padding: 0.35em 0 0.35em 0.5em; font-size: 1em; line-height: 1.4em; } .mw-ui-vform div.captcha input:focus { box-shadow: #4091ed 0px 0px 5px; border-color: #4091ed; outline: 0; } .mw-ui-vform div.captcha label { display: block; -webkit-box-sizing: border-box; -moz-box-sizing: border-box; box-sizing: border-box; font-size: 0.9em; color: #4a4a4a; width: auto; margin: 0 0 0.2em 0; padding: 0; } /* Funny list item bullets */ li { list-style-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAA8AAAAOCAYAAADwikbvAAAABmJLR0QAAAAAAAD5Q7t/AAAACXBIWXMAAAsTAAALEwEAmpwYAAACsklEQVQozy3By2tcVRzA8e+559x755VxJplJY5uQPgQXokKhil2EgooI6qIoglhcunFTKvgHCIILl6IIblrRjaDoRt27sKKN2lBaUczDKJkmM9O5d+7jPH5u/HwUQPXd69hyTnt4jT+2XhqaRlidCcOfb+4Pzz564nSzoReDUx9+/kD/9iudZVr/ZixvvIcqPnqV+lQMc3+u6q09XeT7T9bV9KFJGVp/7t6L19eHqapL55S6vHRibdQxesGUXE3zsTXx5Bt0eP4FpPF+LGE1XV6mcoaGrzh2sitog6iuwaTvKtMNmijS1trww85VVV27dFwPel+qcuUczQE+PqKe3cGbDHoK6XeQVhdlFsGsQHDI7OAXNZ48Z+qDbKOZLj2sJILIE5UVyXyOREeEToLXMRiBpCHEA8TnkE4fdEl03sxu/bOubTNNO4JKRuD3JNS7RMOATtuK+B4iCnykUAoJCaLqVPCnzeGtnSJMq9A9PtGm5QjmANUt0EmPqN1GsEi4Cy6AcwhNgnPifT43473Jr35czfx03Et6ghnWqrmYQAdIGyhqcBWoGYQIVIEr7MQW803jrP4tm2Z3lMsea3YVLYHGmT4SZYRsG4kdQoSKQBTYkFFO6hvlgd3Uz7JQJKa83xb2gsKpEBxR0xMPI6TpRPCICyo4cCFQTou6PCrePnlx40f9WjchRH7PSnjGWhl4h6huUHoJaAtegnJeYR3UuSMbFd/O71bv/P7JVqU/m1csZX68lrLrhCespS+R4HSNF6usd/hIM59Zxn9nN2ej/I37jg22H7lyAw3w1kLMxTP+9uYh12vLahBW6pwknzmK4ELu3OhwP//qcG/65sbL5ze//uA6X2xZFP/7tB/RUIGjSvVbHbkQd3hcD2jrU+yEPt//tcVPZ59qVqNtz4sf1wD8B/4GeIlA8n0UAAAAAElFTkSuQmCC"); } #mw-panel ul li{ list-style-type: none !important; list-style-image: none!important; } #mw-head ul li{ list-style-type: none !important; list-style-image: none!important; } #toc ul li{ list-style-type: none !important; list-style-image: none!important; } .search-types ul li { list-style:none!important; list-style-image: none!important; } /* Resize the logo in the top left */ .mw-wiki-logo { background-size: 135px 135px; } /* Make page titles big */ #firstHeading { margin-right:230px; text-align:center; border-bottom:0px!important; position:relative; top:13px; margin-bottom:29px!important; } #firstHeading span { font-family: Tahoma !important; color:#01183E; font-size:1.2em; font-weight:900; line-height:1.30em; letter-spacing:.2em; } /* Hide most tabs for reading users */ #ca-nstab-main { display: none !important; } #ca-talk { display: none !important; } #ca-view { display: none !important; } #ca-viewsource { display: none !important; } #ca-history { display: none !important;} /* Remove the tools menu in the sidebar */ #p-tb { display: none; } /* Center and enlarge sidebar navigation */ #p-navigation{ margin-top:6px !important; margin-left:46px !important; font-size: 1.35em; font-weight: 400; } #p-navigation ul li { margin-bottom:20px !important; } /* Remove the footer while keeping a bit of space at the bottom. */ #footer { display: none; } #content { margin-bottom: 30px; }