2a69cbb7da5cad979adc73ce44a255f697506195
[bootswatch] / swatchmaker / test / bootswatch.css
1 section {
2         margin-top: 60px;
3         padding-top: 100px;
4 }
5
6 /* index */
7
8 .tooltip-inner {
9         max-width: 500px;
10 }
11
12 .hero-unit h1,
13 .hero-unit p {
14         margin-bottom: 15px;
15 }
16
17 #footer {
18         margin-bottom: 20px;
19 }
20
21 #footer .links a {
22         margin-right: 10px;
23 }
24
25 @media (max-width: 767px) {
26
27
28         section {
29                 padding-top: 20px;
30         }
31 }
32
33 @media (max-width: 979px) and (min-width: 768px) {
34
35         section {
36                 padding-top: 20px;
37         }
38 }
39
40 /* preview */
41
42 .subhead {
43         padding-bottom: 0;
44         margin-bottom: 9px;
45 }
46
47 .subhead h1 {
48         font-size: 54px;
49 }
50
51 .subhead > div:first-child {
52         min-height: 200px;
53 }
54
55 /* subnav */
56  
57 .subnav {
58         margin-bottom: 60px;
59         width: 100%;
60         height: 36px;
61         background-color: #eeeeee; /* Old browsers */
62         background-repeat: repeat-x; /* Repeat the gradient */
63         background-image: -moz-linear-gradient(top, #f5f5f5 0%, #eeeeee 100%); /* FF3.6+ */
64         background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#f5f5f5), color-stop(100%,#eeeeee)); /* Chrome,Safari4+ */
65         background-image: -webkit-linear-gradient(top, #f5f5f5 0%,#eeeeee 100%); /* Chrome 10+,Safari 5.1+ */
66         background-image: -ms-linear-gradient(top, #f5f5f5 0%,#eeeeee 100%); /* IE10+ */
67         background-image: -o-linear-gradient(top, #f5f5f5 0%,#eeeeee 100%); /* Opera 11.10+ */
68         filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#f5f5f5', endColorstr='#eeeeee',GradientType=0 ); /* IE6-9 */
69         background-image: linear-gradient(top, #f5f5f5 0%,#eeeeee 100%); /* W3C */
70         border: 1px solid #e5e5e5;
71         -webkit-border-radius: 4px;
72         -moz-border-radius: 4px;
73         border-radius: 4px;
74 }
75  
76 .subnav .nav {
77         margin-bottom: 0;
78 }
79  
80 .subnav .nav > li > a {
81         margin: 0;
82         padding-top:    11px;
83         padding-bottom: 11px;
84         border-left: 1px solid #f5f5f5;
85         border-right: 1px solid #e5e5e5;
86         -webkit-border-radius: 0;
87         -moz-border-radius: 0;
88         border-radius: 0;
89 }
90  
91 .subnav .nav > .active > a,
92 .subnav .nav > .active > a:hover {
93         padding-left: 13px;
94         color: #777;
95         background-color: #e9e9e9;
96         border-right-color: #ddd;
97         border-left: 0;
98         -webkit-box-shadow: inset 0 3px 5px rgba(0,0,0,.05);
99         -moz-box-shadow: inset 0 3px 5px rgba(0,0,0,.05);
100         box-shadow: inset 0 3px 5px rgba(0,0,0,.05);
101 }
102  
103 .subnav .nav > .active > a .caret,
104 .subnav .nav > .active > a:hover .caret {
105         border-top-color: #777;
106 }
107  
108 .subnav .nav > li:first-child > a,
109 .subnav .nav > li:first-child > a:hover {
110         border-left: 0;
111         padding-left: 12px;
112         -webkit-border-radius: 4px 0 0 4px;
113         -moz-border-radius: 4px 0 0 4px;
114         border-radius: 4px 0 0 4px;
115 }
116  
117 .subnav .nav > li:last-child > a {
118         border-right: 0;
119 }
120  
121 .subnav .dropdown-menu {
122         -webkit-border-radius: 0 0 4px 4px;
123         -moz-border-radius: 0 0 4px 4px;
124         border-radius: 0 0 4px 4px;
125 }
126  
127 @media (max-width: 767px) {
128  
129         .subnav {
130                 position: static;
131                 top: auto;
132                 z-index: auto;
133                 width: auto;
134                 height: auto;
135                 background: #fff; /* whole background property since we use a background-image for gradient */
136                 -webkit-box-shadow: none;
137                 -moz-box-shadow: none;
138                 box-shadow: none;
139         }
140  
141         .subnav .nav > li {
142                 float: none;
143         }
144  
145         .subnav .nav > li > a {
146                 border: 0;
147         }
148  
149         .subnav .nav > li + li > a {
150                 border-top: 1px solid #e5e5e5;
151         }
152  
153         .subnav .nav > li:first-child > a,
154         .subnav .nav > li:first-child > a:hover {
155                 -webkit-border-radius: 4px 4px 0 0;
156                 -moz-border-radius: 4px 4px 0 0;
157                 border-radius: 4px 4px 0 0;
158         }
159 }
160  
161 @media (min-width: 980px) {
162   
163         .subnav-fixed {
164                 position: fixed;
165                 top: 40px;
166                 left: 0;
167                 right: 0;
168                 z-index: 1020; /* 10 less than .navbar-fixed to prevent any overlap */
169                 border-color: #d5d5d5;
170                 border-width: 0 0 1px; /* drop the border on the fixed edges */
171                 -webkit-border-radius: 0;
172                 -moz-border-radius: 0;
173                 border-radius: 0;
174                 -webkit-box-shadow: inset 0 1px 0 #fff, 0 1px 5px rgba(0,0,0,.1);
175                 -moz-box-shadow: inset 0 1px 0 #fff, 0 1px 5px rgba(0,0,0,.1);
176                 box-shadow: inset 0 1px 0 #fff, 0 1px 5px rgba(0,0,0,.1);
177                 filter: progid:DXImageTransform.Microsoft.gradient(enabled=false); /* IE6-9 */
178         }
179   
180         .subnav-fixed .nav {
181                 width: 938px;
182                 margin: 0 auto;
183                 padding: 0 1px;
184         }
185   
186         .subnav .nav > li:first-child > a,
187         .subnav .nav > li:first-child > a:hover {
188                 -webkit-border-radius: 0;
189                 -moz-border-radius: 0;
190                 border-radius: 0;
191         }
192 }
193  
194 @media (min-width: 1210px) {
195  
196         .subnav-fixed .nav {
197                 width: 1168px; /* 2px less to account for left/right borders being removed when in fixed mode */
198         }
199 }