1 | /*------------------------------------------------------------------ |
---|
2 | [Theme-1 Stylesheet] |
---|
3 | |
---|
4 | Project: Travel Error Page |
---|
5 | Version: 0.0 |
---|
6 | -------------------------------------------------------------------*/ |
---|
7 | |
---|
8 | /* |
---|
9 | -> GENERAL CSS : css for reset default style and general page style.; |
---|
10 | -> CONTENT : css for main content wrappers of page.; |
---|
11 | -> MESSAGE / .message : css for page message; |
---|
12 | -> NAVIGATION / .nav-wrapper : css for navigation of the page; |
---|
13 | -> SOCIAL LINKS / .social-links : css for social link area; |
---|
14 | -> HOVER EFFECTS : css for hover effects of the page; |
---|
15 | -> CAR MESSAGE / .msg : css for yellow car message; |
---|
16 | */ |
---|
17 | |
---|
18 | /*====================*/ |
---|
19 | |
---|
20 | /* GENERAL CSS */ |
---|
21 | *{ |
---|
22 | margin: 0px; |
---|
23 | padding: 0px; |
---|
24 | -webkit-box-sizing: border-box; |
---|
25 | -moz-box-sizing: border-box; |
---|
26 | box-sizing: border-box; |
---|
27 | } |
---|
28 | body{ |
---|
29 | color: #fff; |
---|
30 | font-family: Arial, sans-serif; |
---|
31 | } |
---|
32 | |
---|
33 | /* CONTENT */ |
---|
34 | .main-wrapper{ |
---|
35 | position: relative; |
---|
36 | top: 0px; |
---|
37 | left: 0px; |
---|
38 | } |
---|
39 | .main-wrapper > .container{ |
---|
40 | padding-top: 50px; |
---|
41 | /* width: 600px; */ |
---|
42 | margin: auto; |
---|
43 | text-align: center; |
---|
44 | } |
---|
45 | .outer-wrapper{ |
---|
46 | font-family: Arial, cursive; |
---|
47 | font-weight: normal; |
---|
48 | margin-bottom: 29px; |
---|
49 | font-size: 100px; |
---|
50 | line-height: 1.2; |
---|
51 | text-align: center; |
---|
52 | border-radius: 50px; |
---|
53 | padding: 20px 0 30px 0; |
---|
54 | background-color: rgba(78, 180, 219, 0.33); |
---|
55 | box-shadow: 0 10px 0px 0 rgba(78, 180, 219, 0.6); |
---|
56 | width: 600px; |
---|
57 | margin: 0 auto 50px auto; |
---|
58 | } |
---|
59 | .outer-wrapper span{ |
---|
60 | font-family: Arial, sans-serif; |
---|
61 | font-size: 30px; |
---|
62 | display: block; |
---|
63 | font-weight: 600; |
---|
64 | } |
---|
65 | |
---|
66 | /* MESSAGE */ |
---|
67 | .message{ |
---|
68 | text-align: center; |
---|
69 | margin-bottom: 30px; |
---|
70 | font-size: 18px; |
---|
71 | padding: 0 20px; |
---|
72 | } |
---|
73 | |
---|
74 | /* NAVIGATION */ |
---|
75 | .nav-wrapper{ |
---|
76 | display: table; |
---|
77 | margin: 0 auto 30px auto; |
---|
78 | width: 600px; |
---|
79 | /* border: 2px solid #fff; */ |
---|
80 | border-radius: 40px; |
---|
81 | background-color: rgba(78, 180, 219, 0.5); |
---|
82 | box-shadow: 0 1px 0px 1px rgba(78, 180, 219, 0.6); |
---|
83 | } |
---|
84 | .nav-wrapper a{ |
---|
85 | display: table-cell; |
---|
86 | font-size: 18px; |
---|
87 | color: #fff; |
---|
88 | padding: 11px 0 10px 0; |
---|
89 | text-decoration: none; |
---|
90 | text-align: center; |
---|
91 | border-right: 1px solid rgba(78, 180, 219, 0.8); |
---|
92 | width: 25%; |
---|
93 | vertical-align: middle; |
---|
94 | } |
---|
95 | .nav-wrapper a:last-child{ |
---|
96 | border-right: none; |
---|
97 | } |
---|
98 | .nav-wrapper a:first-child{ |
---|
99 | border-radius: 40px 0 0 40px; |
---|
100 | } |
---|
101 | .nav-wrapper a:last-child { |
---|
102 | border-radius: 0 40px 40px 0; |
---|
103 | } |
---|
104 | |
---|
105 | .nav-wrapper a:hover{ |
---|
106 | background: #fff; |
---|
107 | color: #000; |
---|
108 | } |
---|
109 | |
---|
110 | /* SOCIAL LINKS */ |
---|
111 | .social-links{ |
---|
112 | width: 100%; |
---|
113 | text-align: center; |
---|
114 | margin-bottom: 15px; |
---|
115 | clear: both; |
---|
116 | } |
---|
117 | .social-links a{ |
---|
118 | width: 40px; |
---|
119 | height: 40px; |
---|
120 | background: rgba(78, 180, 219, 0.5); |
---|
121 | display: inline-block; |
---|
122 | text-align: center; |
---|
123 | vertical-align: middle; |
---|
124 | color: #fff; |
---|
125 | font-size: 19px; |
---|
126 | margin: 1px; |
---|
127 | padding: 9px 0 0 0; |
---|
128 | border-radius: 20px; |
---|
129 | box-shadow: 0 1px 0px 1px rgba(78, 180, 219, 0.7); |
---|
130 | } |
---|
131 | p.copyrights{ |
---|
132 | font-size: 12px; |
---|
133 | text-align: center; |
---|
134 | font-family: arial; |
---|
135 | } |
---|
136 | |
---|
137 | /* HOVER EFFECTS */ |
---|
138 | .nav-wrapper a:hover,.search-box .btn:hover,.social-links a:hover{ |
---|
139 | background: #fff; |
---|
140 | color: rgb(78, 180, 219); |
---|
141 | } |
---|
142 | |
---|
143 | /* CAR MESSAGE */ |
---|
144 | .msg b { |
---|
145 | font-weight: 600; |
---|
146 | color: #7ac8e4; |
---|
147 | font-size: 18px; |
---|
148 | top: 34px; |
---|
149 | padding: 0 30px; |
---|
150 | } |
---|
151 | .msg b span { |
---|
152 | font-weight: 700; |
---|
153 | font-size: 30px; |
---|
154 | line-height: 1.1; |
---|
155 | text-transform: uppercase; |
---|
156 | } |
---|
157 | |
---|
158 | |
---|
159 | /* MEDIA QUARIES */ |
---|
160 | |
---|
161 | /*===========================================*/ |
---|
162 | /* DESKTOP LAYOUT |
---|
163 | /*===========================================*/ |
---|
164 | @media only screen and (min-width: 1200px) { |
---|
165 | |
---|
166 | } |
---|
167 | @media only screen and (min-width: 980px) { |
---|
168 | |
---|
169 | } |
---|
170 | @media only screen and (min-width: 980px) and (max-width: 1199px) { |
---|
171 | |
---|
172 | } |
---|
173 | |
---|
174 | /*===========================================*/ |
---|
175 | /* TABLET LAYOUT |
---|
176 | /*===========================================*/ |
---|
177 | @media only screen and (min-width: 768px) and (max-width: 979px) { |
---|
178 | .nav-wrapper,.outer-wrapper { width: 50%; } |
---|
179 | } |
---|
180 | |
---|
181 | /*===========================================*/ |
---|
182 | /* MOBILE LAYOUT |
---|
183 | /*===========================================*/ |
---|
184 | @media only screen and (min-width: 200px) and (max-width: 767px) { |
---|
185 | .nav-wrapper,.outer-wrapper { width: 80%; } |
---|
186 | .main-wrapper > .container{ padding-top: 20px; padding-bottom: 20px; } |
---|
187 | |
---|
188 | .outer-wrapper{ font-size: 70px; padding: 18px 0px 20px 0px; border-radius: 20px; } |
---|
189 | .outer-wrapper span{ font-size: 20px; margin-bottom: 0px;} |
---|
190 | .nav-wrapper{ display: block; } |
---|
191 | .nav-wrapper a{ display: block; width: 100%; } |
---|
192 | } |
---|
193 | @media only screen and (min-width: 200px) and (max-width: 419px) { |
---|
194 | |
---|
195 | .nav-wrapper a{ padding: 5px; } |
---|
196 | |
---|
197 | .nav-wrapper{ border-radius: 10px; } |
---|
198 | .nav-wrapper a{ border-bottom: 1px solid rgba(78, 180, 219, 0.8); } |
---|
199 | .nav-wrapper a:first-child{ border-radius: 8px 8px 0 0; } |
---|
200 | .nav-wrapper a:last-child { border-radius: 0 0 8px 8px; } |
---|
201 | } |
---|
202 | @media only screen and (min-width: 420px) and (max-width: 599px) { |
---|
203 | /* .nav-wrapper,.main-wrapper { width: 350px; } */ |
---|
204 | |
---|
205 | .nav-wrapper{ display: block; } |
---|
206 | .nav-wrapper a{ display: block; width: 100%; } |
---|
207 | .nav-wrapper{ border-radius: 10px; } |
---|
208 | .nav-wrapper a{ border-bottom: 1px solid rgba(78, 180, 219, 0.8); } |
---|
209 | .nav-wrapper a:first-child{ border-radius: 8px 8px 0 0; } |
---|
210 | .nav-wrapper a:last-child { border-radius: 0 0 8px 8px; } |
---|
211 | } |
---|
212 | @media only screen and (min-width: 600px) and (max-width: 767px) { |
---|
213 | /* .nav-wrapper,.main-wrapper { width: 650px; } */ |
---|
214 | .nav-wrapper{ display: table; } |
---|
215 | .nav-wrapper a{ display: table-cell; width: 25%; } |
---|
216 | } |
---|