font size change

This commit is contained in:
HearMeWhisper 2021-11-27 02:33:12 +00:00
parent 71a75f002d
commit 495dc486e1
2 changed files with 121 additions and 108 deletions

View File

@ -1,66 +1,79 @@
*, *:after, *:before { *,
*:after,
*:before {
-webkit-box-sizing: border-box; -webkit-box-sizing: border-box;
-moz-box-sizing: border-box; -moz-box-sizing: border-box;
box-sizing: border-box; box-sizing: border-box;
} }
body{ body {
background-color: darkslategray; background-color: darkslategray;
/* height: 100vh; */ /* height: 100vh; */
/* width: 100vw; */ /* width: 100vw; */
/* margin: 0 auto; */ /* margin: 0 auto; */
display: flex; display: flex;
/* align-items: center */ /* align-items: center */
} }
main{ main {
display: flex; display: flex;
justify-content: space-evenly; justify-content: space-evenly;
font-family: "Lucida Grande", "Lucida Sans Unicode", "Lucida Sans", Geneva, Verdana, sans-serif; font-family: "Lucida Grande", "Lucida Sans Unicode", "Lucida Sans", Geneva,
Verdana, sans-serif;
flex-wrap: wrap; flex-wrap: wrap;
width: 100vw; width: 100vw;
height:100vh; height: 100vh;
align-items: center; align-items: center;
/* margin: 0 auto; */ /* margin: 0 auto; */
}
.name {
} font-size: 2rem;
.name{
font-size: xx-large;
display: flex; display: flex;
margin: 0 0 20px; margin: 0 0 20px;
padding: 10px 0; padding: 10px 0;
opacity: 0.9; opacity: 0.9;
background-color: #EEE; background-color: #eee;
background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #EEE), color-stop(100%, #CCC)); background-image: -webkit-gradient(
background-image: -webkit-linear-gradient(top, #EEE, #AAA); linear,
background-image: -moz-linear-gradient(top, #EEE, #AAA); left top,
background-image: -ms-linear-gradient(top, #EEE, #AAA); left bottom,
background-image: -o-linear-gradient(top, #EEE, #AAA); color-stop(0%, #eee),
background-image: linear-gradient(top, #EEE, #AAA); color-stop(100%, #ccc)
);
background-image: -webkit-linear-gradient(top, #eee, #aaa);
background-image: -moz-linear-gradient(top, #eee, #aaa);
background-image: -ms-linear-gradient(top, #eee, #aaa);
background-image: -o-linear-gradient(top, #eee, #aaa);
background-image: linear-gradient(top, #eee, #aaa);
border: 1px solid #999; border: 1px solid #999;
border-bottom: 1px solid #BBB; border-bottom: 1px solid #bbb;
border-radius: 30px; border-radius: 30px;
text-shadow: 0 1px 0 #EEE; text-shadow: 0 1px 0 #eee;
background-color: #EEE; background-color: #eee;
width: auto; width: auto;
justify-content: center; justify-content: center;
align-content: center; align-content: center;
} }
.life{ .life {
opacity: 0.9; opacity: 0.9;
background-color: #EEE; background-color: #eee;
background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #EEE), color-stop(100%, #CCC)); background-image: -webkit-gradient(
background-image: -webkit-linear-gradient(top, #EEE, #AAA); linear,
background-image: -moz-linear-gradient(top, #EEE, #AAA); left top,
background-image: -ms-linear-gradient(top, #EEE, #AAA); left bottom,
background-image: -o-linear-gradient(top, #EEE, #AAA); color-stop(0%, #eee),
background-image: linear-gradient(top, #EEE, #AAA); color-stop(100%, #ccc)
);
background-image: -webkit-linear-gradient(top, #eee, #aaa);
background-image: -moz-linear-gradient(top, #eee, #aaa);
background-image: -ms-linear-gradient(top, #eee, #aaa);
background-image: -o-linear-gradient(top, #eee, #aaa);
background-image: linear-gradient(top, #eee, #aaa);
border: 1px solid #999; border: 1px solid #999;
border-bottom: 1px solid #BBB; border-bottom: 1px solid #bbb;
border-radius: 30px; border-radius: 30px;
color: #333; color: #333;
padding: 10px 0; padding: 10px 0;
text-shadow: 0 1px 0 #EEE; text-shadow: 0 1px 0 #eee;
display: flex; display: flex;
justify-content: center; justify-content: center;
align-items: center; align-items: center;
@ -68,50 +81,49 @@
width: auto; width: auto;
font-size: 4.5rem; font-size: 4.5rem;
user-select: none; user-select: none;
} }
.life div{
margin: 15px;
}
.player{ .life div {
margin: 15px;
}
.player {
padding: 20px; padding: 20px;
display: flex; display: flex;
flex-direction: column; flex-direction: column;
margin: 3%; margin: 3%;
} }
.buttons{
.buttons {
font-size: 3em; font-size: 3em;
line-height: 1.3em; line-height: 1.3em;
text-align: center; text-align: center;
height: 65px; height: 65px;
width: 100%; width: 100%;
font-family: "Lucida Grande", "Lucida Sans Unicode", "Lucida Sans", Geneva, Verdana, sans-serif; font-family: "Lucida Grande", "Lucida Sans Unicode", "Lucida Sans", Geneva,
Verdana, sans-serif;
color: #333; color: #333;
text-shadow: 0 1px 0 #EEE; text-shadow: 0 1px 0 #eee;
opacity: 0.6; opacity: 0.6;
background-color: #EEE; background-color: #eee;
user-select: none; user-select: none;
border-radius: 30px; border-radius: 30px;
} }
#buttonWrapper{ #buttonWrapper {
display: flex; display: flex;
flex-direction: row; flex-direction: row;
justify-content:space-evenly; justify-content: space-evenly;
width: 100%; width: 100%;
position: relative; position: relative;
bottom: 0; bottom: 0;
}
} .buttonText {
.buttonText{ font-size: 0.65rem;
font-size: .6rem; }
#lifeCount {
}
#lifeCount{
padding: 10px; padding: 10px;
} }
.fiveLifeUp{ .fiveLifeUp {
color:greenyellow color: greenyellow;
} }

View File

@ -11,6 +11,7 @@ function slideout() {
} }
} }
function closemenu1() { function closemenu1() {
setTimeout(function() { setTimeout(function() {
document.getElementById("ham").className = "ham-menu"; document.getElementById("ham").className = "ham-menu";