Game-Jaming/Frontend/Styles/Index.css

999 lines
18 KiB
CSS
Executable File

body,
html {
/*rgba(255, 255, 255, 0.55);*/
color: #F2E6D8;
font-family: Arial, Helvetica, sans-serif;
margin: 0;
padding: 0;
height: 100%;
scroll-behavior: smooth;
/*FireFox*/
scrollbar-width: none;
/*IE10+*/
-ms-overflow-style: -ms-autohiding-scrollbar;
}
body {
/* background-color: rgb(18, 18, 18);*/
background-color: #121B26;
overflow: hidden;
transition: padding-top 0.3s ease-in-out;
padding-top: 53px;
}
section {
height: 100%;
}
a {
/*rgba(255, 255, 255, 0.75);*/
color: #F2E6D8;
}
a:hover {
/*rgba(255, 255, 255, 0.75);*/
color: #BF7D65;
}
#content {
overflow: hidden;
}
::-webkit-scrollbar {
/*Chrome, Safari, Edge*/
display: none;
}
.scrolled-up {
transform: translateY(0);
transition: all 0.3s ease-in-out;
}
.bodyScrolled-up {
padding-top: 53px;
}
.scrolled-down {
transform: translateY(-100%);
transition: all 0.3s ease-in-out;
}
.bodyScrolled-down {
padding-top: 0px;
}
.container,
.container-fluid,
.container-lg,
.container-md,
.container-sm,
.container-xl,
.container-xxl {
padding-right: 0;
padding-left: 0;
}
/* Scrollbar */
.mb-container .mb-track {
border-radius: 5px;
}
.mb-container .mb-track-y {
right: 0;
height: calc(100% - 5px);
width: 5px;
}
.mb-container .mb-track .mb-bar {
background-color: #121B26; /* rgba(51, 51, 51, 0.75);*/
}
.mb-container .mb-track {
background-color: transparent;
}
.navbar {
margin-bottom: 0;
border-radius: 0;
}
.smart-scroll {
position: fixed;
height: 52px;
top: 0;
right: 0;
left: 0;
width: 100%;
z-index: 1030;
}
/*Nav-bar start*/
.navbar-toggler:focus {
box-shadow: none;
}
.navbar-collapse {
background-color: #59142D; /*rgb(33, 37, 41);*/
text-align: center;
}
.navbar-toggler:focus-visible {
outline: none;
}
.navbar-dark .navbar-nav .nav-link {
color: #F2E6D8 !important;
}
.navbar-dark .navbar-nav .nav-link:hover {
color: #BF7D65 !important;
}
.row.content {
height: 450px;
}
.CenterDiv {
margin: 1vw 10vw 0;
}
.dropdown-menu {
/*rgba(34, 39, 43)*/
background-color: #59142D !important;
}
.dropdown-menu .dropdown-item {
/*rgba(255, 255, 255, 0.5)*/
color: #F2E6D8 !important;
}
.dropdown-menu .dropdown-item:hover {
/*rgba(255, 255, 255, 0.75)*/
color: #BF7D65 !important;
background-color: transparent !important;
}
.LoginButton {
/*rgba(255, 255, 255, 0.55);*/
color: #F2E6D8;
}
.LoginButton:hover {
/*rgba(255, 255, 255, 0.75);*/
color: #BF7D65;
}
/*Nav-bar slut*/
/*Regler start*/
#RulesModal .modal-header {
text-align: center;
display: unset;
padding: 0.5rem;
}
#RulesModal .modal-header h1 {
font-weight: bolder;
/*rgba(255, 255, 255, 0.75);*/
color: #F2E6D8;
}
#RulesModal .modal-dialog-scrollable .modal-content {
max-height: 75%;
}
#ModalRulesTabContent ul {
color: #59142D; /*rgb(204, 204, 204)*/
list-style-type: none;
padding-left: 0;
}
#ModalRulesTabContent ul li {
position: relative;
font: bold italic 45px/1.5 Helvetica, Verdana, sans-serif;
}
#ModalRulesTabContent li p {
font: 16px/1.5 Helvetica, sans-serif;
padding-left: 60px;
color: #F2E6D8; /*rgba(255, 255, 255, 0.55);*/
}
#ModalRulesTabContent span {
position: absolute;
color: #59142D; /*rgba(255, 255, 255, 0.75);*/
}
.btn-danger {
color: #F2E6D8;
background-color: #59142D;
border-color: #59142D;
}
.RulesModal .modal-header {
text-align: center;
}
/*Regler slut*/
/*Registering start*/
#pass_info {
position: absolute;
top: 300px;
bottom: -90px;
right: 22%;
width: 250px;
padding: 15px;
background: #F2E6D8;
font-size: 0.875em;
border-radius: 5px;
box-shadow: 0 1px 3px rgb(204, 204, 204);
border: 1px solid rgb(221, 221, 221);
display: none;
}
#pass_info::before {
content: "\25B2";
position: absolute;
top: -12px;
left: 45%;
font-size: 14px;
line-height: 14px;
color: rgba(42, 84, 140, 1);
text-shadow: none;
display: block;
}
#pass_info ul,
li {
margin: 0;
padding: 0;
list-style-type: none;
}
#pass_info h5 {
margin: 0 0 10px 0;
padding: 0;
font-weight: normal;
color: #201f1f !important;
}
.invalid {
padding-left: 22px;
line-height: 24px;
color: #d00f17;
}
.invalidInput {
border-color: #2A558C !important;
}
.invalid::before {
font-family: "FontAwesome";
content: "\f00d";
}
.valid {
padding-left: 22px;
line-height: 24px;
color: rgb(58, 125, 52);
}
.validInput {
border-color: rgb(80, 219, 52) !important;
}
.valid::before {
font-family: "FontAwesome";
content: "\f00c";
}
/*Registering slut*/
/*Login start*/
.LoginModal .modal-header {
padding: 0;
border-bottom: 0;
/*background-color: rgb(18, 18, 18);*/
background-color: #121B26;
/*rgba(255, 255, 255, 0.75);*/
color: #F2E6D8;
}
.modal-body {
padding: 0 0;
margin: 2vh 2vw;
background-color: #121B26; /*rgb(18, 18, 18);*/
}
.modal-content {
background-color: #121B26; /*rgb(18, 18, 18);*/
box-shadow: rgba(0, 0, 0, 0.07) 0px 1px 2px, rgba(0, 0, 0, 0.07) 0px 2px 4px, rgba(0, 0, 0, 0.07) 0px 4px 8px, rgba(0, 0, 0, 0.07) 0px 8px 16px, rgba(0, 0, 0, 0.07) 0px 16px 32px, rgba(0, 0, 0, 0.07) 0px 32px 64px;
}
.modal-backdrop {
z-index: -1;
}
.nav-tabs {
border-bottom: 1px solid rgba(89, 19, 45, 1); /*rgb(80, 80, 80);*/
}
.nav-tabs .nav-item.show .nav-link,
.nav-tabs .nav-link.active {
color: #F2E6D8; /*rgba(255, 255, 255, 0.75);*/
background-color: #59142D; /* rgb(37, 37, 37);*/
border-color: #59142D; /*rgb(80, 80, 80);*/
}
.nav-tabs .nav-link {
color: #F2E6D8; /*rgba(255, 255, 255, 0.55);*/
}
.nav-tabs .nav-link:focus,
.nav-tabs .nav-link:hover {
border-color: #59142D; /*{rgb(80, 80, 80);*/
color: #BF7D65;
/*rgba(255, 255, 255, 0.75);*/
}
.FullWidthModalTabs {
display: table;
width: 100%;
height: 32px;
table-layout: fixed;
}
.FullWithModalTabsItem {
float: none;
display: table-cell;
}
.FullWithModalTabsItem button {
text-align: center;
}
.CloseIcon {
width: 16px;
height: 16px;
background-color: transparent;
color: #F2E6D8;
/*rgba(255, 255, 255, 0.55);*/
}
.CloseIcon:hover {
color: #BF7D65;
/*rgba(255, 255, 255, 0.75);*/
}
/*Kalender knap*/
.btn-close:hover {
fill: rgb(255, 0, 0);
}
.btn-close:focus {
box-shadow: none;
}
.navbar-brand {
margin-left: 1rem;
padding-top: 0;
padding-bottom: 0;
}
.CustomBrand {
position: relative;
text-align: center;
height: 32px;
}
.CenteredTitle {
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
}
/*
.box #NUDMinus {
color: #F2E6D8; /*rgba(255, 255, 255, 0.55);
background-color: transparent;
border: none;
float: left;
}
.box #NUDMinus:focus {
box-shadow: none;
}
.box #NUDMinus:focus-visible {
outline: none;
}
.box #NUDDisplay {
color: #F2E6D8 !important; /*rgba(255, 255, 255, 0.55);
background-color: transparent;
border: none;
cursor: text;
width: 65%;
}
.box #NUDDisplay:focus {
box-shadow: none;
}
.box #NUDDisplay:focus-visible {
outline: none;
}
.box #NUDPlus {
color: #F2E6D8; /*rgba(255, 255, 255, 0.55);
background-color: transparent;
border: none;
float: right;
}
.box #NUDPlus:focus {
box-shadow: none;
}
.box #NUDPlus:focus-visible {
outline: none;
}
.box #GameJamSelect:focus {
box-shadow: none;
}
.box #GameJamSelect:hover {
color: #BF7D65; /*rgba(255, 255, 255, 0.75);
}
.box #GameJamSelect ul {
background-color: #2A558C; /*red;
}
*/
.box {
background-color: #121B26; /*rgb(18, 18, 18);*/
}
.box #username,
.box #loginUsername,
.box #adminUsername,
.box #pass1,
.box #pass2,
.box #loginPassword,
.box #adminPassword,
.box #GameJamSelect {
border: 0;
background: none;
display: block;
margin: 20px auto;
text-align: center;
border: 2px solid rgba(42, 84, 140, 1); /*rgb(52, 152, 219);*/
padding: 10px 10px;
width: 250px;
outline: none;
color: #F2E6D8; /*rgba(255, 255, 255, 0.55);*/
border-radius: 24px;
transition: 0.25s;
}
.box .btn-group,
.btn-group-vertical {
position: relative;
display: block;
text-align: center;
width: 250px;
margin: 20px auto;
padding: 0;
}
/*
.box #NUDMinus {
color: #F2E6D8; /*rgba(255, 255, 255, 0.55);
background-color: transparent;
border: none;
float: left;
}
.box #NUDMinus:focus {
box-shadow: none;
}
.box #NUDMinus:focus-visible {
outline: none;
}
.box #NUDDisplay {
color: #F2E6D8; /*rgba(255, 255, 255, 0.55);
background-color: transparent;
border: none;
cursor: text;
width: 65%;
}
/*
.box #NUDDisplay:focus {
box-shadow: none;
}
.box #NUDDisplay:focus-visible {
outline: none;
}
.box #NUDPlus {
color: #F2E6D8; rgba(255, 255, 255, 0.55);
background-color: transparent;
border: none;
float: right;
}
.box #NUDPlus:focus {
box-shadow: none;
}
.box #NUDPlus:focus-visible {
outline: none;
}
.box #GameJamSelect:focus {
box-shadow: none;
}
.box #GameJamSelect:hover {
color: #BF7D65; /*rgba(255, 255, 255, 0.75);
}
.box #GameJamSelect ul {
background-color: #2A558C; /*red;
}*/
.text-muted {
margin-bottom: 5vh;
color: #F2E6D8 /*rgba(255, 255, 255, 0.55)*/ !important;
}
.LoginForm {
color: #F2E6D8;
background-color: #121B26;
}
.box h1 {
font-size: 3.2em;
text-align: center;
font-weight: 500;
}
.box #username:focus,
.box #loginUsername:focus,
.box #adminUsername:focus,
.box #pass1:focus,
.box #pass2:focus,
.box #loginPassword:focus,
.box #adminPassword:focus {
width: 300px;
}
.box #username:hover,
.box #loginUsername:hover,
.box #adminUsername:hover,
.box #pass1:hover,
.box #pass2:hover,
.box #loginPassword:hover,
.box #adminPassword:hover {
color: #BF7D65; /*rgba(255, 255, 255, 0.75);*/
}
.box input[type="submit"] {
border: 0;
background: none;
display: block;
margin: 20px auto;
text-align: center;
border: 2px solid #59142D; /*rgb(46, 204, 113);*/
padding: 14px 40px;
outline: none;
color: #F2E6D8; /*rgba(255, 255, 255, 0.55);*/
border-radius: 24px;
transition: 0.25s;
cursor: pointer;
}
.box input[type="submit"]:hover {
background: #59142D; /* rgb(46, 204, 113);*/
color: #F2E6D8; /*rgba(255, 255, 255, 0.75);*/
}
.carousel-item img {
margin: 0 auto;
}
@media only screen and (min-width: 1280px) {
.CustomRow {
display: none;
}
.SmallScreenDouImages {
display: block;
}
}
@media only screen and (min-width: 414px) {
.carousel-item img {
height: 320px;
width: 320px !important;
}
}
@media only screen and (min-width: 1366px) {
.carousel-item img {
height: 525px;
width: 576px !important;
}
}
@media only screen and (min-width: 1920px) {
.carousel-item img {
height: 576px;
width: 720px !important;
margin: 0 auto;
}
}
@media screen and (prefers-reduced-motion: reduce) {
html {
scroll-behavior: auto;
}
}
/*Kalender*/
.container {
width: 100%;
height: 100vh;
color: rgb(238, 238, 238);
display: flex;
justify-content: center;
align-items: center;
}
.calendar {
width: 45rem;
height: 52rem;
background-color: rgb(34, 34, 39);
box-shadow: 0 0.5rem 3rem rgba(0, 0, 0, 0.4);
border-radius: 20px;
}
.month {
width: 100%;
height: 12rem;
background-color: #01579b;
display: flex;
justify-content: space-between;
align-items: center;
padding: 0 2rem;
text-align: center;
text-shadow: 0 0.3rem 0.5rem rgba(0, 0, 0, 0.5);
border-top-left-radius: 20px;
border-top-right-radius: 20px;
}
.month i {
font-size: 2.5rem;
cursor: pointer;
}
.month h1 {
font-size: 3rem;
font-weight: 400;
text-transform: uppercase;
letter-spacing: 0.2rem;
margin-bottom: 1rem;
}
.month p {
font-size: 1.6rem;
}
.weekdays {
width: 100%;
height: 5rem;
padding: 0 0.4rem;
display: flex;
align-items: center;
}
.weekdays div {
font-size: 1.5rem;
font-weight: 400;
letter-spacing: 0.1rem;
width: calc(44.2rem / 7);
display: flex;
justify-content: center;
align-items: center;
text-shadow: 0 0.3rem 0.5rem rgba(0, 0, 0, 0.5);
}
.days {
width: 100%;
display: flex;
flex-wrap: wrap;
padding: 0.2rem;
border-radius: 50%;
}
.days div {
font-size: 1.4rem;
margin: 0.3rem;
width: calc(40.2rem / 7);
height: 5rem;
display: flex;
justify-content: center;
align-items: center;
text-shadow: 0 0.3rem 0.5rem rgba(0, 0, 0, 0.5);
transition: background-color 0.2s;
border-radius: 50%;
}
.days div:hover {
background-color: #01579b;
border: 0.2rem solid rgb(119, 119, 119);
cursor: pointer;
border-radius: 50%;
}
.prev-date,
.next-date {
opacity: 0.5;
}
.today {
background-color: #01579b;
border-radius: 50%;
}
.hasEvent {
background-color: red;
}
/*Kalender slut*/
/*slideshow effekt*/
.image_img {
display: block;
width: 100%;
}
.image_overlay {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
background: rgba(0, 0, 0, 0.6);
color: rgb(255, 255, 255);
font-family: Arial;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
opacity: 0;
transition: opacity 0.25s;
}
.image_overlay > * {
transform: translateY(20px);
transition: transform 0.25s;
}
.image_overlay:hover {
opacity: 1;
}
.image_overlay:hover > * {
transform: translateY(0);
}
.image_title {
font-size: 2em;
font-weight: bold;
}
image_gruppenavn {
font-size: 1.25em;
margin-top: 0.25em;
}
/* slide show effekt slut*/
/*Kategori spil*/
.Collapsible {
border: 0;
background: none;
display: block;
margin: 20px auto;
text-align: center;
border: 2px solid #2A558C;
padding: 10px 10px;
outline: none;
color: #F2E6D8;
border-radius: 24px;
transition: 0.25s;
width: 90%;
}
.CollapsibleContent {
padding: 0 18px;
display: none;
overflow: hidden;
background-color: transparent;
transition: 0.25s;
margin: 10px;
}
.left_text {
float: left;
}
.center_text {
display: inline-block;
margin: 0 auto;
}
.right_text {
float: right;
}
.Collapsible:hover {
color: #BF7D65;
}
#hjem {
padding-top: 0;
}
#header {
position: fixed;
height: 52px;
top: 0;
width: 100%;
z-index: 100;
transition: all 0.3s ease;
box-shadow: 0 1px 25px rgba(0, 0, 0, 0.1);
}
#header.hide {
top: -56px;
}
.GradientDivider {
margin: 16px 0 16px 0;
display: block;
border: none;
height: 3px !important;
background: #59142D !important;
background: linear-gradient( to right, #121B26, #59142D, #94153d, #59142D, #121B26) !important;
opacity: 1;
/*rgb(18, 18, 18),
rgb(0, 113, 185),
rgb(38, 171, 255),
rgb(0, 113, 185),
rgb(18, 18, 18)*/
}
/*Knap Return to top*/
#return-to-top {
position: fixed;
bottom: 20px;
right: 20px;
background: rgba(73, 122, 255, 0.8);
width: 50px;
height: 50px;
display: block;
text-decoration: none;
-webkit-border-radius: 35px;
-moz-border-radius: 35px;
border-radius: 35px;
display: none;
-webkit-transition: all 0.3s linear;
-moz-transition: all 0.3s ease;
-ms-transition: all 0.3s ease;
-o-transition: all 0.3s ease;
transition: all 0.3s ease;
}
#return-to-top:hover {
background: rgb(73, 122, 255);
}
#return-to-top i {
color: rgba(255, 255, 255, 0.75);
margin: 0;
position: relative;
font-size: 30px;
-webkit-transition: all 0.3s ease;
-moz-transition: all 0.3s ease;
-ms-transition: all 0.3s ease;
-o-transition: all 0.3s ease;
transition: all 0.3s ease;
top: 8px;
}
#return-to-top:hover i {
color: rgba(255, 255, 255, 0.55);
top: 5px;
}
/*
.Collapse-Button {
width: 30%;
text-align: center;
font-weight: bold;
font-size: 18px;
border: double;
border-color: #59142D;
border-radius: 15px;
background-color: transparent;
}
.Collapse-Button:hover {
border-color: #721b1a;
}*/
ul.Circle-list {
display: inline-block;
text-align: initial;
}
ul.Circle-list li:before {
content: "\2022"; /* Unicode for a bullet */
color: #59142D;
font-weight: bold;
display: inline-block; /* Needed to add space between the bullet and the text */
width: 1em; /* Also needed for space (tweak if needed) */
margin-left: -1em; /* Also needed for space (tweak if needed) */
}
ol.Subject-list {
list-style-type: decimal;
color: red;
}
/*Stem*/
#activeGameJam {
border: 0;
background: none;
display: block;
margin: 20px auto;
text-align: center;
border: 2px solid rgb(52, 152, 219);
padding: 10px 10px;
outline: none;
color: #F2E6D8;
border-radius: 24px;
transition: 0.25s;
width: 90%;
}
#gameDataId {
border: 0;
background: none;
display: block;
margin: 10px auto;
text-align: center;
border: 2px solid rgb(72, 209, 204);
padding: 10px 10px;
outline: none;
color: #F2E6D8;
border-radius: 24px;
transition: 0.25s;
width: 90%;
}
#oneVote {
border: 0;
background: none;
display: block;
margin: 10px auto;
text-align: center;
border: 2px solid rgb(0, 255, 127);
padding: 10px 10px;
outline: none;
color: #F2E6D8;
border-radius: 24px;
transition: 0.25s;
width: 90%;
}
#activeGameJam:hover,
#gameDataId:hover,
#oneVote:hover {
color: #BF7D65;
}
/*Stem slut*/