forked from mindctrl/alienship
-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
1105 lines (941 loc) · 20.5 KB
/
style.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
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
/*
Theme Name: Alien Ship
Theme URI: http://www.johnparris.com/alienship/
Author: John Parris
Author URI: http://www.johnparris.com/alienship/
Description: Alien Ship is a responsive starter theme for WordPress.
Version: 0.95
License: GNU General Public License
License URI: license.txt
Tags: blue, green, silver, red, orange, white, black, light, dark, one-column, two-columns, right-sidebar, fixed-width, flexible-width, custom-colors, custom-header, custom-menu, threaded-comments, translation-ready, sticky-post, rtl-language-support, microformats, featured-images, post-formats
*/
/* Fonts
---------------------------- */
h1 {
font-size: 30px;
line-height: 36px;
}
h2 {
font-size: 24px;
line-height: 36px;
}
h3 {
font-size: 18px;
line-height: 27px;
}
h4, h5, h6 {
line-height: 18px;
}
h4 {
font-size: 14px;
}
h5 {
font-size: 12px;
}
h6 {
font-size: 11px;
}
/* Navigation
----------------------------------------------- */
/* body.logged-in > div.navbar-fixed-top {
margin-top:28px;
} */
body.logged-in > div #page,
body.logged-in > div.navbar-fixed-top {
top: 28px !important;
}
/* Remove the rounded edges from the navbar */
.navbar-inner {
border-radius: 0px 0px 0px 0px;
}
/* Fix submenu flyouts when pulled right */
.navbar .pull-right > li > .dropdown-menu .dropdown-menu {
border-radius: 0 6px 6px 6px;
left: 100%;
margin-left: -1px;
}
@media only screen and (max-width: 979px) {
/* Adjust margins on submenu flyouts when pulled right */
.navbar .pull-right > li > .dropdown-menu .dropdown-menu {
margin-left: 15px;
}
}
/* Set rounded edges on Main Menu navbar */
#main-nav > .navbar .navbar-inner {
border-radius: 4px;
}
/* Change width of responsive menu button to match width of "Menu" text */
.btn-navbar .icon-bar {
width: 35px;
}
/* Style "Menu" text in responsive menu button */
.navbar-inverse .btn-navbar .icon-bar-text {
color: #F5F5F5;
display: block;
text-align: center;
text-shadow: 0 0 0em;
vertical-align: middle;
width: auto;
}
/* Increase the Bootstrap default top/bottom padding of dropdown links */
.dropdown-menu li > a {
padding: 6px 15px;
}
/* Site description */
.navbar .brand-desc {
color: #FFFFFF;
float: left;
font-size: 13px;
font-weight: 200;
line-height: 1;
margin-left: -20px;
padding-bottom: 12px;
padding-left: 20px;
padding-right: 20px;
padding-top: 14px;
}
/* Numbered page navigation*/
#numbered-nav-below {
text-align: center;
}
/* Footer Nav / Bottom Menu */
.footer-section {
font-size: 1.3rem;
font-weight: normal;
padding-bottom: 10px;
padding-top: 20px;
}
.footer-nav li {
display: block;
float: right;
margin-bottom: 0;
padding-left: 3%;
}
/* Main Menu */
@media (max-width: 480px) {
.nav-collapse-main {
-webkit-transform: translate3d(0, 0, 0);
}
}
/* End of Main Menu */
/* Mobile Footer Nav */
@media only screen and (max-width: 767px) {
ul.footer-nav.mobile,
dl.nav.mobile {
border-bottom: 1px solid #ccc;
height: auto;
margin: 20px -10px 40px;
max-width: 100%;
width: auto;
}
ul.footer-nav.mobile li {
float: none;
height: auto;
padding-right: 0;
}
dl.nav.mobile dt {
display: none;
}
dl.nav.mobile dd {
float: none;
height: auto;
}
ul.footer-nav.mobile li a:hover {
background-color: #0088CC;
color: #ffffff;
text-decoration: none;
}
ul.footer-nav.mobile li a,
dl.nav.mobile dd a {
border: solid 0 #ccc;
-webkit-background-clip: padding-box; /* fix WebKit background bleed on border-radius */
-webkit-border-radius: 0;
-moz-border-radius: 0;
border-radius: 0;
border-width: 1px 0 0;
color: #555;
display: block;
font-size: 15px;
font-size: 1.0rem;
height: auto;
line-height: 1;
margin: 0;
padding: 18px 20px;
width: auto;
}
ul.footer-nav.mobile li a.active,
dl.nav.mobile dd a.active {
border-width: 1px 0 0;
height: auto;
margin: 0;
}
ul.footer-nav.mobile li.current-menu-item a,
dl.nav.mobile dd.current-menu-item a,
.nice.tabs.mobile dd.current-menu-item a {
background: #00a6fc;
border: none;
color: #fff;
height: auto;
margin: 0;
position: static;
top: 0px;
}
}
/* End of Navigation
----------------------------------------------- */
/* Various design elements
-------------------------- */
.sticky {
}
/* Style the comments
---------------------------------------*/
#comments {
border-top: 1px solid #EEEEEE;
margin: 40px 0 0 1px;
padding: 40px 0 0;
}
.comment.thread-even > article {
background: none repeat scroll 0 0 rgba(0, 0, 0, 0.03);
border-bottom: 1px solid rgba(0, 0, 0, 0.09);
}
#comments cite {
font-size: 15px;
font-weight: bold;
}
#comments .comment-meta {
font-size: 12px;
}
.comment-label {
display: inline;
}
/* Style comment reply link as a button */
.comment-reply-link {
-moz-border-bottom-colors: none;
-moz-border-image: none 100% 100% 100% 100% / 1 1 1 1 / 0 0 0 0 stretch stretch;
-moz-border-left-colors: none;
-moz-border-right-colors: none;
-moz-border-top-colors: none;
background-color: #F5F5F5;
background-image: -moz-linear-gradient(center top , #FFFFFF, #E6E6E6);
background-repeat: repeat-x;
border-color: #CCCCCC #CCCCCC #B3B3B3;
border-radius: 4px 4px 4px 4px;
border-style: solid;
border-width: 1px;
box-shadow: 0 1px 0 rgba(255, 255, 255, 0.2) inset, 0 1px 2px rgba(0, 0, 0, 0.05);
color: #333333;
cursor: pointer;
display: inline-block;
font-size: 11px;
line-height: 14px;
margin-bottom: 0;
padding: 2px 6px;
text-align: center;
text-shadow: 0 1px 1px rgba(255, 255, 255, 0.75);
vertical-align: middle;
}
/* Hover effect for comment reply button */
.comment-reply-link:hover {
background-color: #E6E6E6;
background-position: 0 -15px;
-moz-transition: background-position 0.1s linear 0s;
color: #FFFFFF;
text-decoration: none;
text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25);
}
/* Pad the comment list */
div.reply,
.commentlist {
padding-bottom: 7px;
}
article.comment {
margin-bottom: 20px;
padding: 7px;
}
div.comment-author {
margin-bottom: 7px;
}
div.comment-content {
margin-top: 7px;
}
div.comment-author > img.avatar {
background: none repeat scroll 0 0 #FFFFFF;
margin-right: 0.846em;
padding: 3px;
vertical-align: middle;
}
#comments ul.children {
margin-left: 20px;
}
#comments ul.children li {
border-top: 1px solid #E6E6E6;
list-style-type: none;
}
/* Highlight comments made by the post author */
.bypostauthor > article.comment {
background: none repeat scroll 0 0 rgba(70, 165, 70, 0.09);
padding-left: 10px;
}
.bypostauthor > article img.avatar {
border-bottom: 4px solid #46A546;
}
/* End of comments
---------------------------------------------------- */
/* Page / Wrapper / Content
----------------------------------------------- */
#page {
margin: 0px auto;
max-width: 940px;
}
/* The content wrapper home page called in index.php */
#main {
clear: both;
margin-bottom: 10px;
overflow: hidden;
}
#main-row {
margin-top: 10px;
}
/* The article wrapper that displays the content of a post/page/whatever */
div#content > article {
clear: both;
margin: 0 0 18px;
padding-bottom: 30px;
overflow: hidden;
}
/*Theme layouts
----------------------- */
/* One column */
.layout-1c #content {
float: none;
margin-right: 0;
width: 100%;
}
/* Two columns: sidebar left, content right. */
.layout-2c-r #content {
float: right;
}
.layout-2c-r #sidebar {
float: left;
margin-left: 0;
}
/* End of Theme layouts */
.entry-content,
.entry-summary,
.entry-content p,
.entry-summary p {
font-family: "Helvetica Neue", Helvetica;
font-size: 15px;
font-weight: 300;
line-height: 1.625;
}
.hero-unit .entry-content p {
font-size: 18px;
}
.entry-content li {
line-height: 1.625;
}
article blockquote p.callout {
font-family: Georgia, Serif;
font-size: 1.2em;
font-style: italic;
line-height: 1.5em;
margin: 10px 10px 10px 0;
}
ol > li {
margin-left: .20em;
}
/* hgroup is the header area that contains the site title and description. */
hgroup {
margin-bottom: 10px;
}
header#masthead {
padding-bottom: 20px;
}
p.site-title {
font-size: 30px;
font-weight: bold;
line-height: 36px;
margin-bottom: 0;
}
p.site-description {
font-size: 24px;
font-weight: bold;
line-height: 36px;
margin-bottom: 0;
}
mark,
ins {
background: #fff9c0;
text-decoration: none;
}
p {
margin-bottom: 1.625em;
}
/* a small bottom margin prevents content floating under images */
p img {
margin-bottom: 0.5em;
}
img[class*="align"],
img[class*="wp-image-"],
img[class*="attachment-"],
#content .gallery .gallery-icon img {
border: 1px solid #DDDDDD;
height: auto;
padding: 6px;
}
img.wp-post-image {
border: 0;
height: auto;
padding: 0;
}
img.header-image,
img.wp-post-image,
img.avatar {
-webkit-border-radius: 4px;
-moz-border-radius: 4px;
border-radius: 4px;
-webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.45);
-moz-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.45);
box-shadow: 0 2px 5px rgba(0, 0, 0, 0.45);
height: auto;
max-width: 100%;
}
/* Carousel */
.home #featured-carousel {
border-bottom: 1px solid #EEE;
margin-bottom: 45px;
padding-bottom: 30px;
}
.carousel-inner > .item > a > img {
border: 0;
border-radius: 0;
max-width: 100%;
padding: 0;
}
.carousel-control {
background-color: transparent;
border: 0 none;
font-family: "Helvetica Neue";
font-size: 100px;
text-shadow: 0 1px 1px rgba(0,0,0,.4);
}
h1, h2, h3, h4, h5, h6 {
clear: both;
}
h3, h4, h5, h6 {
line-height: 36px;
}
.alert strong {
font-size: 1.15em;
}
/* Post/page and comment content */
.entry-content {
padding: 15px 0;
}
.entry-content h1,
.entry-content h2,
.comment-content h1,
.comment-content h2 {
margin: 0 0 .8125em;
}
/* Remove margins from page-header that get set above if used inside a post/page */
.page-header h1,
.page-header h2 {
margin: 0;
}
/* Space out the archives descriptions from the names */
.page-header .taxonomy-description p {
font-size: 1.15em;
margin: 10px 3px;
}
/* Fluid images for posts, comments, and widgets */
.entry-content img,
.comment-content img,
.widget img {
max-width: 100%;
}
/* Titles in archive/index */
h2.entry-title {
margin-bottom: 0;
}
/* Remove hover underlining from post/page title link */
.entry-title a:hover {
text-decoration: none;
}
/* Pads the paging links within a post or page */
.page-links {
padding: 7px 0;
}
/* Page links */
.pagination li.active {
background-color: #EEEEEE;
-moz-border-bottom-colors: none;
-moz-border-image: none 100% 100% 100% 100% / 1 1 1 1 / 0 0 0 0 stretch stretch;
-moz-border-left-colors: none;
-moz-border-right-colors: none;
-moz-border-top-colors: none;
border-color: #DDDDDD;
border-style: solid;
border-width: 1px 1px 1px 0;
float: left;
line-height: 28px;
padding: 0 12px;
text-decoration: none;
}
.pagination li.active:first-child,
.pagination > ul > a:first-child {
border-left-width: 1px;
}
/* Meta data displayed within a post header */
header .entry-meta {
text-transform: uppercase;
font-size: 11px;
}
/* The meta data displayed within a post footer. */
footer.entry-meta {
border-bottom: 1px solid #EEEEEE;
clear: both;
font-size: 11px;
margin-bottom: 7px;
padding-bottom: 15px;
text-transform: uppercase;
}
p img,
.wp-caption {
margin-top: 0.4em;
}
/* WordPress image captions */
.wp-caption {
background: #eee;
margin-bottom: 1.625em;
max-width: 96%;
padding: 9px;
}
.wp-caption img {
display: block;
margin: 0 auto;
max-width: 98%;
}
.wp-caption .wp-caption-text,
.gallery-caption {
color: #666;
font-family: Georgia, serif;
font-size: 12px;
}
.wp-caption .wp-caption-text {
margin-bottom: 0.6em;
padding: 10px 0 5px 40px;
position: relative;
}
.wp-caption .wp-caption-text:before {
color: #666;
content: '\2014';
font-size: 14px;
font-style: normal;
font-weight: bold;
margin-right: 5px;
position: absolute;
left: 10px;
top: 7px;
}
/* Featured posts grid */
ul#featured-posts-grid > li {
-webkit-border-radius: 4px;
-moz-border-radius: 4px;
border-radius: 4px;
-webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.25);
-moz-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.25);
box-shadow: 0 2px 5px rgba(0, 0, 0, 0.25);
display: block;
height: auto;
float: left;
background-color: #EEEEEE;
margin-bottom: 25px;
padding-bottom: 2px;
}
ul#featured-posts-grid > li > header > h4 {
line-height: 18px;
}
.innergrid {
height: 85%;
float: none;
padding: 0 10px 12px;
}
.innergrid > p {
line-height: 24px;
margin-bottom: 0;
}
.innergrid > a > img {
display: block;
margin-left: auto;
margin-right: auto;
max-width: 100%;
}
.grid-header {
font-size: 14px;
line-height: 18px;
margin: 0;
padding-bottom: 5px;
text-align: center;
}
.grid-footer-meta {
font-size: 12px; text-align: center;
margin-bottom: .125em;
}
/* End of featured posts grid */
/* Copyright / bottom menu area */
.colophon {
border-top: solid 1px #ccc;
padding: 7px 0px;
text-align: center;
}
/* Page Templates */
.page-template-page-hero-php .colophon {
margin-top: 50px;
}
.page-template-page-marketing-php {
padding-top: 20px;
padding-bottom: 40px;
}
.page-template-page-marketing-php .lead {
font-size: 21px;
}
.container-narrow,
.page-template-page-marketing-php .footer {
margin: 0 auto;
max-width: 700px;
}
#marketing-header {
clear: none;
font-size: 24px;
}
.container-narrow > hr {
margin: 30px 0;
}
.page-template-page-marketing-php .entry-content {
padding: 0;
}
.jumbotron {
margin: 60px 0;
text-align: center;
}
.jumbotron h1 {
font-size: 72px;
line-height: 1;
}
.jumbotron .btn {
font-size: 21px;
padding: 14px 24px;
}
.marketing {
margin: 60px 0;
}
.marketing h4 {
font-size: 18px;
}
#marketing-bottom-wrap {
margin-top: -28px;
}
/* Text meant only for screen readers */
.assistive-text {
clip: rect(1px 1px 1px 1px); /* IE6, IE7 */
clip: rect(1px, 1px, 1px, 1px);
position: absolute !important;
}
/* Alignment */
.alignleft {
display: inline;
float: left;
margin-right: 1.625em;
}
.alignright {
display: inline;
float: right;
margin-left: 1.625em;
}
.aligncenter {
clear: both;
display: block;
margin-left: auto;
margin-right: auto;
}
img.alignright {
float:right;
margin: 0 0 1em 1em;
}
img.alignleft {
float:left;
margin:0 1em 1em 0;
}
img.aligncenter {
display: block;
margin-left: auto;
margin-right: auto;
margin-bottom: 1em;
}
/* Transform text to uppercase on the post category and tag labels/links */
.cat-links > a.label,
.tags-links > a.label {
font-size: 11px;
text-transform: uppercase;
}
.byline,
.cat-links,
.comments-link,
.published-date,
.tags-links {
margin-right: 10px;
}
/* Clear */
.clear {
clear: both;
display: block;
height: 0;
overflow: hidden;
visibility: hidden;
width: 0;
}
/* Post formats
------------------------------------ */
/* Quote post format */
.format-quote {
background: url("img/quote.png") no-repeat scroll left top;
background-size: 20px 20px;
}
.format-quote .entry-content,
.format-quote .entry-summary {
padding: 1.5em 0;
}
.format-quote cite {
margin-top: 10px;
font-style: italic;
}
.format-quote blockquote {
border-left: 0;
margin: 0 0 18px 15px;
}
.format-quote blockquote p {
font-size: 1em;
font-style: italic;
line-height: 23px;
margin-bottom: 10px;
}
/* Status post format */
.format-status p {
font-size: 18px;
}
/* Panels inspired by Zurb Foundation
--------------------------------------- */
.panel {
background: -moz-linear-gradient(center top, #EEEEEE 0%, #E6E6E6 100%) repeat scroll 0 0 transparent;
background: -webkit-gradient(linear, left top, left bottom, from(#EEEEEE), to(#E6E6E6), color-stop(0.5, #E6E6E6));
background-color: #E6E6E6;
border: 1px solid #eee;
border: 1px solid rgba(0, 0, 0, 0.05);
-webkit-border-radius: 4px;
-moz-border-radius: 4px;
border-radius: 4px;
-webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.25);
-moz-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.25);
box-shadow: 0 2px 5px rgba(0, 0, 0, 0.25);
margin-bottom: 20px;
min-height: 20px;
padding: 19px;
}
.panel blockquote {
border-color: #ddd;
border-color: rgba(0, 0, 0, 0.15);
}
/* End of Panels
----------------------------------------------- */
/* Widgets
----------------------------------------------- */
.widget {
margin: 0 0 1.5em;
}
.widget li {
font-size: 13px;
margin-bottom: 2px;
}
.widget a,
.footerwidget a {
line-height: 21px;
}
.widget select,
.widget input {
max-width: 95%;
}
.widget a:hover,
.footerwidget a:hover {
background-color: #EEEEEE;
text-decoration: none;
}
.footerwidget {
padding: 0px 0px 25px 0px;
}
.footerwidget p.entry-title {
margin-bottom: 9px;
}
/* Hide search widget submit button */
#searchsubmit {
display: none;
}
/* Shorten the search widget input */
input#s {
padding-right: 0;
width: 95%;
}
#logout-link-widget {
font-size: 11px;
}
.alienship-login-form .login-username,
.alienship-login-form .login-password {
margin-bottom: 0;
}
.alienship-login-form .login-remember input {
float: left;
margin-right: 5px
}
/* End of Widgets
---------------------------------------------- */
/* Responsive layout
---------------------------------------------- */
@media only screen and (max-width: 480px) {
/* Reduce font sizes on mobile */
h1 { font-size: 30px !important; line-height: 1.3; }
h2 { font-size: 25px !important; line-height: 1.3; }
h2.grid-header { font-size: 14px !important; }
h3 { font-size: 20px !important; line-height: 1.3; }
.navbar .brand { font-size: 17px !important; margin-left: -20px; }
.btn-navbar { margin-right: -10px; }
}
@media only screen and (max-width: 767px) {
/* Change Hero styling to better fit on mobile devices */
.hero-unit {
background-color: #f5f5f5;
-webkit-border-radius: 6px;
-moz-border-radius: 6px;
border-radius: 6px;
margin-bottom: 20px;
padding: 5px;
}
.hero-unit h1 {
font-size: 50px;
letter-spacing: -1px;
line-height: 1;
margin-bottom: 0;
}
.hero-unit p {
font-size: 18px;
font-weight: 200;
line-height: 27px;
padding: 1px;
}
}
@media only screen and (max-width: 979px) {
/* Temp fix for dropdown menus */
.nav-collapse .dropdown-menu {
display: block;
}
/* Marketing template */
.page-template-page-marketing-php {
padding: 0 15px 40px 15px;
}
/* Improve font size and spacing on dropdown menu on mobile/tablets */
.navbar .nav > li > a, .navbar .dropdown-menu a {
font-size: 18px;
font-size: 1rem;
font-weight: normal;
padding: 15px 20px;
}
/* Fix navbar top margin in responsive when admin bar is showing */
body.logged-in > div.navbar-fixed-top {
margin-top: 0px;