-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcustom.css
87 lines (86 loc) · 2.49 KB
/
custom.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
/* language selector in default desktop mode*/
#headerNav #langNavigation .folder-toggle-label{
color: white !important;
border-radius: 50px;
padding: 0;
line-height: 3em;
width: 3em;
background: #292525;
border:5px solid #292525;
}
/* set selected language color to white when hamburger menu open*/
.force-mobile-nav.mobile-nav-open #sidecarNav{
color: white;
}
/* ensure selected language color remains white in hamburger after changing language*/
.mobile-nav-open #sidecarNav {
color: white !important;
}
/* add padding to languages in dropdown */
#headerNav nav .subnav, #sidecarNav nav .subnav {
background-color: #201a16;
padding: .5em 0 .5em 0;
}
/* align navbar elements to left, right is default*/
#headerNav {
text-align: left !important;
}
#headerNav #langNavigation.top{
top:-3px;
}
/* add grey circle background when suspended navbar appears after scrolling*/
#showOnScrollWrapper #langNavigation .folder-toggle-label{
background: #292525;
border:5px solid #292525;
}
/* position language selector absolutely, above other layers*/
#langNavigation{
position: absolute;
z-index: 10050;
}
#langNavigation.right{
right: 0;
}
#langNavigation.left{
left: 0;
}
#langNavigation.top{
top: 0;
}
#langNavigation.bottom{
bottom: 0;
}
/* align languages in dropdown to the left*/
html:not(.touch-styles) body:not(.always-use-overlay-nav) .nav-wrapper #langNavigation.right .folder .subnav {
left: auto;
right: 0;
text-align: left;
}
/* change padding around content of suspended navbar that appears after scrolling*/
.header-inner {
padding: 11spx 0;
}
/*custom css for screens under 480px*/
@media only screen and (max-width: 480px) {
/* prevent slideshow text from disappearing on small screens */
.sqs-gallery-block-slideshow .meta {
display: block !important;
}
/* change padding for slideshow image text */
.sqs-gallery-block-slideshow .meta-inside {
padding: 8px !important;
}
/* set max-width and margin for text box in slideshow*/
.sqs-gallery-block-slideshow.sqs-gallery-block-meta-position-bottom-left .meta {
max-width: 100% !important;
margin: 8px !important;
}
/* set text size in slideshows*/
.sqs-gallery-block-slideshow .meta .meta-description,
.sqs-gallery-block-slideshow .meta .meta-description p {
font-size: 12px !important;
}
.sqs-gallery-block-slideshow .meta .meta-title {
font-size: 12px !important;
}
}