imported>Catweird |
imported>Catweird |
Строка 1: |
Строка 1: |
| /* Gentoo Wiki custom css.
| | .oo-ui-inputWidget-input, oo-ui-buttonElement-button { |
| Talk to a3li before changing anything here, please. */
| | border-radius: 15px; |
| | |
| a:visited,
| |
| .mw-body a.external:visited {
| |
| color: #7E307E;
| |
| }
| |
| | |
| .cmd-box a, .cmd-box a.external, .cmd-box a.external:visited {
| |
| color: white !important;
| |
| }
| |
| | |
| a.list-group-item:visited {
| |
| color: #555;
| |
| }
| |
| | |
| /* TODO: Find template that needed this to be white. USEFlag?
| |
| .mw-collapsible-toggle a:link {
| |
| color: white;
| |
| }*/
| |
| | |
| .testcasehack p {
| |
| line-height: 0;
| |
| padding: 0;
| |
| margin: 0;
| |
| }
| |
| | |
| .testcasehack p code {
| |
| border: none; | |
| background: none;
| |
| line-height: 0;
| |
| }
| |
| | |
| /* field trial! */
| |
| .mw-body h2 {
| |
| border-bottom: 1px solid #e1e1e1;
| |
| }
| |
| | |
| /* Code highlighting */
| |
| .mw-code {
| |
| border: none;
| |
| padding: 1px;
| |
| background: none;
| |
| font-size: 1.2em;
| |
| }
| |
| | |
| /* HACK!
| |
| pre pre {
| |
| font-size: .8em;
| |
| padding: 0;
| |
| }*/
| |
| | |
| /* Message Boxes (new) */
| |
| .gw-msgbox, .gw-contentbox {
| |
| padding: 3px;
| |
| margin-top: .5em;
| |
| margin-bottom: .5em;
| |
| }
| |
| | |
| .gw-msgbox .gw-msgbox-title {
| |
| margin-top: -3px;
| |
| margin-left: -3px;
| |
| display: table-row;
| |
| float: left;
| |
| padding: 3px;
| |
| margin-right: 3px;
| |
| font-weight: bold;
| |
| }
| |
| | |
| .gw-msgbox .gw-msgbox-content {
| |
| display: table-row;
| |
| }
| |
| | |
| /* Content Boxes (new) */
| |
| .gw-contentbox {
| |
| padding-top: 0;
| |
| }
| |
| | |
| .gw-contentbox .gw-contentbox-title {
| |
| /** margin-top: -.3em; old **/
| |
| margin-top: 0;
| |
| margin-left: -3px;
| |
| display: table-row;
| |
| padding: 3px;
| |
| padding-top: 1px; /** new **/
| |
| padding-left: 0;
| |
| float: left;
| |
| }
| |
| | |
| .gw-contentbox .gw-contentbox-title1 {
| |
| padding: 3px;
| |
| font-weight: bold;
| |
| }
| |
| | |
| .gw-contentbox .gw-contentbox-subtitle {
| |
| padding: 3px;
| |
| font-weight: bold;
| |
| }
| |
| | |
| .gw-contentbox .gw-contentbox-description {
| |
| padding: 3px;
| |
| font-weight: bold;
| |
| }
| |
| | |
| .gw-contentbox .gw-contentbox-rightmsg {
| |
| float: right;
| |
| margin-top: -3px;
| |
| margin-right: -3px;
| |
| padding: 3px;
| |
| }
| |
| | |
| .gw-contentbox .gw-contentbox-content {
| |
| clear: both;
| |
| padding-top: 3px;
| |
| } | | } |
|
| |
|
| .gw-contentbox-content pre, .gw-cmdbox pre { | | .thumbimage { |
| border: none;
| | border-radius: 10px; |
| background: none;
| |
| margin: 0;
| |
| } | | } |
| | | .thumbinner { |
| /* Notice/Warning/File/Kernel Boxes (old)
| | background-color: #dedede; |
| Hybrid boxes are usable for one-line as well as multi-line content.
| | border-radius: 15px; |
| To achieve that, the title box has position: absolute so that all text flows around it.
| | color: #000; |
| You have to manually add padding for the first line. Got a better solution? Let a3li know.
| |
| */
| |
| .OLDgw-box, .gw-hybrid-box {
| |
| margin-top: .5em;
| |
| margin-bottom: .5em;
| |
| background-color: #f3f3f3;
| |
| } | | } |
|
| |
|
| .gw-hybrid-box { | | .p { |
| padding: .3em;
| | font-family: 'Roboto', sans-serif; |
| } | | } |
|
| |
|
| .OLDgw-box pre, .gw-hybrid-box pre { | | .toc { |
| border: none;
| | background-color: #dedede; |
| background: none;
| | border-radius: 15px; |
| margin: 0;
| | color: #000; |
| padding: 0;
| |
| } | | } |
|
| |
|
| .gw-box-show-pre pre { | | .mw-code, mw-css, pre { |
| border: 1px solid silver !important;
| | background-color: #dedede; |
| background-color: white !important;
| | border-radius: 15px; |
| | color: #000; |
| | font-family: 'Iosevka Web' |
| } | | } |
|
| |
|
| .OLDgw-box .gw-box-title { | | @import url('https://fonts.googleapis.com/css2?family=Roboto&display=swap'); |
| padding: .3em;
| |
| font-weight: bold;
| |
| color: white;
| |
| }
| |
|
| |
|
| .gw-hybrid-box .gw-box-title {
| | @font-face { |
| padding: .3em;
| | font-family: 'Iosevka Web'; |
| font-weight: bold;
| | font-display: swap; |
| color: white;
| | font-weight: 400; |
| display: inline-block;
| | font-stretch: normal; |
| float: left;
| | font-style: normal; |
| margin: -.3em .3em 0 -.3em;
| | src: url('https://pvinis.github.io/iosevka-webfont/3.4.1/woff2/iosevka-regular.woff2') format('woff2'), url('woff/iosevka-regular.woff') format('woff'), url('ttf/iosevka-regular.ttf') format('truetype'); |
| position: absolute;
| |
| } | | } |
|
| |
| .OLDgw-box .gw-box-content {
| |
| }
| |
|
| |
| .client-js .noscript { display: none; }
| |