Skip to content
This repository was archived by the owner on Mar 4, 2025. It is now read-only.

Commit dfef934

Browse files
committed
Updates banners in the dashboard
- Only two banners are left - Their height is incremented - Ensures that images have fixed size ratio
1 parent 66938ac commit dfef934

File tree

2 files changed

+6
-17
lines changed

2 files changed

+6
-17
lines changed

app/my-dashboard/notifications/notifications.jade

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,3 @@
1616
span With
1717
br
1818
span Watson
19-
a.banner.cognitive(href="https://cognitive.topcoder.com/")
20-
span COGNITIVE
21-
br
22-
span COMMUNITY

assets/css/my-dashboard/notifications.scss

Lines changed: 6 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
}
3030
.banner{
3131
display: block;
32-
height: 180px;
32+
height: 360px;
3333
flex: 1;
3434
background-size: 100% 100%;
3535
margin-right: 2px;
@@ -40,31 +40,24 @@
4040
margin-right: 0;
4141
}
4242
&.tco17{
43-
background-image: url(../../images/home-hero.jpg);
43+
background: url(../../images/home-hero.jpg) center/cover;
4444
img{
4545
width: 150px;
46-
margin: 20px auto 0;
46+
margin: 120px auto 0;
4747
display: block;
4848
}
4949
}
5050
&.watson{
51-
background-image: url(../../images/banner-watson.jpg);
52-
padding-left: 16px;
51+
background: url(../../images/banner-watson.jpg) center/cover;
52+
padding-left: 64px;
5353
font-size: 32px;
5454
img{
5555
width: 152px;
5656
display: block;
57-
margin-top: 40px;
57+
margin-top: 64px;
5858
margin-bottom: 20px;
5959
}
6060
}
61-
&.cognitive{
62-
background-image: url(../../images/banner-cognitive.jpg);
63-
font-size: 32px;
64-
text-align: center;
65-
font-weight: bold;
66-
padding-top: 45px;
67-
}
6861
@media screen and (max-width: 768px) {
6962
margin-right: 0;
7063
margin-bottom: 2px;

0 commit comments

Comments
 (0)