Skip to content
Snippets Groups Projects
Commit b0a94d02 authored by Planoetscher Daniel (Student Com20)'s avatar Planoetscher Daniel (Student Com20)
Browse files

responsive fixes for intro-section

parent 02cd8c8a
No related branches found
No related tags found
1 merge request!1Adding css
...@@ -22,13 +22,9 @@ html { ...@@ -22,13 +22,9 @@ html {
max-width: 1000px; max-width: 1000px;
width: 100%; width: 100%;
margin: 0 auto; margin: 0 auto;
padding: 20px;
} }
@media screen and (min-width: 1280px) {
body {
padding-top: 100px;
}
}
body { body {
font-family: 'Poppins', sans-serif; font-family: 'Poppins', sans-serif;
...@@ -97,6 +93,7 @@ nav a { ...@@ -97,6 +93,7 @@ nav a {
.hero-section { .hero-section {
position: relative; position: relative;
} }
.hero-section .text-container { .hero-section .text-container {
width: 32%; width: 32%;
font-size: 24px; font-size: 24px;
...@@ -109,7 +106,7 @@ nav a { ...@@ -109,7 +106,7 @@ nav a {
} }
.hero-section .intro-container { .hero-section .intro-container {
height: calc(100vh - 100px); height: 100vh;
display: flex; display: flex;
flex-direction: column; flex-direction: column;
justify-content: space-between; justify-content: space-between;
...@@ -140,6 +137,7 @@ nav a { ...@@ -140,6 +137,7 @@ nav a {
width: 100%; width: 100%;
border: 10px solid var(--body-color); border: 10px solid var(--body-color);
border-radius: 25px; border-radius: 25px;
box-shadow: 0 0 40px rgba(0, 0, 0, .15);
} }
.preview-phone .inner:before { .preview-phone .inner:before {
...@@ -152,4 +150,14 @@ nav a { ...@@ -152,4 +150,14 @@ nav a {
top: 2px; top: 2px;
border-radius: 5px; border-radius: 5px;
transform: translateX(-50%); transform: translateX(-50%);
}
@media screen and (min-width: 1280px) {
body {
padding-top: 100px;
}
.hero-section .intro-container {
height: calc(100vh - 100px);
}
} }
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment