No edit summary |
No edit summary |
||
(3 intermediate revisions by the same user not shown) | |||
Line 326: | Line 326: | ||
} | } | ||
.dpDiscordBanner { | .dpDiscordBanner pre { | ||
width: | display: flex; | ||
border: none; | |||
background: none; | |||
padding: 0; | |||
} | |||
.dpDiscordBanner img { | |||
display: flex; | |||
justify-content: center; | |||
width: 97%; | |||
height: auto; | height: auto; | ||
} | } |
Latest revision as of 13:07, 23 February 2024
/* CSS placed here will be applied to all skins */ @import url('https://fonts.googleapis.com/css2?family=Poppins:wght@100;200;300;400;500;600;700;800;900&display=swap'); html { height: 100%; } iframe { background-color: transparent; } .admin-only { display:none; } .mainPageTable { border-collapse: collapse; } .mainPageTable a{ color:white; } .mainPageTable td { width: 50%; border: 0px solid transparent; background-clip: padding-box; transition: all 0.3s ease-in-out; } .mainPageTable a { display:block; width:100%; } .mainPageTable td:hover { background-size: 110%; } .mainPageTable tr > td + td { border-left-width: 10px; } .mainPageTable tr + tr > td { border-top-width: 10px; } .mainPagePaddingBottom { padding-bottom: 2vh; } .mainPageTableItem { background-position: center; background-size: 100%; border-radius: 20px; height: 40vh; } .gameItem{ height: 30vh; } .mainPageTableItem h2 { font-size: 2em; } .mainPageGame { background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5) ), url("/images/thumb/1/17/Laststandkeyart.jpg/424px-Laststandkeyart.jpg"); } .mainPageLocations { background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5) ), url("/images/thumb/f/f5/Arena.png/800px-Arena.png"); } .mainPageAbout { background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5) ), url("/images/thumb/1/1d/Arena_Keyart.jpg/800px-Arena_Keyart.jpg"); } .mainPageHardware { background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5) ), url("/images/thumb/e/ee/Hardware_bg.jpeg/800px-Hardware_bg.jpeg"); background-position: 50% 20%; } /* --------------- */ /* GAME PAGE TILES */ /* --------------- */ .gameMD { background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5) ), url("/images/thumb/5/55/Mtd_thumb.jpeg/800px-Mtd_thumb.jpeg"); } .gameA { background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5) ), url("/images/thumb/7/7e/Ar_thumb.jpeg/800px-Ar_thumb.jpeg"); } .gameG { background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5) ), url("/images/thumb/a/a0/Glm_thumb.jpeg/800px-Glm_thumb.jpeg"); } .gameLL { background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5) ), url("/images/thumb/3/3f/Tll_thumb.jpeg/800px-Tll_thumb.jpeg"); } .gameBE { background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5) ), url("/images/thumb/f/f8/Be_thumb.jpeg/800px-Be_thumb.jpeg"); } .gameLS { background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5) ), url("/images/thumb/9/93/Ls_thumb.jpeg/800px-Ls_thumb.jpeg"); } .gameDP { background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5) ), url("/images/thumb/9/9a/DpArt6.jpg/800px-DpArt6.jpg"); } /* --------------- */ /* --------------- */ /* --------------- */ .ls_championship { background-color: white; color: black !important; text-align: center !important; } .tournament_image { width: 100%; } .tournament_image img { width:100%; height: auto; } .tournament_image pre { display: grid; padding:0; margin:0; } .citizen-table-wrapper { overflow-x: unset; } .GameInfobox, .LocationInfobox, .HomeVRInfobox { vertical-align: baseline; text-align: center; border-collapse: collapse; float:right; border: 1px solid black; } .LocationInfobox, .HomeVRInfobox { max-width: 30%; } .GameInfobox img, .LocationInfobox img, .HomeVRInfobox img { width: 100%; height: auto; } .GameText, .LocationText { float:left; width: 70%; } .citizen-footer, .mw-body-footer { display: none; } .backtotournament img { width: 20vw; height: auto; } .backtotournament pre { background-color: transparent !important; border: none; padding: 0; } .question { transition: 0.3s ease-in-out; } .collapsible { transition: 0.3s ease-in-out; /*background-color: #eee; color: #444;*/ cursor: pointer; padding: 18px 0 18px 0; width: 100%; border: none; text-align: left; outline: none; font-size: 1.3em; display: inline-flex; align-items: center; } .collapsible span { margin-right: 15px; } .collapsible p { color: white; padding: 0 0 0 10%; display: contents; } .collapsible pre { transition: 0.3s ease-in-out; padding: 0; background-color: transparent; border: none; } /* Add a background color to the button if it is clicked on (add the .active class with JS), and when you move the mouse over it (hover) */ .active, .collapsible:hover { /*background-color: #ccc;*/ } .active span { transform: scaleY(-1); } /* Style the collapsible content. Note: hidden by default */ .collapsible-content { display: none; overflow: hidden; /*background-color: #f1f1f1;*/ } .collapsible-content p { margin:0; } .socials-main { display:block; } .socials-main h4 span { font-weight: 300; } .socials-img { padding-right: 2%; display: inline; } .socials-img img { height: auto; width: 3.5%; transition: ease-in-out 0.1s; } .socials-img img:hover { transform: scale(1.2); } .hoverableImage { transition: 0.2s ease-in-out; } .hoverableImage:hover { transform: scale(1.02); } .linktree_wrapper { display: flex; flex-wrap: wrap; justify-content: space-between; } .linktreeItem { width: 49.2%; } .page-Dont_Puke { overflow-x: hidden; height: 100%; font-family: 'Poppins', sans-serif; } .page-Dont_Puke .mw-header { display: none; } .page-Dont_Puke navContainer pre { display: none; } .dpDiscordBanner pre { display: flex; border: none; background: none; padding: 0; } .dpDiscordBanner img { display: flex; justify-content: center; width: 97%; height: auto; } .dpLandingContainer { position: relative; z-index:0; background-color:transparent; } .dpLandingContainer::before { content: ''; position: absolute; top: 0; left: -50%; width: 150vw; background-image:url(/images/a/a0/DpBackground.jpg); z-index: -1; overflow-x: hidden; /* Full height */ height: 100%; /* Create the parallax scrolling effect */ background-attachment: fixed; background-position: center; background-repeat: no-repeat; background-size: cover; } /*.dpLandingContainer::before { content: ''; position: absolute; top: 0; left: 50%; transform: translateX(-50%); width: 110vw; background-image:url(/images/a/a0/DpBackground.jpg); z-index: -1; overflow-x: hidden; /* Full height */ height: 100%; /* Create the parallax scrolling effect */ background-attachment: fixed; background-position: center; background-repeat: no-repeat; background-size: cover; }*/ .dpNav { transition: 0.5s ease-in-out; } .dpNav a { transition: 0.1s ease-in-out; color:white !important; border-bottom: 2px solid white; line-height: 30px; } .dpNav a:hover { text-decoration: none; padding-left: 60px; border-bottom: 2px solid #f6a016; color: #f6a016 !important; } .dpNav a::after { display: none !important; } .dpLogo { float: left; width: 10%; flex-shrink: 0; } .dpLogo img { width: 90%; height: auto; float:left; filter: drop-shadow(0px 5px 31px #ffffff); } .dpNav { float: right; width: 100%; color: white; } .dpNav ul { list-style:none; float: right; text-align: right; } .dpContainer pre { color: white; padding: 0; overflow: visible; background-color: transparent; border: none; margin: 0; height: 0; } .dpSteamContainer { display: flex; flex-direction: column; align-items: center; justify-content: center; background-color: #131a21; color: white; padding: 2vw; text-align: center; margin-top: 10vh; border-radius: 35px; height: 50vh; } .dpSteamText p { margin: 0 0 2vw 0; font-size: 2vw; font-weight: bold; font-size: 3vh; } /*.dpSteamBuyBox { width: 30%; height: 20vw; background-color: #ffffff; border-radius: 4px; display: flex; align-items: center; justify-content: center; max-width: 300px; max-height: 100px; min-width: 200px; min-height: 40px; }*/ .dpSteamBuyBox { display: flex; margin: 0 auto; height: 25vh; flex: auto; width: 100%; justify-content: center; } .dpSteamBuyBox iframe { display: flex; margin: 0 auto; padding: 0; justify-content: center; align-items: center; width: 40vw; height: 25vh; border: 20px solid white; border-radius: 30px; -webkit-box-shadow: 0px 0px 62px -5px rgba(255,255,255,1); -moz-box-shadow: 0px 0px 62px -5px rgba(255,255,255,1); box-shadow: 0px 0px 62px -5px rgba(255,255,255,1); } .dpSteamBuyBoy iframe body { background: #131a21 !important; } .dpStores { display: flex; height: 20vh; gap: 15%; } .dpStores img { width: 100%; height: auto; margin: 0 auto; display: flex; } .dpDescription { padding-top: 10vh; } .dpDescriptionText { padding-bottom: 5vh; } .dpDescriptionText p { text-align: center; padding-bottom: 3vh; } .dpDescriptionImages { display: flex; flex-direction: column; align-items: center; text-align: center; } @keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: 0.5; } } .blink { animation: blink 0.5s; } .mainImage { position: relative; max-width: 1000px; max-height: 550px; /* Adjust the height as needed */ overflow: hidden; margin-bottom: 20px; } .mainImage img { max-width: 1000px; height: auto; } .loadingBar { position: absolute; bottom: 0; left: 0; height: 5px; /* Slightly thicker bar for better visibility */ background: linear-gradient(to right, #4caf50, #81c784); /* Gradient effect */ border-radius: 3px; /* Rounded corners */ box-shadow: 0 0 8px rgba(0, 0, 0, 0.3); /* Subtle shadow for depth */ width: 0%; /* Initial width */ transition: width 10s linear; /* Smooth transition */ } .carousel { display: flex; flex-wrap: wrap; justify-content: center; } .dpImage { width: 100px; /* Adjust the image width as needed */ height: 100px; /* Adjust the image height as needed */ margin: 10px; /* Add spacing between images */ cursor: pointer; transition: transform 0.3s; } .carousel .dpImage { opacity: 0.7; /* Dimmed by default */ transition: opacity 0.3s; /* Smooth transition for hover effect */ } .carousel .dpImage:hover { opacity: 1; /* Full opacity on hover */ } .dpImage img { max-width: 100%; max-height: 100%; object-fit: cover; } .dpSupport { display: flex; flex-direction: row; gap: 3%; } .dpSupportCol { flex: 1; /* Set flex-grow to 1 for each column */ background-color: #131a21; padding: 10px; text-align: center; color: white; font-size: 2vh; } /*PRE TRAILER*/ /*.dpLogoLargeContainer { display: block; text-align: center; width: 100%; height: 55vh; } .dpLogoLarge img { max-width: 100%; height: auto; display: block; margin: 0 auto; } .dpTrailerContainer { display: flex; align-items: center; justify-content: center; flex-direction: column; } .dpNavContainer{ display:flex; align-items: start; justify-content: start; } .dpTrailerText { text-align: center; }*/ /* POST TRAILER */ .dpLogoLargeContainer { display: block; text-align: center; width: 100%; height: 55vh; } .dpLogoLarge img { max-width: 100%; height: auto; display: block; margin: 0 auto; } .dpTrailerContainer { display: flex; align-items: center; justify-content: center; flex-direction: column; padding-bottom: 10vh; } .dpTrailer { width: 100%; height: 300px; background-color: white; } .dpTrailer pre { display: grid !important; } .dpTrailer iframe { width: 100%; height: 300px; margin: 0; } .dpNavContainer{ display:flex; align-items: start; justify-content: start; } .dpTrailerText { text-align: center; } .page-Dont_Puke .citizen-page-container { margin: 0; } .page-Dont_Puke .citizen-body-container { margin: 0; padding: 0; gap: 0; } .page-Dont_Puke #contentSub { margin: 0; } .page-Dont_Puke .citizen-body-container .mw-body-header{ display: none !important; } .dpSocials { width: 70%; margin: 5vh auto; display: flex; flex-direction: row; justify-content: space-between; align-items: center; } .dpSocialButton img { width: 50px; height: auto; transition: 0.1s ease-in-out; } .dpSocialButton img:hover { transform: scale(1.1); } /*-------------------*/ /*----- MOBILE -----*/ /*-------------------*/ @media only screen and (max-width: 432px) { .dpLogoLargeContainer { height: 40vh; /* Smaller height for smaller screens */ } /*.dpLogoLarge img { max-width: 100%; }*/ /*.dpSteamBuyBox iframe { width: 80vw; height: 40vh; }*/ } @media only screen and (max-width: 1410px) { .GameInfobox { width: 25%; } .dpSteamBuyBox iframe { width: 60vw; height: 30vh; } } @media only screen and (max-width: 1000px) { .mainPageTableItem { background-size: cover; } .mainPageTableItem h2 { font-size: 1.3em; text-decoration: underline; } .mainPageTable td:hover { background-size: cover; } .GameInfobox, .LocationInfobox { float:left !important; width: 100%; } .LocationInfobox { max-width: 100%; margin-bottom: 3vh; } .GameText, .LocationText { float:left; width:100%; } .tournament_image { padding-top: 3vh; } .linktree_wrapper .tournament_image { padding-top: 0; } .backtotournament img { width: 60vw; height: auto; } .backtotournament pre { margin: 0; } .socials-img img { height: auto; width: 10%; } .socials-main { padding-bottom: 5vh; } .linktreeItem { width: 100%; } .dpContainer { padding: 0 5% 0 5%; } .dpLogo { width: 30%; } .dpSocials { width: 100% } .dpSteamBuyBox iframe { width: 90vw; height: 30vh; } .dpSteamContainer { height: 40vh; } }