136 lines
2.4 KiB
CSS
136 lines
2.4 KiB
CSS
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP&display=swap');
|
|
/*https://dafluffypotato.com/ */
|
|
|
|
*{
|
|
box-sizing: border-box;
|
|
margin: 0;
|
|
padding: 0;
|
|
background-color: #f2f3fe;
|
|
user-select: none;
|
|
}
|
|
|
|
header{
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
margin-bottom: 5%;
|
|
background-color: #000539;
|
|
}
|
|
|
|
.navbar_items{
|
|
padding-right: 3%;
|
|
display: flex;
|
|
flex-direction: row;
|
|
justify-content: space-around;
|
|
background-color: #000539;
|
|
}
|
|
|
|
.ni{
|
|
text-decoration: none;
|
|
cursor: pointer;
|
|
position: relative;
|
|
display: inline-block;
|
|
font-weight: bold;
|
|
font-size: 30px;
|
|
color: #f2f3fe;
|
|
background-color: #000539;
|
|
transition: right 0.15s ease-in-out;
|
|
right: 0px;
|
|
}
|
|
|
|
.outerNi{
|
|
margin: 10px;
|
|
margin-left: 15px;
|
|
}
|
|
|
|
.ni:hover{
|
|
right: -2px;
|
|
color: #7882f5;
|
|
}
|
|
|
|
/* navbar above */
|
|
|
|
#welcome{
|
|
color: #7882f5;
|
|
position: relative;
|
|
font-weight: bold;
|
|
font-size: 40px;
|
|
padding-left: 2%;
|
|
width: 30%;
|
|
background-color: #f2f3fe;
|
|
border-radius: 10px ;
|
|
transition: all 0.15s ease-in-out;
|
|
right: 0px;
|
|
}
|
|
|
|
#main_desc{
|
|
color: #5661e0;
|
|
position: relative;
|
|
font-weight: bold;
|
|
font-size: 30px;
|
|
width: 90%;
|
|
margin-top: 2%;
|
|
margin-bottom: 2%;
|
|
padding-left: 2%;
|
|
background-color: #f2f3fe;
|
|
border-radius: 10px ;
|
|
transition: all 0.15s ease-in-out;
|
|
right: 0px;
|
|
}
|
|
|
|
#main_desc:hover, #welcome:hover{
|
|
right: -2%;
|
|
box-shadow: 0px 3px 4px rgba(40, 39, 51, 0.4);
|
|
}
|
|
|
|
.mid{
|
|
margin: auto;
|
|
}
|
|
|
|
.score{
|
|
color: #5661e0;
|
|
position: relative;
|
|
font-weight: bold;
|
|
font-size: 40px;
|
|
width: 9%;
|
|
margin-top: 2%;
|
|
margin-bottom: 2%;
|
|
padding-left: 2%;
|
|
background-color: #f2f3fe;
|
|
border-radius: 10px ;
|
|
transition: all 0.15s ease-in-out;
|
|
right: 0px;
|
|
}
|
|
|
|
.score:hover{
|
|
right: -0.5%;
|
|
box-shadow: 0px 3px 4px rgba(40, 39, 51, 0.4);
|
|
}
|
|
|
|
#rect{
|
|
position: relative;
|
|
border-radius: 10px;
|
|
width: 200px;
|
|
height: 200px;
|
|
background-color: #ff0000;
|
|
box-shadow: 0px 3px 10px rgba(40, 39, 51, 0.4);
|
|
transition: all 0.2s ease-in-out;
|
|
right: 0px;
|
|
}
|
|
|
|
#rect:hover{
|
|
right: -0.1%;
|
|
box-shadow: 1px 5px 12px rgba(40, 39, 51, 0.6);
|
|
}
|
|
|
|
.footer{
|
|
color: #5661e0;
|
|
margin: 0.5%;
|
|
font-size: 20px;
|
|
transition: all 5s ease 0s;
|
|
}
|
|
|
|
.footer:hover{
|
|
color: #f2f3fe;
|
|
font-size: 8px;
|
|
} |