Skip to content

Commit

Permalink
Create style.css
Browse files Browse the repository at this point in the history
  • Loading branch information
hahwul authored Jul 6, 2024
1 parent d839ebe commit aef306e
Showing 1 changed file with 79 additions and 0 deletions.
79 changes: 79 additions & 0 deletions style.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,79 @@
@import url('https://fonts.googleapis.com/css2?family=Open+Sans:wght@300;400&display=swap');

:root {
--primary-color: #3a4052;
}

* {
box-sizing: border-box;
margin: 0;
padding: 0;
}

body {
font-family: 'Open Sans', sans-serif;
line-height: 1.5;
}

a {
text-decoration: none;
color: var(--primary-color);
}

h1 {
font-weight: 300;
font-size: 60px;
line-height: 1.2;
margin-bottom: 15px;
}

.showcase {
height: 100vh;
display: flex;
align-items: center;
justify-content: center;
text-align: center;
color: #fff;
padding: 0 20px;
background-color: black;
}

.content {
z-index: 2;
}

.btn {
display: inline-block;
padding: 10px 30px;
background: var(--primary-color);
color: #fff;
border-radius: 5px;
border: solid #fff 1px;
margin-top: 25px;
opacity: 0.7;
}

.btn:hover {
transform: scale(0.98);
}

#about {
padding: 40px;
text-align: center;
background-color: white;
}

#about p {
font-size: 1.2rem;
max-width: 600px;
margin: auto;
}

#about h2 {
margin: 30px 0;
color: var(--primary-color);
}

.social a {
margin: 0 5px;
}

0 comments on commit aef306e

Please sign in to comment.