mirror of
https://github.com/yawaflua/LuckyDiamond.git
synced 2025-12-10 12:19:31 +02:00
added template for main block
This commit is contained in:
@@ -1,6 +1,54 @@
|
||||
/* Main */
|
||||
|
||||
.main {
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
margin-top: 48px;
|
||||
border-radius: 40px;
|
||||
background: #EF4444;
|
||||
box-shadow: 4px 4px 4px 0px rgba(0, 0, 0, 0.25);
|
||||
}
|
||||
|
||||
.main__content {
|
||||
text-align: center;
|
||||
}
|
||||
color: #FFF;
|
||||
}
|
||||
|
||||
.main__content h3 {
|
||||
text-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
|
||||
font-family: Montserrat;
|
||||
font-size: 32px;
|
||||
font-weight: 700;
|
||||
margin: 20px 0 -25px 0;
|
||||
}
|
||||
|
||||
.main__content h1 {
|
||||
text-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
|
||||
font-family: Montserrat Alternates;
|
||||
font-size: 91px;
|
||||
font-weight: 700;
|
||||
text-transform: uppercase;
|
||||
}
|
||||
|
||||
.main__content h4 {
|
||||
text-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
|
||||
font-family: Montserrat;
|
||||
font-size: 24px;
|
||||
font-weight: 700;
|
||||
text-transform: uppercase;
|
||||
}
|
||||
|
||||
@keyframes RaindowAnimate {
|
||||
0% { color: red; }
|
||||
25% { color: orange; }
|
||||
50% { color: yellow; }
|
||||
75% { color: green; }
|
||||
100% { color: blue; }
|
||||
}
|
||||
|
||||
.main__content h4 span {
|
||||
animation: RaindowAnimate 5s infinite;
|
||||
animation-delay: 1s;
|
||||
}
|
||||
|
||||
/* /Main */
|
||||
@@ -83,9 +83,8 @@ body, html {
|
||||
|
||||
.main {
|
||||
grid-area: main;
|
||||
background: #999;
|
||||
width: 60%;
|
||||
height: 50%;
|
||||
width: 80%;
|
||||
height: 90%;
|
||||
margin: 0 auto;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user