-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathslikod.css
99 lines (97 loc) · 1.56 KB
/
slikod.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
92
93
94
95
96
97
98
99
/* clear */
body{
font-family: "myriad pro";
}
.no-space{
margin:0 !important;
padding:0 !important;
}
/*slikod grid*/
.col-6, .col-4{
position: relative;
min-height: 1px;
padding-right: 15px;
padding-left: 15px;
}
.col-6, .col-4, .img-content{
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
box-sizing: border-box;
}
.cont{
width: 80%;
margin-right: auto;
margin-left: auto;
}
@media (min-width: 992px) {
.col-6, .col-4{
float: left;
}
.col-6{
width: 50%;
}
.col-4{
width: 33.33333333%;
}
}
/*slikod*/
.news-header{
text-transform: capitalize;
}
.img-news{
padding: 1px !important;
margin-top: 2px !important;
height: 225px;
background-image: url(../img/pagani.jpg);
background-position: left !important;
background-size: cover !important;
background-origin: content-box !important;
background-repeat: no-repeat !important;
position: relative;
}
.img-container{
transition: 100ms;
line-height: 1.42857143;
}
.img-news:hover .blur{
height: 100%;
}
.img-news:hover .img-content{
display: block;
height: 150px;
}
.img-content{
position: absolute;
left: 0;
bottom: 0;
right: 0;
z-index: 1;
height: 60px;
transition: 300ms;
white-space:nowrap;
text-overflow:ellipsis;
overflow: hidden;
padding: 10px;
color: #fff;
font-weight: bold;
}
.img-content p{
white-space: normal;
margin-top: 0;
}
.tie-date i{
margin-right: 7px;
}
.blur{
position: absolute;
right: 0;
left: 0;
top: 0;
bottom: 0;
background:rgba(0,0,0,0.5);
height: 0;
transition: 200ms;
}
.img-header{
font-size: 21px;
}