Skip to content

Commit aad71a6

Browse files
committed
add media screen for responsiveness
1 parent 043cbe2 commit aad71a6

File tree

2 files changed

+54
-14
lines changed

2 files changed

+54
-14
lines changed
Lines changed: 52 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,30 @@
1+
.btn-primary {
2+
background-color: #F85221;
3+
border-radius: 30px;
4+
border: none;
5+
}
16

7+
h2 {
8+
font-weight: 600;
9+
color: #5B4F62;
10+
}
211

312
h1 {
413
font-weight: 800;
5-
font-size:3em;
14+
font-size:4em;
15+
color: #5B4F62;
616

717
}
818

919
h3 {
1020
font-weight: 500;
1121
font-size: 2em;
22+
color: #831C86;
1223
}
1324

1425
#main-image {
15-
max-width: 100%
26+
padding-top: 4rem;
27+
max-width: 100%;
1628
}
1729

1830
.grid {
@@ -21,19 +33,13 @@ h3 {
2133
position: relative;
2234
width: 1300px;
2335
}
24-
@media screen and (max-width: 1199px) {
25-
.grid {
26-
display: grid;
27-
grid-template-columns: 2fr 1fr;
28-
position: relative;
29-
}
30-
}
3136

3237

3338
#logo {
3439
padding-top: 20px;
35-
padding-left: 20px;
40+
padding-left: 25px;
3641
position:absolute;
42+
max-width: 18rem;
3743
left: 0;
3844
top: 0;
3945
z-index: 10;
@@ -47,8 +53,8 @@ h3 {
4753
}
4854

4955
.text{
50-
padding-top: 100px;
51-
padding-right: 100px;
56+
padding-top: 10rem;
57+
padding-right: 150px;
5258
text-align: right;
5359
}
5460

@@ -57,3 +63,37 @@ h3 {
5763
text-align: center;
5864
}
5965

66+
67+
@media screen and (max-width: 1199px) {
68+
h1 {
69+
color:#831C86;
70+
}
71+
72+
.grid {
73+
display: grid;
74+
grid-template-columns: 1fr;
75+
position: relative;
76+
}
77+
78+
.text{
79+
padding-top: 2rem;
80+
padding-right: 0px;
81+
text-align: center;
82+
83+
}
84+
85+
.redirection {
86+
padding-top: 0px;
87+
padding-right: 0px;
88+
margin-bottom: 30px;
89+
text-align: center;
90+
}
91+
92+
#quote {
93+
display: none;
94+
}
95+
96+
.decoration {
97+
display: none;
98+
}
99+
}

src/app/modules/v2-redirect/v2-redirect.component.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929

3030
<body style="font-family: 'Montserrat';">
3131
<div>
32-
<img id="logo" src="../../../assets/img/time-tracker-logo-v2.png" alt="Time Tracker v2 logo" width="200px" />
32+
<img id="logo" src="../../../assets/img/time-tracker-logo.png" alt="Time Tracker logo"/>
3333
</div>
3434
<div class="decoration">
3535
<img src="../../../assets/img/decoration.png" alt="decoration blue splash" />
@@ -47,7 +47,7 @@ <h3 id="quote">The world is in<br />constant evolution,<br /><strong>SO ARE WE.<
4747
<h2>GO TO TIME TRACKER V2</h2>
4848
</div>
4949
<div id="link">
50-
<a class="btn btn-warning btn-lg" href="https://ui.timetrackerapp.ioet.com/" role="button"
50+
<a class="btn btn-primary btn-lg" href="https://ui.timetrackerapp.ioet.com/" role="button"
5151
>ui.timetrackerapp.ioet.com</a
5252
>
5353
</div>

0 commit comments

Comments
 (0)