sf-cec / style.css
Rebel Artimus
Add 3 files
8292c67
/*Base Styles*/
* {
box-sizing: border-box;
margin: 0;
padding: 0;
font-family: Arial, sans-serif;
}
body {
min-heigth: 100vh;
min-width: 100vw;
background-color: #f8f8f8;
display: flex;
justify-content: center;
align-items: center;
}
.container {
margin: 20px;
}
.text-center {
text-align: center;
}
.text-green-600 {
color: #2f3238;
}
.text-lg {
font-size: 1.38rem;
}
.text-2xl {
font-size: 1.75rem;
}
.font-sans {
font-family: Arial, sans-serif;
}
.font-light {
font-weight: 200;
}
.font-bolder {
font-weight: 800;
}
.border {
border-width: 2px;
border-color: #a0aec0;
border-style: solid;
}
.rounded-xl {
border-radius: 1rem;
}
.shadow-xl {
box-shadow: 0 10px 20px rgba(0, 0, 0, 0.19), 0 6px 6px rgba(0, 0, 0, 0.23);
}
.mt-4 {
margin-top: 1rem;
}
.m-4 {
margin: 1rem;
}
.p-4 {
padding: 1rem;
}
.flex {
display: flex;
justify-content: center;
align-items: center;
}
/*Mario Character*/
#mario {
position: fixed;
top: 50%;
left: 50%;
width: 240px;
height: 240px;
z-index: 9999;
transform: translate(-50%, -50%);
}
#mario-right {
position: fixed;
top: 50%;
left: 50%;
width: 240px;
height: 240px;
z-index: 9999;
transform: translate(-50%, -50%);
}
#mario-left img {
animation: moveLeft 3s linear infinite;
}
#mario-right img {
animation: moveRight 3s linear infinite;
}
@keyframes moveLeft {
0% {
left: -100px;
}
100% {
left: 100px;
}
}
@keyframes moveRight {
0% {
right: -100px;
}
100% {
right: 100px;
}
}