-
Notifications
You must be signed in to change notification settings - Fork 0
/
carousel.css
141 lines (112 loc) · 2.27 KB
/
carousel.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
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
/* GLOBAL STYLES
-------------------------------------------------- */
/* Padding below the footer and lighter body text */
body {
padding-top: 3rem;
padding-bottom: 3rem;
color: #b77575;
background-color: #fffdd8;
}
.btn-secondary {
color: #fff;
background-color: sandybrown;
border-color: sandybrown;
}
/* CUSTOMIZE THE CAROUSEL
-------------------------------------------------- */
/* Carousel base class */
.carousel {
margin-bottom: 4rem;
height: 20rem;
}
/* Since positioning the image, we need to help out the caption */
.carousel-caption {
bottom: 1rem;
z-index: 20;
}
/* Declare heights because of positioning of img element */
.carousel-item {
height: 20rem;
}
.carousel-item > img {
position: absolute;
top: 0;
left: 0;
min-width: 100%;
height: 32rem;
}
.carousel-caption .btn {
background-color: sandybrown;
border-color: sandybrown;
}
/* MARKETING CONTENT
-------------------------------------------------- */
/* Center align the text within the three columns below the carousel */
.marketing .col-lg-4 {
margin-bottom: 1.5rem;
text-align: center;
}
.marketing h2 {
font-weight: 400;
}
.marketing .col-lg-4 p {
margin-right: .75rem;
margin-left: .75rem;
}
/* Featurettes
------------------------- */
.featurette-divider {
margin: 1rem 0; /* Space out the Bootstrap <hr> more */
}
/* Thin out the marketing headings */
.featurette-heading {
font-weight: 300;
line-height: 1;
letter-spacing: -.05rem;
}
/* RESPONSIVE CSS
-------------------------------------------------- */
@media (min-width: 40em) {
/* Bump up size of carousel content */
.carousel-caption p {
margin-bottom: 1.25rem;
font-size: 1.25rem;
line-height: 1.4;
}
.carousel-caption {
text-shadow: 2px 2px 0px #674747;
}
.featurette-heading {
font-size: 50px;
}
}
@media (min-width: 62em) {
.featurette-heading {
margin-top: 7rem;
}
}
.navbar {
background-color: sandybrown;
}
.navbar-brand {
color: saddlebrown;
}
.navbar .nav-link {
color: saddlebrown;
}
.navbar .nav-item.active .nav-link {
color: #990000;
}
.navbar .nav-link:hover {
color: red;
}
.navbar-right a {
color: saddlebrown;
}
/* .carousel-caption p {
text-align: center;
} */
.container.marketing {
padding-top: 100px;
padding-bottom: 50px;
}