Difference between revisions of "MediaWiki:Common.css"
IVSWikiBlue (talk | contribs) |
IVSWikiBlue (talk | contribs) |
||
Line 712: | Line 712: | ||
} | } | ||
.permissions_table .lvl_2 { | .permissions_table .lvl_2 { | ||
− | --tableHue: | + | --tableHue: 20; |
} | } | ||
.permissions_table .lvl_1, | .permissions_table .lvl_1, |
Revision as of 14:06, 9 May 2023
/* CSS placed here will be applied to all skins */ @font-face { font-family: lato; src: url(fonts/Lato-Regular.ttf); } @font-face { font-family: montserrat; src: url(fonts/Montserrat-Regular.ttf); } @font-face { font-family: texta; src: url(/var/www/ipivs.info/public_html/wiki/fonts/Texta-Regular.otf); } .texta { font-family: texta; font-size: 22px; color: red } * { font-family: helvetica; scroll-behavior: smooth; } :root { --ivsOrange: #ff7a2b; --lightOrange: #ffdcc7; --ivsRed: #e32526; --ivsGrey: #818181; --wikiGrey: #f6f6f6; --darkGrey: #282829; --valtLightOrange: #F68D2D; --valtOrange: #F2682B; --valtYellow: #FFC60B; --valtRed: #E73C30; --networkTableBorderRadius: 10px; } #mw-panel h3 { font-weight: 600 } .mediawiki div#mw-panel div.portal h3 { font-family: montserrat; color: var(--darkGrey); border-radius: 5px; font-weight: 700; text-transform: uppercase; } .mediawiki div#mw-panel div.portal div.body ul li a:hover, div#mw-panel.collapsible-nav div.portal div.body ul li a:hover { color: var(--ivsOrange); } .mediawiki div#mw-panel div.portal div.body ul li a, div#mw-panel.collapsible-nav div.portal div.body ul li a{ color: var(--ivsGrey); text-decoration: none; font-size:13px; font-family: lato; } .mw-body, .parsoid-body { min-width: fit-content; } .min-width-catcher { max-width: 1200px; } body { color: #4A4A4A } .help { cursor: help; } .aside { --saturation: 95%; --colorBrightness: 46%; --myDarkColor: hsl(var(--hue, 115), var(--saturation), calc(var(--colorBrightness) - 23%)); --myColor: hsl(var(--hue, 115), var(--saturation), var(--colorBrightness)); --myLightColor: hsl(calc(var(--hue, 115) + 4), calc(var(--saturation) + 9%), calc(var(--colorBrightness) + 50%)); border: 1px solid var(--myDarkColor); color: var(--myDarkColor); background-color: var(--myLightColor); vertical-align: middle; padding: 0px 10px; line-height: 1.5; margin: 10px 0px; display: table } .aside b, .aside a:active { color: var(--myColor) } .aside a:link { text-decoration: underline; font-weight: 600 } .aside-item { color: var(--myColor); font-size: 25px; white-space: nowrap; overflow: hidden; } .aside-item, .aside-content { display: table-cell; vertical-align: middle; padding: 0px 5px } img { margin: 20px 0px; } .section { max-width: 120ch; min-width: 20ch; position: relative; background-color: var(--wikiGrey); font-size: 15px; color: #3a3a3a; padding: 15px 70px; border-radius: 5px; box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.2); margin: 20px 10px; } .section b, pre b { color: var(--valtLightOrange); } .section ol, .section ul { padding-left: 0px; margin-left: 0px; line-height: 2; } .section ul ul, .section ol ol { margin-left: 40px; } .section_wire_diagrams { position: relative; background-color: var(--wikiGrey); font-size: 15px; color: var(--ivsGrey); padding: 10px; border-radius: 5px; margin: 20px 10px; box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.2); } code { font-size: .9em; color: #ff7a2b; background-color: #fbfbfb; border: 1px solid #d7d7d7; font-family: Courier New; padding: 2px 3px 2px 3px; border-radius: 2px; font-weight: 600; word-wrap: break-word; word-break: break-all; } code b { color: #00aeee; font-style: italic; } .section code b { color: #00aeee; font-style: italic; } .codeText { font-size: .9em; color: #ff7a2b; border: 1px solid #eaecf0; background-color: #FAFAFA; font-family: Courier New; padding: 0px 4px 0px 4px; border-radius: 5px; font-weight: 600; width: -moz-fit-content; width: fit-content; } .codeText b { color: #00aeee; font-style: italic; } p b { color: var(--ivsOrange); } h1 { color: #818181; font-weight: 600;} #firstHeading { font-family: helvetica; color: #ff7a2b;} h2 { color: #818181; font-weight: 600;} h3 { color: #ff7a2b; font-weight: 600;} h4 { color: #818181; font-weight: 600;} pre { background-color: #FAFAFA; border-radius: 10px;} .expandContent { margin: 8px; outline: solid 1.5px rgba(0, 0, 0, 0.05); border-radius: 5px; box-shadow: 0 3px 5px 0 rgba(0, 0, 0, 0.05); } .expandedSection { margin: 15px 0px; outline: solid 1.5px rgba(0, 0, 0, 0.05); border-radius: 5px; box-shadow: 0 3px 5px 0 rgba(0, 0, 0, 0.05); line-height: 26px; word-spacing: 3px; } .expandedSection h1, .expandedSection h2, .expandedSection h3 { margin-top: 0px; border-bottom: none; font-size: 1.5em; color: #202124; } .expandedSection dt { color: var(--valtOrange) } .expandedSection img { display: block; margin-left: auto; margin-right: auto; } .expandedSection hr { margin: 20px 0px } .basicBold { color: #383838; font-size:120%; font-weight: 600; } .emphasize { color = red; font-weight = 600; } .grid-container { display: flex; flex-wrap: wrap; padding: 5px; } .grid-2 { grid-template-columns: auto auto; } .grid-2-img { grid-template-columns: repeat(auto-fill, minmax(480px, 480px)); } .grid-3 { grid-template-columns: auto auto auto; } .grid-item { padding: 5px; min-width: 200px; } .span-2 { grid-column: auto / span 2; } .align_left{ align-items: left; } .indent { position: relative; left: 20px; } .valt_6_manual_navigation { font-weight: bolder; font-size: 30px; } .buttons_table a { padding-left: 20px; font-size: 20px; } .valt_6_manual_navigation a, .buttons_table a { text-decoration: none; color: #28282D } .valt_6_manual_navigation td, .buttons_table td { padding: 0px 5px; } .valt_6_manual_navigation img:hover, .buttons_table img:hover { filter: brightness(1.5); transform: translateX(2px) } .valt_6_manual_navigation td:hover, .buttons_table td:hover, .valt_6_manual_navigation a:hover, .buttons_table a:hover { color: var(--ivsGrey); } .note { left: 40px; position: relative; background-color: var(--wikiGrey); font-size: 15px; color: var(--ivsGrey); padding: 10px 20px; border-radius: 5px; } .note::before { content: ""; position: absolute; top: 0; left: 0; width:10px; height: 100%; background-color: var(--ivsOrange); border-radius: 5px 0px 0px 5px; } .floating_card { position: relative; left: 20px; padding: 10px 30px; box-shadow: 0px 2px 5px rgb(0, 0, 0, .2); background-color: var(--wikiGrey); border-radius: 5px; max-width: 800px; margin: 20px 0px; } .floating_card ul, .floating_card ol { margin-left: 40px; } .fit_height { height: fit-content; } .floating_card::before { content: ""; position: absolute; top: 0; left: 0; width: 15px; height: 100%; border-radius: 5px 0px 0px 5px; } .floating_card b { color: var(--ivsOrange) } .floating_card::before { background-color: var(--ivsOrange); } .custom_table { border: solid 1px rgb(0, 0, 0, .1); background-color: rgb(0, 0, 0, .1); text-align: center; padding: 10px; border-radius: 10px; box-shadow: 0px 2px 5px rgb(0, 0, 0, .2); } .custom_table th { color: var(--ivsOrange); } .custom_table td, .custom_table th { background-color: var(--wikiGrey); border: solid 1px rgb(0, 0, 0, .1); padding: 10px; border-radius: 5px } .picture_list{ list-style-type: none; } .picture_list li { counter-increment: step-counter; margin-bottom: 20px; } .picture_list li::before { font-family: lato; position: relative; top: 5px; right: 40px; content: counter(step-counter); margin-right: -32px; font-size: 80%; background-color: white; color: black; font-weight: 900; padding: 3px 8px; border: solid 3px #0c54fc; } .server_information_table { padding: 20px; text-align: center; background-color: var(--wikiGrey); box-shadow: 0px 2px 5px rgb(0, 0, 0, .3); border-radius: 5px; } .server_information_table td:nth-child(1), .server_information_table th { background-color: grey; background-image: linear-gradient(135deg, #232424 , #484a4a, #484a4a, #6d7070); color: var(--wikiGrey); font-weight: bolder; } .server_information_table .red th { background-color: grey; /* For browsers that do not support gradients */ background-image: linear-gradient(135deg, #7e191c, #da291c); } .server_information_table .orange td, .server_information_table .orange th { background-color: var(--ivsOrange); background-image: linear-gradient(135deg, #e35914, #ff7a2b, #ff7a2b); } .server_information_table td, .server_information_table th { padding: 5px 20px; border-radius: 10px; height: 50px; border: solid 5px var(--wikiGrey) } .server_information_table tr:nth-child(odd) { background-color: var(--lightOrange) } .server_information_table tr:nth-child(even) { background-color: white } .server_information_table th { position: sticky; top: 0; } .server_information_table tr:nth-child(2) { position: sticky; top: 70px; background-color: white; z-index: 1; } .camera_information_table td { padding: 10px; font-size: 12px } .camera_information_table img{ transition:transform 0.1 ease-in; } .camera_information_table img:hover{ transform:scale(1.1); } .keyBoardkey { box-sizing: border-box; background-color: #e9e9e9; border: 1px solid rgba(0, 0, 0, 0.3); border-radius: 5px; font-size: 9px; text-align: center; padding: 5px; box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.05); } .simple_table { border: solid 1px rgb(0, 0, 0, .1); background-color: rgb(0, 0, 0, .1); text-align: center; padding: 10px; border-radius: 10px; box-shadow: 0px 2px 5px rgb(0, 0, 0, .2); } .simple_table th { color: var(--ivsOrange); } .simple_table td, .simple_table th { background-color: var(--wikiGrey); border: solid 1px rgb(0, 0, 0, .1); padding: 10px; border-radius: 5px } table img { margin: 0px; } .gallery_instructions { border: solid 1px #A7D7F9; border-radius: 10px; background-color: #F6F6F6 } .gallery_instructions .gallerycarousel { padding: 20px; } .gallery_instructions { margin: 1em !important; } .gallery_instructions .gallerytext p { position: absolute; max-width: 120ch; min-width: 20ch; background-color: white; font-size: 15px; color: var(--ivsGrey); padding: 15px 70px; border-radius: 5px; box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.2); margin: 20px 10px; top: -580px; } .gallery_instructions li.gallerycaption, .gallery_instructions ul.gallery.mw-gallery-slideshow .mw-gallery-slideshow-buttons { text-align: left; color: var(--valtRed); } .gallery_instructions mw-gallery-slideshow-img-container a, .gallery_instructions oo-ui-panelLayout { width: fit-content; top: 50px; } .gallery_instructions li.gallerycarousel { text-align: left !important; position: relative; } .gallery_instructions .oo-ui-panelLayout-scrollable { overflow: visible; height: 700px; } .gallery_instructions img { position: relative; top: 100px; } .gallery_instructions .image img { position: relative; top: 0px; } .code_1 { color: #F16363 } .code_2 { color: #F1AA63 } .code_3, .code_file { color: #F1F163 } .code_4, .code_source, .code_filepath { color: #AAF163 } .code_5 { color: #63F163 } .code_6, .code_destination { color: #63F1AA } .code_7, .code_regex { color: #63F1F1 } .code_8, .code_ip { color: #63AAF1 } .code_9 { color: #6363F1 } .code_10, .code_pipe { color: #AA63F1 } .code_11 { color: #F163F1 } .code_12, .code_option { color: #F163AA } .keepCodeBlockTogether { } .newCodeBlock { font-family: Courier New !important; } .article .newCodeBlock p, .newCodeBlock, .newCodeBlock_before { max-width: 600px; } .article .newCodeBlock p, .newCodeBlock { margin: 0px; background-color: black; color: white; font-size: 14px; border-radius: 2px 2px 6px 6px; padding: 5px 8px; } .newCodeBlock_small { font-family: Courier New !important; width: fit-content; margin: 0px; background-color: black; color: white; font-size: 14px; border-radius: 6px; padding: 3px 8px; } .newCodeBlock_before { margin-top: 10px; background-color: #E73C30; color: white; border-radius: 6px 6px 2px 2px; padding: 1px 8px; } .newCodeBlock b { color: #FFC60B; } .newCodeBlock a.external { color: #44B8EC; } .buttons_table { background-color: var(--wikiGrey); padding: 10px; border-radius: 5px; box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.2); margin: 20px 10px } .buttons_table td { min-width: 400px } .table_width td { min-width: 120ch; } .network_ports_table { margin: 30px 0px; width: 1200px; border-spacing: 0px; border: 1px solid var(--darkGrey); border-radius: var(--networkTableBorderRadius); text-align: center } .network_ports_table td { padding: 10px 50px; } .network_ports_table tr:nth-child(odd) { background-color: var(--wikiGrey); } .network_ports_table tr:first-child, .network_ports_table th { background-color: var(--darkGrey); color: white } .network_ports_table caption { font-size: 20px; font-weight: bolder; color: var(--ivsOrange) } .network_ports_table tr:first-child th:first-child { border-top-left-radius: var(--networkTableBorderRadius) } .network_ports_table tr:first-child th:last-child { border-top-right-radius: var(--networkTableBorderRadius) } .network_ports_table tr:last-child td:first-child { border-bottom-left-radius: var(--networkTableBorderRadius) } .network_ports_table tr:last-child td:last-child { border-bottom-right-radius: var(--networkTableBorderRadius) } .permissions_table { --brightness: 46%; --sat: 95%; border: solid 1px rgb(0, 0, 0, .1); background-color: rgb(0, 0, 0, .1); text-align: center; padding: 10px; border-radius: 10px; box-shadow: 0px 2px 5px rgb(0, 0, 0, .2); background-color: var(--wikiGrey); } .permissions_table .blank { border: none; width: 10px; background-color: var(--wikiGrey) } .permissions_table th { color: white; background-color: #202124 } .permissions_table td, .permissions_table th { border: solid 1px rgb(0, 0, 0, .1); padding: 10px; border-radius: 5px } .permissions_table .permission { color: white; font-weight: bold; } .permissions_table .description, .permissions_table .permission { text-align: left } .permissions_table .lvl_1 { --tableHue: 30; } .permissions_table .lvl_2 { --tableHue: 20; } .permissions_table .lvl_1, .permissions_table .lvl_2 { --tableColor: hsl(var(--tableHue, 115), var(--sat), var(--brightness)); --tableLightColor: hsl(calc(var(--tableHue, 115) + 4), calc(var(--sat) + 9%), calc(var(--brightness) + 50%)); background-color: var(--tableLightColor) } .permissions_table .lvl_1 .permission, .permissions_table .lvl_2 .permission { background-color: var(--tableColor) }