mirror of
https://github.com/mgrove36/landing-site.git
synced 2026-03-03 10:37:06 +00:00
Publish basic landing site
This commit is contained in:
70
assets/css/style.css
Normal file
70
assets/css/style.css
Normal file
@@ -0,0 +1,70 @@
|
||||
:root {
|
||||
--white-2: hsl(0, 0%, 98%);
|
||||
}
|
||||
|
||||
html {
|
||||
font-family: "Poppins";
|
||||
background: hsl(0, 0%, 7%);
|
||||
height: 100%;
|
||||
}
|
||||
|
||||
body {
|
||||
height: calc(100% - 32px);
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
flex-direction: column;
|
||||
padding: 16px 24px;
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
h1 {
|
||||
color: var(--white-2);
|
||||
}
|
||||
|
||||
h3 {
|
||||
color: #ff6e75;
|
||||
margin: 0;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
div {
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
flex-wrap: wrap;
|
||||
column-gap: 48px;
|
||||
row-gap: 24px;
|
||||
justify-content: center;
|
||||
}
|
||||
|
||||
a {
|
||||
padding: 48px;
|
||||
background: linear-gradient(
|
||||
to bottom right,
|
||||
hsla(240, 1%, 18%, 0.251) 0%,
|
||||
hsla(240, 2%, 11%, 0) 100%
|
||||
), hsl(240, 2%, 13%);
|
||||
box-shadow: 0 16px 30px hsla(0, 0%, 0%, 0.25);
|
||||
border-radius: 14px;
|
||||
text-decoration: none;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 24px;
|
||||
align-items: center;
|
||||
transition: transform 0.2s;
|
||||
}
|
||||
|
||||
a:hover {
|
||||
transform: scale(1.05);
|
||||
}
|
||||
|
||||
svg {
|
||||
width: 64px;
|
||||
fill: var(--white-2);
|
||||
}
|
||||
|
||||
@media screen and (max-width: 693px) {
|
||||
h1 {
|
||||
text-align: center;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user