Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
W
WIE_202021_CSBillero11
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Model registry
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Bernard Roland (Student Com20)
WIE_202021_CSBillero11
Commits
b0a94d02
Commit
b0a94d02
authored
3 years ago
by
Planoetscher Daniel (Student Com20)
Browse files
Options
Downloads
Patches
Plain Diff
responsive fixes for intro-section
parent
02cd8c8a
No related branches found
No related tags found
1 merge request
!1
Adding css
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/css/style.css
+14
-6
14 additions, 6 deletions
src/css/style.css
with
14 additions
and
6 deletions
src/css/style.css
+
14
−
6
View file @
b0a94d02
...
@@ -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
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment