source: src/main/resources/static/css/carousel.css@ b8dc761

Last change on this file since b8dc761 was 5577566, checked in by NikolaCenevski <cenevskinikola@…>, 3 years ago

prototip part 2

  • Property mode set to 100644
File size: 1.7 KB
Line 
1/* GLOBAL STYLES
2-------------------------------------------------- */
3/* Padding below the footer and lighter body text */
4
5body {
6 padding-top: 3rem;
7 padding-bottom: 3rem;
8 color: #5a5a5a;
9}
10
11/* CUSTOMIZE THE CAROUSEL
12-------------------------------------------------- */
13
14/* Carousel base class */
15.carousel {
16 margin-bottom: 4rem;
17}
18/* Since positioning the image, we need to help out the caption */
19.carousel-caption {
20 bottom: 3rem;
21 z-index: 10;
22}
23
24/* Declare heights because of positioning of img element */
25.carousel-item {
26 height: 40rem;
27}
28.carousel-item > img {
29 position: absolute;
30 top: 0;
31 left: 0;
32 min-width: 100%;
33 height: 40rem;
34}
35
36
37/* MARKETING CONTENT
38-------------------------------------------------- */
39
40/* Center align the text within the three columns below the carousel */
41.marketing .col-lg-4 {
42 margin-bottom: 1.5rem;
43 text-align: center;
44}
45.marketing h2 {
46 font-weight: 400;
47}
48/* rtl:begin:ignore */
49.marketing .col-lg-4 p {
50 margin-right: .75rem;
51 margin-left: .75rem;
52}
53/* rtl:end:ignore */
54
55
56/* Featurettes
57------------------------- */
58
59.featurette-divider {
60 margin: 5rem 0; /* Space out the Bootstrap <hr> more */
61}
62
63/* Thin out the marketing headings */
64.featurette-heading {
65 font-weight: 300;
66 line-height: 1;
67 /* rtl:remove */
68 letter-spacing: -.05rem;
69}
70
71
72/* RESPONSIVE CSS
73-------------------------------------------------- */
74
75@media (min-width: 40em) {
76 /* Bump up size of carousel content */
77 .carousel-caption p {
78 margin-bottom: 1.25rem;
79 font-size: 1.25rem;
80 line-height: 1.4;
81 }
82
83 .featurette-heading {
84 font-size: 50px;
85 }
86}
87
88@media (min-width: 62em) {
89 .featurette-heading {
90 margin-top: 7rem;
91 }
92}
Note: See TracBrowser for help on using the repository browser.