Path: blob/main/static/src/gs/public/mc-classic/assets/css/style.css
1338 views
/* ==========================================================================1Main2========================================================================== */3/* ==========================================================================4Settings5========================================================================== */6/* ==========================================================================7Color settings8========================================================================== */9/* Brand - primary */10/* ==========================================================================11Settings - Layout variables12========================================================================== */13/* Widths */14/* Heights */15/* ==========================================================================16Transition settings17========================================================================== */18/* ==========================================================================19Typography settings20========================================================================== */21/* Families */22/*23* Font sizes width breakpoint24* Use with the mixin - @include font-size($font-size-base)25*/26/* Line height */27/* ==========================================================================28Spacing settings29========================================================================== */30/* ==========================================================================31Tools32========================================================================== */33/* ==========================================================================34Generic35========================================================================== */36/* ==========================================================================37Global forms38========================================================================== */39/**40* 1. Change the font styles in all browsers (opinionated).41* 2. Remove the margin in Firefox and Safari.42*/43button,44input,45optgroup,46select,47textarea {48margin: 0;49/* 2 */50font-size: 100%;51/* 1 */52font-family: sans-serif;53/* 1 */54line-height: 1.15;55/* 1 */ }5657/**58* Show the overflow in IE.59* 1. Show the overflow in Edge.60*/61button,62input {63overflow: visible;64/* 1 */ }6566/**67* Remove the inheritance of text transform in Edge, Firefox, and IE.68* 1. Remove the inheritance of text transform in Firefox.69*/70button,71select {72/* 1 */73text-transform: none; }7475/**76* 1. Prevent a WebKit bug where (2) destroys native `audio` and `video`77* controls in Android 4.78* 2. Correct the inability to style clickable types in iOS and Safari.79*/80button,81html [type="button"],82[type="reset"],83[type="submit"] {84-webkit-appearance: button;85/* 2 */ }8687/**88* Remove the inner border and padding in Firefox.89*/90button::-moz-focus-inner,91[type="button"]::-moz-focus-inner,92[type="reset"]::-moz-focus-inner,93[type="submit"]::-moz-focus-inner {94padding: 0;95border-style: none; }9697/**98* Restore the focus styles unset by the previous rule.99*/100button:-moz-focusring,101[type="button"]:-moz-focusring,102[type="reset"]:-moz-focusring,103[type="submit"]:-moz-focusring {104outline: 1px dotted ButtonText; }105106/**107* Change the border, margin, and padding in all browsers (opinionated).108*/109fieldset {110margin: 0 2px;111padding: .35em .625em .75em;112border: 1px solid #c0c0c0; }113114/**115* 1. Correct the text wrapping in Edge and IE.116* 2. Correct the color inheritance from `fieldset` elements in IE.117* 3. Remove the padding so developers are not caught out when they zero out118* `fieldset` elements in all browsers.119*/120legend {121display: table;122/* 1 */123box-sizing: border-box;124/* 1 */125max-width: 100%;126/* 1 */127padding: 0;128/* 3 */129color: inherit;130/* 2 */131white-space: normal;132/* 1 */ }133134/**135* 1. Add the correct display in IE 9-.136* 2. Add the correct vertical alignment in Chrome, Firefox, and Opera.137*/138progress {139display: inline-block;140/* 1 */141vertical-align: baseline;142/* 2 */ }143144/**145* Remove the default vertical scrollbar in IE.146*/147textarea {148overflow: auto; }149150/**151* 1. Add the correct box sizing in IE 10-.152* 2. Remove the padding in IE 10-.153*/154[type="checkbox"],155[type="radio"] {156box-sizing: border-box;157/* 1 */158padding: 0;159/* 2 */ }160161/**162* Correct the cursor style of increment and decrement buttons in Chrome.163*/164[type="number"]::-webkit-inner-spin-button,165[type="number"]::-webkit-outer-spin-button {166height: auto; }167168/**169* 1. Correct the odd appearance in Chrome and Safari.170* 2. Correct the outline style in Safari.171*/172[type="search"] {173-webkit-appearance: textfield;174/* 1 */175outline-offset: -2px;176/* 2 */ }177178/**179* Remove the inner padding and cancel buttons in Chrome and Safari on macOS.180*/181[type="search"]::-webkit-search-cancel-button,182[type="search"]::-webkit-search-decoration {183-webkit-appearance: none; }184185/**186* 1. Correct the inability to style clickable types in iOS and Safari.187* 2. Change font properties to `inherit` in Safari.188*/189::-webkit-file-upload-button {190-webkit-appearance: button;191/* 1 */192font: inherit;193/* 2 */ }194195/* ==========================================================================196Global elements197========================================================================== */198*,199*:before,200*:after {201box-sizing: inherit; }202203html {204box-sizing: border-box;205-ms-text-size-adjust: 100%;206/* Prevent adjustments of font size after orientation changes in IE on Windows Phone */207-webkit-text-size-adjust: 100%;208/* Prevent adjustments of font size after orientation changes in iOS */209-webkit-font-smoothing: antialiased; }210211body {212margin: 0;213/* Remove the margin in all browsers */214color: inherit; }215216* {217font-family: Minecraft;218color: #ffffff;219text-shadow: 2px 2px #3f3f3f; }220221img {222max-width: 100%;223height: auto; }224225svg:not(:root) {226overflow: hidden; }227228#version {229position: absolute;230top: 6px;231left: 8px;232z-index: 1;233pointer-events: none; }234235#hotbar {236width: 184px;237position: fixed;238bottom: -6px;239left: 50%;240margin-left: -92px;241z-index: 2;242pointer-events: none; }243244#chat {245position: absolute;246bottom: 8px;247left: 8px;248z-index: 3;249pointer-events: none; }250251#previewWindow {252position: absolute;253margin: auto;254top: 0;255right: 0;256bottom: 60px;257left: 0;258width: 480px;259height: 300px;260z-index: 4; }261262#menu {263position: absolute;264margin: auto;265top: 0;266right: 0;267bottom: 0;268left: 0;269z-index: 5; }270271@font-face {272font-family: 'Minecraft';273src: url("/assets/fonts/minecraftfont.eot");274src: url("/assets/fonts/minecraftfont.woff") format("woff"), url("/assets/fonts/minecraftfont.ttf") format("truetype"); }275276#progress {277position: absolute;278margin: auto;279top: 0;280right: 0;281bottom: 0;282left: 0;283z-index: 6; }284285#overlay {286position: absolute;287margin: auto;288top: 0;289right: 0;290bottom: 0;291left: 0;292z-index: 7; }293294#mobile {295display: none;296position: absolute;297margin: auto;298top: 0;299right: 0;300bottom: 0;301left: 0;302width: 100%;303height: 100%;304text-align: center;305z-index: 8;306background-image: url("/assets/textures/background.jpg");307background-size: cover;308background-position: center; }309310#text_vertical {311text-align: center;312position: relative;313top: 50%;314-ms-transform: translateY(-50%);315-webkit-transform: translateY(-50%);316transform: translateY(-50%); }317318#text_vertical a:link {319color: #ffff40; }320321#text_vertical a:visited {322color: #ffff40; }323324#text_vertical a:hover {325color: #ffff40; }326327#text_vertical a:active {328color: #ffff40; }329330#webgl_webrtc {331display: none;332position: absolute;333margin: auto;334top: 0;335right: 0;336bottom: 0;337left: 0;338width: 100%;339height: 100%;340text-align: center;341z-index: 8;342background-image: url("/assets/textures/background.jpg");343background-size: cover;344background-position: center; }345346#hide {347position: absolute;348left: -9999px; }349350/* ==========================================================================351Global links352========================================================================== */353/**354* 1. Remove the gray background on active links in IE 10.355* 2. Remove gaps in links underline in iOS 8+ and Safari 8+.356*/357a {358background-color: transparent;359/* 1 */360-webkit-text-decoration-skip: objects;361/* 2 */ }362a:active, a:hover {363outline-width: 0; }364365/* ==========================================================================366Global typography367========================================================================== */368/**369* 1. Add the correct box sizing in Firefox.370* 2. Show the overflow in Edge and IE.371*/372hr {373overflow: visible;374/* 2 */375box-sizing: content-box;376/* 1 */377height: 0;378/* 1 */ }379380/**381* 1. Correct the inheritance and scaling of font size in all browsers.382* 2. Correct the odd `em` font sizing in all browsers.383*/384pre {385font-size: 1em;386/* 2 */387font-family: monospace;388/* 1 */ }389390/**391* 1. Remove the bottom border in Firefox 39-.392* 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari.393*/394abbr[title] {395border-bottom: none;396/* 1 */397text-decoration: underline;398/* 2 */399text-decoration: underline dotted;400/* 2 */ }401402/**403* Prevent the duplicate application of `bolder` by the next rule in Safari 6.404*/405b,406strong {407font-weight: 600; }408409/**410* 1. Correct the inheritance and scaling of font size in all browsers.411* 2. Correct the odd `em` font sizing in all browsers.412*/413code,414kbd,415samp {416font-size: 1em;417/* 2 */418font-family: monospace;419/* 1 */ }420421/**422* Add the correct font style in Android 4.3-.423*/424dfn {425font-style: italic; }426427/**428* Add the correct font size in all browsers.429*/430small {431font-size: 80%; }432433/**434* Prevent `sub` and `sup` elements from affecting the line height in435* all browsers.436*/437sub,438sup {439position: relative;440vertical-align: baseline;441font-size: 75%;442line-height: 0; }443444sub {445bottom: -.25em; }446447sup {448top: -.5em; }449450/**451* Prevent empty paragraphs from taking up space452*/453p:empty {454display: none; }455456/* ==========================================================================457Global - Print458========================================================================== */459@media print {460*,461*:before,462*:after {463background: transparent;464box-shadow: none;465text-shadow: none;466color: #000; }467a,468a:visited {469text-decoration: underline; }470a[href]:after {471content: " (" attr(href) ")"; }472abbr[title]:after {473content: " (" attr(href) ")"; }474/*475* Don't show links that are fragment identifiers,476* or use the `javascript:` pseudo protocol477*/478a[href^="#"]:after,479a[href^="javascript:"]:after {480content: ""; }481pre {482white-space: pre-wrap; }483pre,484blockquote {485border: 1px solid #999;486page-break-inside: avoid; }487/*488* Printing Tables:489* http://css-discuss.incutio.com/wiki/Printing_Tables490*/491thead {492display: table-header-group; }493tr,494img {495page-break-inside: avoid; }496p,497h2,498h3 {499orphans: 3;500widows: 3; }501h2,502h3 {503page-break-after: avoid; }504/* Elements */505.header,506.footer,507.hide-print {508display: none; } }509510/* ==========================================================================511Utilities512========================================================================== */513/* ==========================================================================514Utilities - Clearfix515========================================================================== */516.u-clearfix:after {517content: "";518display: table;519clear: both; }520521/* ==========================================================================522Utilities - Container523========================================================================== */524.u-container {525max-width: 1200px; }526527/* ==========================================================================528Utilities - Object fit529========================================================================== */530.u-object-fit {531position: relative; }532.u-object-fit__image {533position: absolute;534top: 0;535left: 0;536z-index: 0;537width: 100%;538height: 100%;539object-fit: cover; }540.u-object-fit__image--contain {541object-fit: contain; }542543/* ==========================================================================544Utilities - Visually hidden545========================================================================== */546/** Visually Hidden547* Make an element visually hidden, but accessible to assistive technology548* @see http://snook.ca/archives/html_and_css/hiding-content-for-accessibility549*/550.u-visually-hidden {551position: absolute;552overflow: hidden;553width: 1px;554height: 1px;555margin: -1px;556padding: 0;557border: 0;558clip: rect(0 0 0 0);559/** Visually Hidden Focusable560* Extends `Visually Hidden` to allow the element to be focusable when navigated561* to via the keyboard.562*/ }563.u-visually-hidden:active, .u-visually-hidden:focus {564position: static;565overflow: visible;566width: auto;567height: auto;568margin: 0;569clip: auto; }570571/* ==========================================================================572Atoms573========================================================================== */574/* ==========================================================================575Atoms - Block quote576========================================================================== */577/* ==========================================================================578Atoms - Buttons579========================================================================== */580.a-btn,581button,582input[type="submit"],583input[type="button"],584input[type="reset"] {585display: inline-block; }586587/* ==========================================================================588Atoms - Forms589========================================================================== */590.a-input-field,591textarea,592input[type="text"],593input[type="password"],594input[type="search"],595input[type="email"],596input[type="tel"],597input[type="url"],598input[type="datetime"],599input[type="date"],600input[type="month"],601input[type="week"],602input[type="time"],603input[type="datetime-local"],604input[type="number"],605input[type="textarea"] {606appearance: none; }607608/* ==========================================================================609Atoms - Headings610========================================================================== */611/* ==========================================================================612Atoms - Icons613========================================================================== */614.a-icon {615width: 32px;616height: 32px;617fill: currentColor; }618619/* ==========================================================================620Atoms - Links621========================================================================== */622a {623text-decoration: none;624color: #000; }625a:hover {626text-decoration: underline; }627a:focus {628outline: 0; }629630/* ==========================================================================631Atoms - Lists632========================================================================== */633/* Target only unclassed ul and ol */634/* ==========================================================================635Atoms - Paragraph636========================================================================== */637/* ==========================================================================638Atoms - Select639========================================================================== */640/* ==========================================================================641Atoms - Site logo642========================================================================== */643/* ==========================================================================644Molecules645========================================================================== */646/* ==========================================================================647Organisms648========================================================================== */649650651652