horrordle/style.css

844 lines
14 KiB
CSS
Raw Permalink Normal View History

2022-08-07 03:40:24 -05:00
* { box-sizing: border-box; }
2022-09-25 08:26:54 -05:00
#button1,#button2,#button3{
display: none;
}
2023-09-30 16:05:47 -05:00
#button4{
/* width: 80px; */
font-size: 27px;
height: 60px;
}
2022-10-01 03:27:58 -05:00
2022-09-25 13:45:13 -05:00
/* #movieName,#bonusQuestion{
display: none;
} */
2022-09-28 10:35:39 -05:00
#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;
}
2022-09-26 08:14:06 -05:00
2022-10-31 08:35:47 -05:00
.gif{
transform:rotate(60deg);
width: 35px;
margin-left: 5px;
top:2px;
padding-right: 5px;
position:absolute;
display:none;
}
2022-09-28 10:35:39 -05:00
.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; */
}
2022-09-26 08:14:06 -05:00
.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);
}
}
2022-09-25 08:26:54 -05:00
.imageButton{
background-color: #3a3a3a; /* Green */
border: none;
border-radius: 3px;
color: white;
/* padding: 5px 5px; */
text-align: center;
text-decoration: none;
display: inline-block;
2022-09-25 13:45:13 -05:00
font-size: 18px;
2022-09-25 08:26:54 -05:00
}
2022-09-26 03:23:35 -05:00
.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;
2022-09-26 08:14:06 -05:00
/* margin-top: 5px;
margin-bottom: 5px; */
2022-09-26 03:23:35 -05:00
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 */
}
2022-09-25 13:45:13 -05:00
.resetButton{
align-items: center;
display: block;
2022-09-26 08:14:06 -05:00
margin-top: 20px;
2022-09-25 13:45:13 -05:00
margin-left: auto;
margin-right: auto;
text-align: center;
font-size: 16px;
align-self: center;
}
2022-09-25 08:26:54 -05:00
.active{
background-color: #656565;
}
2022-09-25 13:45:13 -05:00
.bonusScreen{
font-size: 32px;
padding: 12px 16px;
}
2022-09-25 08:26:54 -05:00
.picButtons{
2022-09-25 13:45:13 -05:00
margin-top: -10px;
2022-09-25 08:26:54 -05:00
margin-bottom: 20px;
}
2022-09-25 05:12:37 -05:00
.fa-tint{
2022-09-26 08:14:06 -05:00
color: rgb(255, 57, 57);
2022-09-25 05:12:37 -05:00
padding-left: 21.625px !important;
padding-right: 21.625px !important;
}
2022-09-26 03:23:35 -05:00
.fa-star{
width 68px;
2022-09-26 08:14:06 -05:00
color: rgb(206, 206, 0);
2022-09-26 03:23:35 -05:00
padding-right:13.75px !important;
padding-left:13.75px !important;
}
2022-10-09 10:14:30 -05:00
.fa-calendar-day{
padding-right:17.25px !important;
padding-left:17.25px !important;
}
2022-08-07 03:40:24 -05:00
.content{
width: 100%;
position: relative;
2022-09-25 05:12:37 -05:00
display: table;
/* margin: 30px 0; */
2022-08-07 03:40:24 -05:00
}
2022-09-26 08:14:06 -05:00
.chartNumber{
2022-09-25 05:12:37 -05:00
position: relative;
2022-09-26 08:14:06 -05:00
margin-top: 20px;
/* height: 50%;
width: 60%; */
}
2022-09-25 05:12:37 -05:00
2022-08-07 03:40:24 -05:00
.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;
2022-09-26 08:14:06 -05:00
overflow: auto;
2022-08-07 03:40:24 -05:00
}
2022-09-11 03:32:29 -05:00
#streakNumber{
text-align: center;
margin-top: 0;
2022-09-28 10:35:39 -05:00
/* margin-bottom: 10px; */
2022-09-11 03:32:29 -05:00
}
h3 {
text-align: center;
}
2022-08-07 03:40:24 -05:00
.InstructionText{
2022-09-25 05:12:37 -05:00
display: block;
width: 80%;
display: table-cell;
vertical-align: middle;
2022-08-07 03:40:24 -05:00
}
.overlay:target {
visibility: visible;
opacity: 1;
}
.popup {
text-align: left;
margin: 70px auto;
2022-10-01 03:27:58 -05:00
padding: 20px 50px;
2022-08-07 03:40:24 -05:00
background: #333;
border-radius: 5px;
2023-09-30 16:05:47 -05:00
width: 500px;
2022-08-07 03:40:24 -05:00
position: relative;
2022-09-29 12:57:17 -05:00
/* transition: all 1s ease-in-out; */
2022-09-26 08:14:06 -05:00
/* overflow: auto; */
2022-08-07 03:40:24 -05:00
}
.popup i{
2022-09-26 08:14:06 -05:00
padding: 20px 16px;
2022-08-07 03:40:24 -05:00
font-size: 36px;
2022-09-25 05:12:37 -05:00
display: block;
width: 20%;
text-align: center;
display: table-cell;
vertical-align: middle;
2022-08-07 03:40:24 -05:00
}
2022-09-25 05:12:37 -05:00
2022-08-07 03:40:24 -05:00
.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;
}
2022-10-09 10:14:30 -05:00
#footer{
display:none;
2022-09-07 09:05:49 -05:00
font-family: 'Arial', sans-serif;
font-size: 12px;
2024-10-26 00:57:27 -05:00
position: fixed;
bottom: 0;
2022-09-07 09:05:49 -05:00
left: 0;
right: 0;
width: 100%;
text-align: center;
margin: auto;
2022-10-09 10:14:30 -05:00
color: #9b9b9b;
2022-09-07 09:05:49 -05:00
/* position: absolute; */
}
2022-10-09 10:14:30 -05:00
#footer a{
color:rgb(178, 0, 0);
}
#footer p{
/* margin-top: -15px; */
}
2022-09-07 09:05:49 -05:00
a {
2022-10-01 03:27:58 -05:00
color: red;
background-color: transparent;
/* text-decoration: none; */
2022-09-07 09:05:49 -05:00
}
2022-08-07 03:40:24 -05:00
body {
margin: 0px;
background-color: #121212;
color: white;
font: 16px Arial;
2022-09-25 05:12:37 -05:00
/* display:flex; flex-direction:column; justify-content:center; */
2022-08-07 03:40:24 -05:00
text-align: center;
}
p {
2022-10-01 03:27:58 -05:00
/* margin:0; */
2022-08-07 03:40:24 -05:00
}
i{
font-size: 1.5rem;
}
.mobileInfo{
display: none;
}
.bottomContainer{
padding: 16px;
}
.subnav{
margin-left: auto;
margin-right: auto;
width: 50%;
}
#shareResult{
background-color: green;
2022-10-09 10:14:30 -05:00
margin-top: 50px;
2022-09-28 10:35:39 -05:00
bottom: 5px;
2022-08-07 03:40:24 -05:00
display:none;
margin-left: auto;
margin-right: auto;
}
2022-10-31 08:35:47 -05:00
#shareResultCalender{
background-color: green;
margin-top: 20px;
bottom: 5px;
display:block;
margin-left: auto;
margin-right: auto;
}
2022-09-11 07:41:49 -05:00
#countDown{
display: none;
}
2022-08-07 03:40:24 -05:00
#guessForm{
padding-bottom: 14px;
}
#firstGuess , #secondGuess{
display: none;
margin-top: 10px;
border-style: solid;
padding-top: 10px;
padding-bottom:10px;
width: 450px;
2022-09-26 08:14:06 -05:00
border-radius: 5px;
2022-09-28 03:23:05 -05:00
border-color: #4d4d4d;
2022-08-07 03:40:24 -05:00
/* display: block; */
margin-left: auto;
margin-right: auto;
}
.cross{
width: 20px;
margin-left: 0px;
}
.center {
display: block;
2022-09-25 13:45:13 -05:00
padding: 0px 16px;
2022-08-07 03:40:24 -05:00
margin-left: auto;
margin-right: auto;
width: 50%;
}
2022-09-11 07:41:49 -05:00
figure{
width:%100;
overflow: hidden;
margin:10;
}
/* figure img{
display:block;
width:100%;
} */
2022-08-07 03:40:24 -05:00
.title {
position: absolute;
left: 0;
right: 0;
2022-09-25 08:26:54 -05:00
top: 8px;
2022-08-07 03:40:24 -05:00
margin: 0 auto;
}
.autocomplete {
/*the container must be positioned relative:*/
2022-09-11 09:11:13 -05:00
width: 100%;
2022-08-07 03:40:24 -05:00
text-align:left;
position: relative;
2022-09-11 09:11:13 -05:00
display: flex;
align-items: center;
justify-content: center;
align-self: center;
2022-08-07 03:40:24 -05:00
}
#guessForm {
2022-09-26 03:23:35 -05:00
width: 450px;
2022-08-07 03:40:24 -05:00
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;
}
2022-09-11 09:11:13 -05:00
/* .autocomplete{
display:flex;
} */
#submitGuess{
margin-left: 8px;
2022-09-27 10:24:46 -05:00
background-color: #121212;
border: 1px solid orangered;
2022-09-11 09:11:13 -05:00
}
2022-09-25 13:45:13 -05:00
#submitBonusGuess{
display: none;
}
#skipBonusGuess{
display: none;
background-color: #121212;
border: 1px solid orangered;
}
2022-09-11 09:11:13 -05:00
.autocomplete-items {
margin-bottom: 40px;
}
2022-08-07 03:40:24 -05:00
.autocomplete-items {
2022-09-11 09:11:13 -05:00
align-self:flex-end;
2022-08-07 03:40:24 -05:00
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:*/
2022-09-11 09:11:13 -05:00
/* top: 100%; */
2022-08-07 03:40:24 -05:00
left: 0;
right: 0;
}
.autocomplete-items div {
2022-09-11 09:11:13 -05:00
align-self:flex-end;
2022-08-07 03:40:24 -05:00
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;
}
2022-09-07 09:05:49 -05:00
.fa-heart{
color:red;
}
2022-08-07 03:40:24 -05:00
@media only screen and (max-width: 1200px) {
.subnav{
margin-left: auto;
margin-right: auto;
width: 100%;
}
.center {
display: block;
2022-09-25 13:45:13 -05:00
padding: 4px 16px;
2022-08-07 03:40:24 -05:00
margin-left: auto;
margin-right: auto;
width: 100%;
}
2022-09-28 10:35:39 -05:00
.resultContainer{
width: 95%;
padding: 16px 16px;
}
.resultStats{
/* padding: 0px; */
}
2022-09-11 09:11:13 -05:00
2022-09-25 13:45:13 -05:00
2022-08-07 03:40:24 -05:00
#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;
2022-09-07 09:05:49 -05:00
resize: horizontal;
2022-08-07 03:40:24 -05:00
width: 400px;
2022-09-26 08:14:06 -05:00
background-color: #616E7C;
2022-08-07 03:40:24 -05:00
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;
2022-09-26 08:14:06 -05:00
color: #F5F7FA;
2022-08-07 03:40:24 -05:00
2022-08-07 03:44:52 -05:00
2022-08-07 03:40:24 -05:00
}
.calendar__number {
display: flex;
align-items: center;
justify-content: center;
height: 25px;
2022-09-26 08:14:06 -05:00
color: #CBD2D9;
2022-08-07 03:40:24 -05:00
font-style:oblique;
}
.current{
2022-09-26 08:14:06 -05:00
border-style: solid;
/* background-color: orange; */
2023-09-30 16:05:47 -05:00
color: white;
background-color: grey;
2022-08-07 03:40:24 -05:00
border-color: black;
border-width: 2px;
font-style:normal;
2023-09-30 16:05:47 -05:00
border-radius: 5px;
2022-08-07 03:40:24 -05:00
}
.past{
2022-09-26 08:14:06 -05:00
background-color: #FFA000;
2022-08-07 03:40:24 -05:00
cursor: pointer;
color: white;
font-style:normal;
2022-09-26 08:14:06 -05:00
border-radius: 5px;
2022-08-07 03:40:24 -05:00
}
.won{
/* cursor:none; */
color: white;
cursor:default;
2022-09-26 08:14:06 -05:00
background-color: #00897B;
2022-08-07 03:40:24 -05:00
font-style:normal;
2022-09-26 08:14:06 -05:00
border-radius: 5px;
2022-08-07 03:40:24 -05:00
/* border-width: 0px; */
}
.lost{
/* cursor:none; */
color: white;
2022-09-26 08:14:06 -05:00
background-color: #C62828;
2022-08-07 03:40:24 -05:00
font-style:normal;
2022-09-26 08:14:06 -05:00
border-radius: 5px;
2022-08-07 03:40:24 -05:00
/* border-width: 0px; */
}
2022-09-07 09:05:49 -05:00
@media only screen and (max-width: 460px) {
.calendar {
max-width: 300px;
min-width: 300px;
}
.calendar__date {
padding: 10px;
grid-gap: 15px;
}
2022-09-11 07:41:49 -05:00
.movie-img img{
margin:0 -16.665%;
width:133.33%;
}
2022-09-26 08:14:06 -05:00
.InstructionText {
font-size: 14px;
padding-left: 10px;
}
.popup{
2022-10-01 03:27:58 -05:00
padding: 20px;
2022-09-26 08:14:06 -05:00
/* padding-left: 5px;
padding-right: 5px; */
}
2022-10-09 10:14:30 -05:00
#shareResult{
margin-top: 20px;
}
2022-09-26 08:14:06 -05:00
/* 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;
} */
2022-09-28 10:35:39 -05:00
#winPerc, #streakNumber, #resultText, td {
font-size: 16px;
}
#congratz{
font-size: 1.5em;
}
2022-09-07 09:05:49 -05:00
}
2022-08-07 03:40:24 -05:00
2022-09-11 07:41:49 -05:00
2022-08-07 03:40:24 -05:00
@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 {
2022-09-25 08:26:54 -05:00
top:0px;
2022-08-07 03:40:24 -05:00
position: relative;
float: left;
2022-09-25 08:26:54 -05:00
width: 230px;
}
i{
font-size: 1.4rem;
2022-08-07 03:40:24 -05:00
}
.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 {
2022-09-11 09:11:13 -05:00
width: 90%;
2022-08-07 03:40:24 -05:00
}
}
2022-09-07 09:05:49 -05:00
@media only screen and (min-width: 600px) and (max-width: 1500px) {
.popup{
width: 450px;
}
}