MediaWiki:Common.css
Revision as of 12:36, 14 March 2023 by IVSWikiBlue (talk | contribs)
/* 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 } :root { --ivsOrange: #ff7a2b; --lightOrange: #ffdcc7; --ivsRed: #e32526; --ivsGrey: #818181; --wikiGrey: #f6f6f6; --darkGrey: #282829; --valtLightOrange: #F68D2D; --valtOrange: #F2682B; --valtYellow: #FFC60B; --valtRed: #E73C30; } #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; font-weight: bold } .min-width-catcher { max-width: 1200px; } body { color: #4A4A4A } img { margin: 20px 0px; } .section { max-width: 120ch; min-width: 20ch; position: relative; background-color: var(--wikiGrey); 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; } .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: 5px; border-radius: 10px; } .basicBold { color: #383838; font-size:120%; font-weight: 600; } .emphasize { color = red; font-weight = 600; } .grid-container { display: grid; 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; } .span-2 { grid-column: auto / span 2; } .align_left{ align-items: left; } .indent { position: relative; left: 20px; } .valt_6_nanual_navigation { font-weight: bolder; font-size: 30px; } .valt_6_nanual_navigation a { text-decoration: none; color: #28282D } .valt_6_nanual_navigation td { padding: 0px 5px; } .valt_6_nanual_navigation img:hover { filter: brightness(1.5); transform: translateX(2px) } .valt_6_nanual_navigation td:hover, .valt_6_nanual_navigation 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: var(--ivsOrange); background-image: linear-gradient(135deg, #e35914, #ff7a2b, #ff7a2b); color: var(--wikiGrey); font-weight: bolder; } .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; } .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 } .gallery_instructions .gallerytext p { position: absolute; top: -450px; max-width: 120ch; min-width: 20ch; background-color: var(--wikiGrey); 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; } .gallery_instructions li.gallerycaption { text-align: left; color: var(--valtRed) } .gallery_instructions { background-color: #FAFAFA; border: solid 1px #0A0A0A; } .gallery_instructions a { width: fit-content; position: relative; top: 50px; }