horrordle/style.css
2024-10-25 22:57:27 -07:00

844 lines
14 KiB
CSS

* { box-sizing: border-box; }
#button1,#button2,#button3{
display: none;
}
#button4{
/* width: 80px; */
font-size: 27px;
height: 60px;
}
/* #movieName,#bonusQuestion{
display: none;
} */
#winPerc, #streakNumber{
font-size: 1.5em;
}
.resultContainer{
display: none;
border: solid 3px #008000;
border-radius: 10px;
/* box-shadow: 0 0 15px #ff3030, inset 0 0 15px #ff3030; */
/* display: flex; */
flex-direction : row;
margin: auto;
margin-top: 10px;
width: 30%;
padding: 16px 16px;
}
#resultText{
font-size: 1.5em;
}
.gif{
transform:rotate(60deg);
width: 35px;
margin-left: 5px;
top:2px;
padding-right: 5px;
position:absolute;
display:none;
}
.resultImage{
/* padding-right: 8px; */
display: flex;
justify-content: center;
align-items: center;
width: 50%;
}
.resultImage img{
width:100%;
}
.resultStats{
padding-left:15px;
float: left;
width: 50%;
text-align: center;
}
table {
/* border: solid 2px red; */
padding-bottom: 10px;
margin:auto;
}
td {
text-align: center;
padding: 6px 2px;
font-size: 1.5em;
/* padding: 8px; */
}
tr{
/* border-bottom: 1px solid #ddd; */
/* padding-bottom: 10px; */
}
.movie-img {
display: flex;
justify-content: center;
align-items: center;
}
.loading {
position: absolute;
/* z-index: 999; */
height: 100%;
width: 100%;
display: flex;
justify-content: center;
align-items: center;
/* overflow: visible;
margin-left: auto;
margin-right: auto;
vertical-align: middle; */
/* top:0;
left: 0;
bottom: 0;
right: 0; */
}
/* Transparent Overlay */
/* :not(:required) hides these rules from IE9 and below */
.loading:not(:required) {
/* hide "loading..." text */
font: 0/0 a;
color: transparent;
text-shadow: none;
background-color: transparent;
border: 0;
}
.loading:not(:required):after {
content: '';
display: block;
font-size: 10px;
width: 1em;
height: 1em;
margin-top: -0.5em;
-webkit-animation: spinner 1500ms infinite linear;
-moz-animation: spinner 1500ms infinite linear;
-ms-animation: spinner 1500ms infinite linear;
-o-animation: spinner 1500ms infinite linear;
animation: spinner 1500ms infinite linear;
border-radius: 0.5em;
-webkit-box-shadow: rgba(0, 0, 0, 0.75) 1.5em 0 0 0, rgba(0, 0, 0, 0.75) 1.1em 1.1em 0 0, rgba(0, 0, 0, 0.75) 0 1.5em 0 0, rgba(0, 0, 0, 0.75) -1.1em 1.1em 0 0, rgba(0, 0, 0, 0.5) -1.5em 0 0 0, rgba(0, 0, 0, 0.5) -1.1em -1.1em 0 0, rgba(0, 0, 0, 0.75) 0 -1.5em 0 0, rgba(0, 0, 0, 0.75) 1.1em -1.1em 0 0;
box-shadow: rgba(0, 0, 0, 0.75) 1.5em 0 0 0, rgba(0, 0, 0, 0.75) 1.1em 1.1em 0 0, rgba(0, 0, 0, 0.75) 0 1.5em 0 0, rgba(0, 0, 0, 0.75) -1.1em 1.1em 0 0, rgba(0, 0, 0, 0.75) -1.5em 0 0 0, rgba(0, 0, 0, 0.75) -1.1em -1.1em 0 0, rgba(0, 0, 0, 0.75) 0 -1.5em 0 0, rgba(0, 0, 0, 0.75) 1.1em -1.1em 0 0;
}
/* Animation */
@-webkit-keyframes spinner {
0% {
-webkit-transform: rotate(0deg);
-moz-transform: rotate(0deg);
-ms-transform: rotate(0deg);
-o-transform: rotate(0deg);
transform: rotate(0deg);
}
100% {
-webkit-transform: rotate(360deg);
-moz-transform: rotate(360deg);
-ms-transform: rotate(360deg);
-o-transform: rotate(360deg);
transform: rotate(360deg);
}
}
@-moz-keyframes spinner {
0% {
-webkit-transform: rotate(0deg);
-moz-transform: rotate(0deg);
-ms-transform: rotate(0deg);
-o-transform: rotate(0deg);
transform: rotate(0deg);
}
100% {
-webkit-transform: rotate(360deg);
-moz-transform: rotate(360deg);
-ms-transform: rotate(360deg);
-o-transform: rotate(360deg);
transform: rotate(360deg);
}
}
@-o-keyframes spinner {
0% {
-webkit-transform: rotate(0deg);
-moz-transform: rotate(0deg);
-ms-transform: rotate(0deg);
-o-transform: rotate(0deg);
transform: rotate(0deg);
}
100% {
-webkit-transform: rotate(360deg);
-moz-transform: rotate(360deg);
-ms-transform: rotate(360deg);
-o-transform: rotate(360deg);
transform: rotate(360deg);
}
}
@keyframes spinner {
0% {
-webkit-transform: rotate(0deg);
-moz-transform: rotate(0deg);
-ms-transform: rotate(0deg);
-o-transform: rotate(0deg);
transform: rotate(0deg);
}
100% {
-webkit-transform: rotate(360deg);
-moz-transform: rotate(360deg);
-ms-transform: rotate(360deg);
-o-transform: rotate(360deg);
transform: rotate(360deg);
}
}
.imageButton{
background-color: #3a3a3a; /* Green */
border: none;
border-radius: 3px;
color: white;
/* padding: 5px 5px; */
text-align: center;
text-decoration: none;
display: inline-block;
font-size: 18px;
}
.customIcon {
/* background: url('images/Group.svg'); */
/* background-repeat: no-repeat; */
/* background-attachment: fixed; */
/* background-position: center; */
/* background-size: 50px 70px; */
display: block;
margin-left: auto;
margin-right: auto;
/* margin-top: 5px;
margin-bottom: 5px; */
padding: 25px 10px;
height: 78px;
width: 68px;
/* display: box; */
/* flex: none; */
/* top: 50%; */
vertical-align: middle;
/* margin-top: 10px;
margin-bottom: 10px; */
overflow: visible;
/* Other styles here */
}
.resetButton{
align-items: center;
display: block;
margin-top: 20px;
margin-left: auto;
margin-right: auto;
text-align: center;
font-size: 16px;
align-self: center;
}
.active{
background-color: #656565;
}
.bonusScreen{
font-size: 32px;
padding: 12px 16px;
}
.picButtons{
margin-top: -10px;
margin-bottom: 20px;
}
.fa-tint{
color: rgb(255, 57, 57);
padding-left: 21.625px !important;
padding-right: 21.625px !important;
}
.fa-star{
width 68px;
color: rgb(206, 206, 0);
padding-right:13.75px !important;
padding-left:13.75px !important;
}
.fa-calendar-day{
padding-right:17.25px !important;
padding-left:17.25px !important;
}
.content{
width: 100%;
position: relative;
display: table;
/* margin: 30px 0; */
}
.chartNumber{
position: relative;
margin-top: 20px;
/* height: 50%;
width: 60%; */
}
.overlay {
position: fixed;
top: 0;
bottom: 0;
left: 0;
right: 0;
background: rgba(0, 0, 0, 0.7);
transition: opacity 500ms;
visibility: hidden;
opacity: 0;
z-index: 99;
overflow: auto;
}
#streakNumber{
text-align: center;
margin-top: 0;
/* margin-bottom: 10px; */
}
h3 {
text-align: center;
}
.InstructionText{
display: block;
width: 80%;
display: table-cell;
vertical-align: middle;
}
.overlay:target {
visibility: visible;
opacity: 1;
}
.popup {
text-align: left;
margin: 70px auto;
padding: 20px 50px;
background: #333;
border-radius: 5px;
width: 500px;
position: relative;
/* transition: all 1s ease-in-out; */
/* overflow: auto; */
}
.popup i{
padding: 20px 16px;
font-size: 36px;
display: block;
width: 20%;
text-align: center;
display: table-cell;
vertical-align: middle;
}
.popup h2 {
margin-top: 0;
color: white;
font-family: Tahoma, Arial, sans-serif;
}
.popup .close {
position: absolute;
top: 20px;
right: 30px;
transition: all 200ms;
font-size: 30px;
font-weight: bold;
text-decoration: none;
color: white;;
}
.popup .close:hover {
color: red;
}
.popup .content {
max-height: 30%;
overflow: auto;
}
#footer{
display:none;
font-family: 'Arial', sans-serif;
font-size: 12px;
position: fixed;
bottom: 0;
left: 0;
right: 0;
width: 100%;
text-align: center;
margin: auto;
color: #9b9b9b;
/* position: absolute; */
}
#footer a{
color:rgb(178, 0, 0);
}
#footer p{
/* margin-top: -15px; */
}
a {
color: red;
background-color: transparent;
/* text-decoration: none; */
}
body {
margin: 0px;
background-color: #121212;
color: white;
font: 16px Arial;
/* display:flex; flex-direction:column; justify-content:center; */
text-align: center;
}
p {
/* margin:0; */
}
i{
font-size: 1.5rem;
}
.mobileInfo{
display: none;
}
.bottomContainer{
padding: 16px;
}
.subnav{
margin-left: auto;
margin-right: auto;
width: 50%;
}
#shareResult{
background-color: green;
margin-top: 50px;
bottom: 5px;
display:none;
margin-left: auto;
margin-right: auto;
}
#shareResultCalender{
background-color: green;
margin-top: 20px;
bottom: 5px;
display:block;
margin-left: auto;
margin-right: auto;
}
#countDown{
display: none;
}
#guessForm{
padding-bottom: 14px;
}
#firstGuess , #secondGuess{
display: none;
margin-top: 10px;
border-style: solid;
padding-top: 10px;
padding-bottom:10px;
width: 450px;
border-radius: 5px;
border-color: #4d4d4d;
/* display: block; */
margin-left: auto;
margin-right: auto;
}
.cross{
width: 20px;
margin-left: 0px;
}
.center {
display: block;
padding: 0px 16px;
margin-left: auto;
margin-right: auto;
width: 50%;
}
figure{
width:%100;
overflow: hidden;
margin:10;
}
/* figure img{
display:block;
width:100%;
} */
.title {
position: absolute;
left: 0;
right: 0;
top: 8px;
margin: 0 auto;
}
.autocomplete {
/*the container must be positioned relative:*/
width: 100%;
text-align:left;
position: relative;
display: flex;
align-items: center;
justify-content: center;
align-self: center;
}
#guessForm {
width: 450px;
left: 0;
right: 0;
margin: 0 auto;
}
input {
border: 1px solid transparent;
background-color: #f1f1f1;
/* color: black; */
padding: 10px;
font-size: 16px;
resize: vertical;
}
input[type=text] {
background-color: #f1f1f1;
width: 100%;
border-radius: 5px;
}
input[type=button] {
border-radius: 5px;
background-color: #B91C1C;
color: #fff;
}
/* .autocomplete{
display:flex;
} */
#submitGuess{
margin-left: 8px;
background-color: #121212;
border: 1px solid orangered;
}
#submitBonusGuess{
display: none;
}
#skipBonusGuess{
display: none;
background-color: #121212;
border: 1px solid orangered;
}
.autocomplete-items {
margin-bottom: 40px;
}
.autocomplete-items {
align-self:flex-end;
position: absolute;
border: 1px solid #d4d4d4;
color: black;
border-bottom: none;
border-top: none;
z-index: 99;
/*position the autocomplete items to be the same width as the container:*/
/* top: 100%; */
left: 0;
right: 0;
}
.autocomplete-items div {
align-self:flex-end;
padding: 10px;
cursor: pointer;
background-color: #fff;
border-bottom: 1px solid #d4d4d4;
}
.autocomplete-items div:hover {
/*when hovering an item:*/
background-color: #e9e9e9;
}
.autocomplete-active {
/*when navigating through the items using the arrow keys:*/
background-color: DodgerBlue !important;
color: #ffffff;
}
/* style of navigation */
.topnav {
margin-top: 0px;
background-color: #333;
overflow: hidden;
text-align: center;
padding: 5 5 5 5;
}
/* Style the links inside the navigation bar */
.topnav a {
float: left;
color: #f2f2f2;
text-align: center;
padding: 14px 16px 14px 16px;
text-decoration: none;
font-size: 17px;
}
/* Change the color of links on hover */
.topnav a:hover {
background-color: #ddd;
color: black;
}
/* Add a color to the active/current link */
.topnav a.active {
background-color: #04AA6D;
color: white;
}
/* Right-aligned section inside the top navigation */
.topnav-right {
float: right;
}
.fa-heart{
color:red;
}
@media only screen and (max-width: 1200px) {
.subnav{
margin-left: auto;
margin-right: auto;
width: 100%;
}
.center {
display: block;
padding: 4px 16px;
margin-left: auto;
margin-right: auto;
width: 100%;
}
.resultContainer{
width: 95%;
padding: 16px 16px;
}
.resultStats{
/* padding: 0px; */
}
#firstGuess , #secondGuess{
width: 100%;
/* display: block; */
margin-left: auto;
margin-right: auto;
}
}
.archive{
position: relative;
display: flex;
justify-content: center;
align-items: center;
}
.calendar {
position: relative;
resize: horizontal;
width: 400px;
background-color: #616E7C;
box-sizing: border-box;
box-shadow: 0 5px 50px rgba(#000, 0.5);
border-radius: 8px;
overflow: hidden;
}
.calendar__date {
padding: 20px;
display: grid;
grid-template-columns: repeat(auto-fit, minmax(25px, 1fr));
grid-gap: 25px;
box-sizing: border-box;
}
.calendar__day {
display: flex;
align-items: center;
justify-content: center;
height: 25px;
font-weight: 600;
color: #F5F7FA;
}
.calendar__number {
display: flex;
align-items: center;
justify-content: center;
height: 25px;
color: #CBD2D9;
font-style:oblique;
}
.current{
border-style: solid;
/* background-color: orange; */
color: white;
background-color: grey;
border-color: black;
border-width: 2px;
font-style:normal;
border-radius: 5px;
}
.past{
background-color: #FFA000;
cursor: pointer;
color: white;
font-style:normal;
border-radius: 5px;
}
.won{
/* cursor:none; */
color: white;
cursor:default;
background-color: #00897B;
font-style:normal;
border-radius: 5px;
/* border-width: 0px; */
}
.lost{
/* cursor:none; */
color: white;
background-color: #C62828;
font-style:normal;
border-radius: 5px;
/* border-width: 0px; */
}
@media only screen and (max-width: 460px) {
.calendar {
max-width: 300px;
min-width: 300px;
}
.calendar__date {
padding: 10px;
grid-gap: 15px;
}
.movie-img img{
margin:0 -16.665%;
width:133.33%;
}
.InstructionText {
font-size: 14px;
padding-left: 10px;
}
.popup{
padding: 20px;
/* padding-left: 5px;
padding-right: 5px; */
}
#shareResult{
margin-top: 20px;
}
/* i{
padding-left: 5px !important;
padding-right: 20px;
}
.fa-tint{
padding-left: 5px !important;
}
.customIcon{
padding-left: 5px;
padding-right: 15px;
margin-left: -11px;
}
.fa-star{
padding-left: 0px !important;
} */
#winPerc, #streakNumber, #resultText, td {
font-size: 16px;
}
#congratz{
font-size: 1.5em;
}
}
@media only screen and (max-width: 600px) {
.topnav a {
text-align: center;
padding: 7px 8px 7px 8px;
text-decoration: none;
font-size: 17px;
}
i {
font-size: 1rem;
}
.wideInfo{
display: none;
}
.mobileInfo{
display: block;
}
.title {
top:0px;
position: relative;
float: left;
width: 230px;
}
i{
font-size: 1.4rem;
}
.popup{
width: 90%;
}
input {
padding: 10px;
font-size: 16px;
}
input[type=text] {
background-color: #f1f1f1;
width: 100%;
border-radius: 5px;
}
input[type=button] {
border-radius: 5px;
background-color: #B91C1C;
color: #fff;
}
#guessForm {
width: 90%;
}
}
@media only screen and (min-width: 600px) and (max-width: 1500px) {
.popup{
width: 450px;
}
}