-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcarousel.css
More file actions
100 lines (86 loc) · 2.37 KB
/
Copy pathcarousel.css
File metadata and controls
100 lines (86 loc) · 2.37 KB
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
100
/* GLOBAL STYLES
-------------------------------------------------- */
body {
padding-bottom: 40px;
color: #5a5a5a;
font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
}
/* CUSTOMIZE THE CAROUSEL
-------------------------------------------------- */
.carousel-item {
height: 95vh;
}
.carousel-item img {
height: 95vh;
}
.carousel-caption {
text-align:center;
font-size: 14px;
top: 15%;
text-shadow: 0 1px 2px rgba(0,0,0,.6);
}
.carousel-caption h1 {
font-size: 24px;
}
.carousel-caption .btn-lg {
font-size: 16px;
white-space: normal;
}
.carousel-control-next {
background-image: -webkit-linear-gradient(left,rgba(0,0,0,.0001) 0,rgba(0,0,0,.5) 100%);
background-image: -o-linear-gradient(left,rgba(0,0,0,.0001) 0,rgba(0,0,0,.5) 100%);
background-image: -webkit-gradient(linear,left top,right top,from(rgba(0,0,0,.0001)),to(rgba(0,0,0,.5)));
background-image: linear-gradient(to right,rgba(0,0,0,.0001) 0,rgba(0,0,0,.5) 100%);
}
.carousel-control-prev {
background-image: -webkit-linear-gradient(right,rgba(0,0,0,.0001) 0,rgba(0,0,0,.5) 100%);
background-image: -o-linear-gradient(right,rgba(0,0,0,.0001) 0,rgba(0,0,0,.5) 100%);
background-image: -webkit-gradient(linear,right top,left top,from(rgba(0,0,0,.0001)),to(rgba(0,0,0,.5)));
background-image: linear-gradient(to left,rgba(0,0,0,.0001) 0,rgba(0,0,0,.5) 100%);
}
.carousel .blockquote {
border-left: 5px solid #eee;
font-size: 1rem;
}
/* MARKETING CONTENT
-------------------------------------------------- */
/* Center align the text within the three columns below the carousel */
.marketing h2 {
font-weight: normal;
}
/* Featurettes
------------------------- */
.featurette-divider {
margin: 80px 0; /* Space out the Bootstrap <hr> more */
}
/* Thin out the marketing headings */
.featurette-heading {
font-weight: 300;
line-height: 1;
letter-spacing: -1px;
}
/* RESPONSIVE CSS
-------------------------------------------------- */
@media (min-width: 768px) {
.carousel-item {
height: 550px;
}
.carousel-item img {
height: 550px;
}
/* Bump up size of carousel content */
.carousel-caption h1 {
font-size: 40px;
}
.carousel-caption p {
margin-bottom: 20px;
font-size: 21px;
line-height: 1.4;
}
.carousel-caption .btn-lg {
font-size: 21px;
}
.featurette-heading {
font-size: 50px;
}
}