MediaWiki:Common.css: Difference between revisions
No edit summary |
CSSO optimizations |
||
Line 2: | Line 2: | ||
* CSS in this file will be used project-wide in all skins. | * CSS in this file will be used project-wide in all skins. | ||
* | * | ||
* This file @generated 2024-06- | * This file @generated 2024-06-25 05:12:56.094600+00:00 from src/scss/common.scss. | ||
*/ | */ | ||
div.inline-infobox { | div.inline-infobox { | ||
Line 15: | Line 15: | ||
background: #fc5; | background: #fc5; | ||
} | } | ||
span.boothbutton a.external, | |||
span.steambutton a.external { | span.steambutton a.external { | ||
color: #ccc !important | color: #ccc!important; | ||
padding: .25em .25em .25em 22px; | |||
padding: .25em | |||
background-position: center left; | background-position: center left; | ||
background-image: url( | background-image: url(https://vrwiki.nexisonline.net/w/images/8/83/Steam_icon_logo.svg); | ||
background-size: 16px; | background-size: 16px; | ||
background-position-x: 3px; | background-position-x: 3px; | ||
Line 27: | Line 26: | ||
} | } | ||
span.boothbutton a.external { | span.boothbutton a.external { | ||
color: #fff !important | color: #fff!important; | ||
background-image: url(https://vrwiki.nexisonline.net/w/images/5/52/Booth_camel.svg); | |||
background-image: url( | |||
background-color: #fc4d50; | background-color: #fc4d50; | ||
} | |||
div#mainpage-newbie-box, | |||
div.gamelist div.mainpage-gamelist-tile { | |||
border: 1px solid #cfcfcf; | |||
align-items: center; | |||
justify-content: center; | |||
} | } | ||
div#mainpage-newbie-box { | div#mainpage-newbie-box { | ||
background: #fcfcfc; | background: #fcfcfc; | ||
display: flex; | display: flex; | ||
flex-direction: row; | flex-direction: row; | ||
} | } | ||
div#mainpage-contrib-box { | div#mainpage-contrib-box { | ||
Line 51: | Line 47: | ||
} | } | ||
div#mainpage-contrib-box ul { | div#mainpage-contrib-box ul { | ||
justify-content: center; | justify-content: center; | ||
align-items: center; | align-items: center; | ||
} | } | ||
div#mainpage-contrib-box ul li { | div#mainpage-contrib-box ul li { | ||
Line 66: | Line 59: | ||
color: #36c; | color: #36c; | ||
} | } | ||
div#mainpage-contrib-box ul, | |||
div.gamelist { | div.gamelist { | ||
display: flex; | display: flex; | ||
Line 73: | Line 67: | ||
div.gamelist div.mainpage-gamelist-tile { | div.gamelist div.mainpage-gamelist-tile { | ||
display: inline-block; | display: inline-block; | ||
border-radius: 1em; | border-radius: 1em; | ||
margin: 1em; | margin: 1em; | ||
overflow: clip; | overflow: clip; | ||
position: relative; | position: relative; | ||
padding: 0; | padding: 0; | ||
Line 127: | Line 118: | ||
align-items: center; | align-items: center; | ||
margin: 0; | margin: 0; | ||
width: 100%; | width: 100%; | ||
background: rgba(0,0,0,.5); | background: rgba(0,0,0,.5); | ||
Line 139: | Line 128: | ||
} | } | ||
div.gamelist div.mainpage-gamelist-tile div.support span.desktop { | div.gamelist div.mainpage-gamelist-tile div.support span.desktop { | ||
content: url( | content: url(https://vrwiki.nexisonline.net/w/images/2/21/DesktopSupportIcon.svg); | ||
} | } | ||
div.gamelist div.mainpage-gamelist-tile div.support span.quest { | div.gamelist div.mainpage-gamelist-tile div.support span.quest { | ||
content: url( | content: url(https://vrwiki.nexisonline.net/w/images/b/be/QuestSupportIcon.svg); | ||
} | } | ||
div.gamelist div.mainpage-gamelist-tile div.support span.index { | div.gamelist div.mainpage-gamelist-tile div.support span.index { | ||
content: url( | content: url(https://vrwiki.nexisonline.net/w/images/5/58/IndexSupportIcon.svg); | ||
} | } | ||
div.gamelist div.mainpage-gamelist-tile div.support span.wmr { | div.gamelist div.mainpage-gamelist-tile div.support span.wmr { | ||
content: url( | content: url(https://vrwiki.nexisonline.net/w/images/e/e2/WMRSupportIcon.svg); | ||
} | } | ||
div.gamelist div.mainpage-gamelist-tile div.support span.vive { | div.gamelist div.mainpage-gamelist-tile div.support span.vive { | ||
content: url( | content: url(https://vrwiki.nexisonline.net/w/images/2/2b/ViveSupportIcon.svg); | ||
} | } | ||
div.gamelist div.mainpage-gamelist-tile div.support span.fbt { | div.gamelist div.mainpage-gamelist-tile div.support span.fbt { | ||
content: url( | content: url(https://vrwiki.nexisonline.net/w/images/4/4a/FBTSupportIcon.svg); | ||
} | } | ||
div.gamelist div.mainpage-gamelist-tile#tile-vrchat a { | div.gamelist div.mainpage-gamelist-tile#tile-vrchat a { | ||
background-size: cover; | background-size: cover; | ||
background-image: url( | background-image: url(https://vrwiki.nexisonline.net/w/images/6/6d/VRChatTile.png); | ||
} | } | ||
div.gamelist div.mainpage-gamelist-tile#tile-pavlov a { | div.gamelist div.mainpage-gamelist-tile#tile-pavlov a { | ||
background-size: cover; | background-size: cover; | ||
background-image: url( | background-image: url(https://vrwiki.nexisonline.net/w/images/0/03/PavlovTile.jpg); | ||
} | } | ||
div.gamelist div.mainpage-gamelist-tile#tile-cvr a { | div.gamelist div.mainpage-gamelist-tile#tile-cvr a { | ||
background-position-y: top; | background-position-y: top; | ||
background-image: url( | background-image: url(https://vrwiki.nexisonline.net/w/images/7/7e/CVRTile.png); | ||
} | } | ||
div.gamelist div.mainpage-gamelist-tile#tile-bonelab a { | div.gamelist div.mainpage-gamelist-tile#tile-bonelab a { | ||
background-size: cover; | background-size: cover; | ||
background-image: url( | background-image: url(https://vrwiki.nexisonline.net/w/images/6/69/BONELABTile.jpg); | ||
} | } | ||
div.gamelist div.mainpage-gamelist-tile#tile-resonite a { | div.gamelist div.mainpage-gamelist-tile#tile-resonite a { | ||
background-position-y: top; | background-position-y: top; | ||
background-image: url( | background-image: url(https://vrwiki.nexisonline.net/w/images/3/30/ResoniteTile.png); | ||
} | } | ||
div.gamelist div.mainpage-gamelist-tile#tile-contractors a { | div.gamelist div.mainpage-gamelist-tile#tile-contractors a { | ||
background-position-y: top; | background-position-y: top; | ||
background-image: url( | background-image: url(https://vrwiki.nexisonline.net/w/images/4/43/ContractorsTile.jpg); | ||
} | } | ||
div.gamelist div.mainpage-gamelist-tile#tile-payday-2-vr a { | div.gamelist div.mainpage-gamelist-tile#tile-payday-2-vr a { | ||
background-position-y: top; | background-position-y: top; | ||
background-image: url( | background-image: url(https://vrwiki.nexisonline.net/w/images/7/71/Payday2VR.png); | ||
} | } | ||
div.gamelist div.mainpage-gamelist-tile#tile-vox-machinae a { | div.gamelist div.mainpage-gamelist-tile#tile-vox-machinae a { | ||
background-position-y: top; | background-position-y: top; | ||
background-image: url( | background-image: url(https://vrwiki.nexisonline.net/w/images/c/c5/VoxMachinaeGrid.png); | ||
} | } | ||
div.gamelist div.mainpage-gamelist-tile#tile-hl-alyx a { | div.gamelist div.mainpage-gamelist-tile#tile-hl-alyx a { | ||
background-position-y: top; | background-position-y: top; | ||
background-image: url( | background-image: url(https://vrwiki.nexisonline.net/w/images/5/5d/HalfLifeAlyxGrid.jpg); | ||
} | } | ||
div.gamelist div.mainpage-gamelist-tile#tile-superhot a { | div.gamelist div.mainpage-gamelist-tile#tile-superhot a { | ||
background-position-y: top; | background-position-y: top; | ||
background-image: url( | background-image: url(https://vrwiki.nexisonline.net/w/images/b/b1/SUPERHOTGrid.png); | ||
} | } | ||
div.gamelist div.mainpage-gamelist-tile#tile-boneworks a { | div.gamelist div.mainpage-gamelist-tile#tile-boneworks a { | ||
background-position-y: top; | background-position-y: top; | ||
background-image: url( | background-image: url(https://vrwiki.nexisonline.net/w/images/3/31/BONEWORKSGrid.png); | ||
} | } | ||
div.gamelist div.mainpage-gamelist-tile#tile-vertigo-2 a { | div.gamelist div.mainpage-gamelist-tile#tile-vertigo-2 a { | ||
background-position-y: top; | background-position-y: top; | ||
background-image: url( | background-image: url(https://vrwiki.nexisonline.net/w/images/6/6c/Vertigo2Tile.jpg); | ||
} | } |
Revision as of 05:15, 25 June 2024
/** * CSS in this file will be used project-wide in all skins. * * This file @generated 2024-06-25 05:12:56.094600+00:00 from src/scss/common.scss. */ div.inline-infobox { margin: .5em; padding: .5em; border-radius: .25em; } div.inline-infobox.note { background: #eee; } div.inline-infobox.wwarning { background: #fc5; } span.boothbutton a.external, span.steambutton a.external { color: #ccc!important; padding: .25em .25em .25em 22px; background-position: center left; background-image: url(https://vrwiki.nexisonline.net/w/images/8/83/Steam_icon_logo.svg); background-size: 16px; background-position-x: 3px; background-color: #171a21; } span.boothbutton a.external { color: #fff!important; background-image: url(https://vrwiki.nexisonline.net/w/images/5/52/Booth_camel.svg); background-color: #fc4d50; } div#mainpage-newbie-box, div.gamelist div.mainpage-gamelist-tile { border: 1px solid #cfcfcf; align-items: center; justify-content: center; } div#mainpage-newbie-box { background: #fcfcfc; display: flex; flex-direction: row; } div#mainpage-contrib-box { background: #fcfcfc; border: 1px solid #cfcfcf; margin-top: 1em; } div#mainpage-contrib-box ul { justify-content: center; align-items: center; } div#mainpage-contrib-box ul li { list-style: none; display: block; flex-flow: 1; margin: .5em; } div#mainpage-contrib-box ul li a { color: #36c; } div#mainpage-contrib-box ul, div.gamelist { display: flex; flex-direction: row; flex-wrap: wrap; } div.gamelist div.mainpage-gamelist-tile { display: inline-block; border-radius: 1em; margin: 1em; overflow: clip; position: relative; padding: 0; } div.gamelist div.mainpage-gamelist-tile p { margin: 0; padding: 0; } div.gamelist div.mainpage-gamelist-tile a { display: block; font-size: 0; height: 150px; width: 267px; background: #fcfcfc no-repeat center; background-size: cover; margin: 0; padding: 0; float: left; } div.gamelist div.mainpage-gamelist-tile div.corner { position: absolute; right: 0; top: 0; display: block; margin: 0; padding: .25em; font-size: x-small; } div.gamelist div.mainpage-gamelist-tile div.corner.free { background: #79bf22; color: #000; } div.gamelist div.mainpage-gamelist-tile div.corner.freeplus { background: #b2bf22; color: #000; } div.gamelist div.mainpage-gamelist-tile div.corner.price { background: #ffc800; color: #000; } div.gamelist div.mainpage-gamelist-tile div.support { position: absolute; right: 0; bottom: 0; display: flex; flex-direction: row; justify-content: right; align-items: center; margin: 0; width: 100%; background: rgba(0,0,0,.5); padding: .25em; font-size: x-small; height: 22px; } div.gamelist div.mainpage-gamelist-tile div.support span { height: 22px; } div.gamelist div.mainpage-gamelist-tile div.support span.desktop { content: url(https://vrwiki.nexisonline.net/w/images/2/21/DesktopSupportIcon.svg); } div.gamelist div.mainpage-gamelist-tile div.support span.quest { content: url(https://vrwiki.nexisonline.net/w/images/b/be/QuestSupportIcon.svg); } div.gamelist div.mainpage-gamelist-tile div.support span.index { content: url(https://vrwiki.nexisonline.net/w/images/5/58/IndexSupportIcon.svg); } div.gamelist div.mainpage-gamelist-tile div.support span.wmr { content: url(https://vrwiki.nexisonline.net/w/images/e/e2/WMRSupportIcon.svg); } div.gamelist div.mainpage-gamelist-tile div.support span.vive { content: url(https://vrwiki.nexisonline.net/w/images/2/2b/ViveSupportIcon.svg); } div.gamelist div.mainpage-gamelist-tile div.support span.fbt { content: url(https://vrwiki.nexisonline.net/w/images/4/4a/FBTSupportIcon.svg); } div.gamelist div.mainpage-gamelist-tile#tile-vrchat a { background-size: cover; background-image: url(https://vrwiki.nexisonline.net/w/images/6/6d/VRChatTile.png); } div.gamelist div.mainpage-gamelist-tile#tile-pavlov a { background-size: cover; background-image: url(https://vrwiki.nexisonline.net/w/images/0/03/PavlovTile.jpg); } div.gamelist div.mainpage-gamelist-tile#tile-cvr a { background-position-y: top; background-image: url(https://vrwiki.nexisonline.net/w/images/7/7e/CVRTile.png); } div.gamelist div.mainpage-gamelist-tile#tile-bonelab a { background-size: cover; background-image: url(https://vrwiki.nexisonline.net/w/images/6/69/BONELABTile.jpg); } div.gamelist div.mainpage-gamelist-tile#tile-resonite a { background-position-y: top; background-image: url(https://vrwiki.nexisonline.net/w/images/3/30/ResoniteTile.png); } div.gamelist div.mainpage-gamelist-tile#tile-contractors a { background-position-y: top; background-image: url(https://vrwiki.nexisonline.net/w/images/4/43/ContractorsTile.jpg); } div.gamelist div.mainpage-gamelist-tile#tile-payday-2-vr a { background-position-y: top; background-image: url(https://vrwiki.nexisonline.net/w/images/7/71/Payday2VR.png); } div.gamelist div.mainpage-gamelist-tile#tile-vox-machinae a { background-position-y: top; background-image: url(https://vrwiki.nexisonline.net/w/images/c/c5/VoxMachinaeGrid.png); } div.gamelist div.mainpage-gamelist-tile#tile-hl-alyx a { background-position-y: top; background-image: url(https://vrwiki.nexisonline.net/w/images/5/5d/HalfLifeAlyxGrid.jpg); } div.gamelist div.mainpage-gamelist-tile#tile-superhot a { background-position-y: top; background-image: url(https://vrwiki.nexisonline.net/w/images/b/b1/SUPERHOTGrid.png); } div.gamelist div.mainpage-gamelist-tile#tile-boneworks a { background-position-y: top; background-image: url(https://vrwiki.nexisonline.net/w/images/3/31/BONEWORKSGrid.png); } div.gamelist div.mainpage-gamelist-tile#tile-vertigo-2 a { background-position-y: top; background-image: url(https://vrwiki.nexisonline.net/w/images/6/6c/Vertigo2Tile.jpg); }