Skip to content

Commit

Permalink
fix: change color scheme in css (don't use preinstalled color words).…
Browse files Browse the repository at this point in the history
  • Loading branch information
LuckyDnepr committed Oct 16, 2022
1 parent 6140766 commit 06fff2a
Showing 1 changed file with 26 additions and 27 deletions.
53 changes: 26 additions & 27 deletions style.css
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
}

body {
background-color: #ffeee4;
background-color: rgb(255, 238, 228);
}

.fader {
Expand All @@ -27,7 +27,6 @@ body {
width: 60%;
margin: auto;
height: calc(100vh - 4px);
/* border: 1px solid green; */
}

.header {
Expand All @@ -40,7 +39,7 @@ body {
}

.title {
text-shadow: 3px 3px 5px steelblue;
text-shadow: 3px 3px 5px rgb(70, 130, 180);
}

.main {
Expand All @@ -64,7 +63,7 @@ body {

.nav_menu {
display: flex;
border: 1px solid steelblue;
border: 1px solid rgb(70, 130, 180);
border-radius: 10px;
margin: 1em;
}
Expand All @@ -91,20 +90,20 @@ body {

.nav_menu label {
display: inline-block;
background-color: #ddd;
background-color: rgb(221, 221, 221);
padding: 10px 20px;
margin: 1em 0;
font-family: "Mono", sans-serif, Arial;
font-size: 16px;
border: 2px solid grey;
border: 2px solid rgb(128, 128, 128);
text-align: center;
border-radius: 5px 20px 5px 20px;
cursor: pointer;
transition: all linear 0.2s;
}

.nav_menu label:hover {
box-shadow: 5px 5px 10px steelblue;
box-shadow: 5px 5px 10px rgb(70, 130, 180);
}

.fieldsize label {
Expand All @@ -116,10 +115,10 @@ body {
}

.nav_menu input[type="radio"]:checked + label {
background-color: rgba(70, 131, 180, 0.3);
border-color: steelblue;
text-shadow: 3px 3px 3px papayawhip;
box-shadow: 5px 5px 10px steelblue;
background-color: rgba(70, 131, 180, 0.302);
border-color: rgb(70, 130, 180);
text-shadow: 3px 3px 3px rgb(255, 239, 213);
box-shadow: 5px 5px 10px rgb(70, 130, 180);
font-weight: bolder;
}

Expand All @@ -144,27 +143,27 @@ body {
.start-game {
width: calc(100% - 2em);
margin: 1em;
background-color: #ddd;
border: 2px solid steelblue;
background-color: rgb(221, 221, 221);
border: 2px solid rgb(70, 130, 180);
border-radius: 5px 20px 5px 20px;
justify-self: center;
text-transform: uppercase;
font-size: large;
font-weight: bolder;
border-color: steelblue;
text-shadow: 3px 3px 3px papayawhip;
border-color: rgb(70, 130, 180);
text-shadow: 3px 3px 3px rgb(255, 239, 213);
transition: all linear 0.2s;
cursor: pointer;
grid-area: startbtn;
}

.start-game:hover {
box-shadow: 5px 5px 10px steelblue;
box-shadow: 5px 5px 10px rgb(70, 130, 180);
}

.start-game:active {
box-shadow: none;
border: 4px solid steelblue;
border: 4px solid rgb(70, 130, 180);
}

.footer {
Expand Down Expand Up @@ -201,7 +200,7 @@ body {
justify-content: center;
justify-self: center;
background: radial-gradient(rgba(70, 131, 180, 0.541), white);
border: 3px solid black;
border: 3px solid #000000;
border-radius: 10px;
transition: transform 0.75s;
transform-style: preserve-3d;
Expand All @@ -214,7 +213,7 @@ body {
width: 100%;
height: 100%;
line-height: 260px;
color: white;
color: #ffffff;
text-align: center;
font-weight: bold;
font-size: 40px;
Expand All @@ -224,7 +223,7 @@ body {
}

.card_face:hover {
border: 3px solid steelblue;
border: 3px solid rgb(70, 130, 180);
background: radial-gradient(rgba(37, 157, 255, 0.705), white);
border-radius: 10px;
}
Expand All @@ -249,7 +248,7 @@ body {
.modal {
border: 2px solid #ff5500;
border-radius: 15px;
background-color: #6926052d;
background-color: rgba(105, 38, 5, 0.176);
display: flex;
flex-direction: column;
align-items: center;
Expand All @@ -270,29 +269,29 @@ body {
}

.buttons {
color: black;
color: #000000;
width: 80%;
height: 3em;
font-size: 1.2em;
margin: 0.5em 0;
border: 2px solid #692705;
border: 2px solid rgb(105, 39, 5);
border-radius: 10px;
background-color: white;
background-color: #ffffff;
transition: all linear 0.2s;
cursor: pointer;
}

.buttons:hover {
box-shadow: 5px 5px 3px rgba(255, 255, 255, 0.473);
text-shadow: 1px 1px 2px grey;
text-shadow: 1px 1px 2px rgb(128, 128, 128);
}

.coauthorlink {
font-size: smaller;
text-decoration: none;
color: white;
color: rgb(255, 255, 255);
cursor: pointer;
text-shadow: 2px 2px 2px red;
text-shadow: 2px 2px 2px rgb(255, 0, 0);
}

.coauthorlink:hover:before {
Expand Down

0 comments on commit 06fff2a

Please sign in to comment.