-
Notifications
You must be signed in to change notification settings - Fork 1
/
overview_card.css
91 lines (81 loc) · 1.47 KB
/
overview_card.css
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
/* News Box Styles from PSL front page */
.mainNewsContainer {
width:100%;
}
.mainNewsRow {
height:550px;
}
.newsContainerDiv {
padding:5px;
height:100%;
}
.newsBigStory {
height:100%;
}
.newsMidStory {
height:50%;
}
.newsCard {
position:relative;
height:100%;
width:100%;
background-size:cover;
background-position:center;
background-repeat:no-repeat;
overflow:hidden;
border: 0px solid #ddd;
border-radius:10px;
}
.newsCard img {
position:absolute;
height:100%;
width:100%;
object-fit:cover;
/* top: -9999px;
bottom: -9999px;
left: -9999px;
right: -9999px; */
margin: auto;
}
.newsInfo {
position:absolute;
display:table;
bottom:0px;
right:0px;
min-width:100%;
}
.newsTitle {
position:absolute;
top:10px;
left:10px;
background: #333;/*rgba(52,123,58,0.8); /* blue option: rgba(0,147,178,0.8); */
padding:3px 8px 3px 8px;
font-size: 14px;
letter-spacing: 1px;
color:white;
text-transform: uppercase;
/* font-family: "Helvetica"; */
font-weight: bolder;
border-radius:20px;
}
.newsCaption {
width:100%;
color: white; /*rgb(30,30,30);*/
padding: 10px 10px 10px 10px;
font-size: 14px;
letter-spacing: 1px;
line-height: 1.25;
background-color: rgba(0,0,0,0.1);
font-weight: 200;
}
.newsCaption.darkbg {
background-color: rgba(0,0,0,0.8);
}
.newsCard img {
-webkit-transition: all 0.9s ease-in-out;
transition: all 0.9s ease-in-out;
}
.newsCard:hover img {
/* transform: rotate(2deg) scale(1.2); */
transform:scale(1.2);
}