Skip to content

Commit b707bea

Browse files
committed
appearance improvment in top.component
1 parent da55501 commit b707bea

4 files changed

Lines changed: 39 additions & 6 deletions

File tree

public/src/app/components/landing/top/bg-top/bg-top.component.scss

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212
width: 98%;
1313
}
1414
@media only screen and (min-width: 1500px) {
15-
height: 130vh;
15+
width: 50%;
16+
height: 120vh;
1617
}
1718
}

public/src/app/components/landing/top/greeting/greeting.component.scss

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,14 +13,32 @@
1313
transform: unset;
1414
}
1515

16+
@media only screen and (min-width: 1500px) {
17+
width: 600px
18+
}
19+
1620
&__header {
1721
font-family: 'Lato', sans-serif;
1822
color: #313131;
1923
margin: 0;
2024
font-size: 2rem;
25+
26+
@media only screen and (min-width: 1500px) {
27+
font-size: 3rem;
28+
font-weight: 100;
29+
}
2130
}
2231

2332
&__button {
2433
margin-top: 20px;
34+
35+
@media only screen and (min-width: 1500px) {
36+
& button {
37+
width: 200px;
38+
height: 60px;
39+
font-size: 1.3rem;
40+
}
41+
42+
}
2543
}
2644
}
Lines changed: 19 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,22 @@
11
.top-container {
22
position: relative;
33
min-height: 100vh;
4-
}
4+
5+
&::after {
6+
display: block;
7+
content: '';
8+
width: 100px;
9+
height: 100px;
10+
background-color: #3a55e9;
11+
border-bottom-right-radius: 50%;
12+
position: absolute;
13+
bottom: -50px;
14+
left: -100px;
15+
16+
}
17+
@media only screen and (min-width: 1500px) {
18+
border-left: 100px solid #3a55e9;
19+
min-height: 100vh;
20+
}
21+
}
22+

public/src/styles.scss

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,6 @@
55
}
66
body {
77
margin: 0;
8-
9-
@media only screen and (min-width: 1500px) {
10-
border-left: 100px solid #3a55e9;
11-
}
128
}
139

1410
* {

0 commit comments

Comments
 (0)