Skip to content

Commit 02b793a

Browse files
MelSumnermansona
authored andcommitted
updated the background shape
1 parent 5adca24 commit 02b793a

File tree

2 files changed

+11
-8
lines changed

2 files changed

+11
-8
lines changed

addon/styles/global.css

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -90,21 +90,22 @@ h1, h2 {
9090

9191
/* the weird shit for the backgrounds */
9292
.section-bg-wrapper {
93+
height: 725px;
94+
margin-bottom: -690px;
9395
position: relative;
94-
height: 750px;
9596
width: 100%;
96-
margin-bottom: -650px;
9797
}
9898
.section-bg {
99-
position: absolute;
100-
top: 0;
99+
background-image: linear-gradient(#e04e39, #e04e39);
100+
border-top-left-radius: 7px;
101101
bottom: 0;
102-
right: 0;
103-
width: 30%;
104102
height: 100%;
105-
background-image: linear-gradient(#e04e39, #e04e39);
106-
transform: skewY(-15deg);
103+
position: absolute;
104+
right: 0;
105+
top: 0;
107106
transform-origin: bottom right;
107+
transform: skewY(-15deg);
108+
width: 30%;
108109
z-index:-1;
109110
border-top-left-radius: 7px;
110111
}

addon/styles/typography.css

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -98,5 +98,7 @@
9898

9999
.text-intro {
100100
font-size: 1.5em;
101+
font-weight: 300;
102+
line-height: 1.4;
101103
margin-bottom: 6vh;
102104
}

0 commit comments

Comments
 (0)