-
Notifications
You must be signed in to change notification settings - Fork 5
/
banners.css
160 lines (129 loc) · 2.96 KB
/
banners.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
/* Layout */
#ucsf-banner-nav, #ucsf-banner-nav div {
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
box-sizing: border-box;
}
#ucsf-banner-nav {
background: #052049;
height: 32px;
font-family: "Helvetica Neue", "arial", sans-serif;
font-size: 14px;
text-align: center;
width: 100%;
}
#ucsf-banner-nav .inner {
margin: 0 auto;
width: 1230px;
}
#ucsf-banner-nav div.inner div {
float: left;
padding: 8px 0 7px 30px;
text-align: left;
}
#ucsf-banner-nav.logo div.inner div {
padding: 13px 0 13px 0;
}
#ucsf-banner-nav.logo,#ucsf-banner-nav.logo .inner,#ucsf-banner-nav.logo div.inner div {
height: 40px;
}
#ucsf-banner-nav div.inner div.nav {
float: right;
padding-right: 16px;
text-align: right;
}
#ucsf-banner-nav ul, #ucsf-banner-nav li {
display: inline;
margin: 0;
padding: 0;
}
#ucsf-banner-nav a {
color: #ffffff;
display: inline;
text-decoration: none;
}
#ucsf-banner-nav a:hover {
text-decoration: underline;
}
#ucsf-banner-nav.logo .inner {
height: 40px;
background: url("ucsf-logo-banner.png") 30px 50% no-repeat;
padding-left: 97px;
}
/**
* Browser-hack, targets everything but IE8 and below.
* @link http://browserhacks.com/#hack-1aaa2cce9e371d212109d5b1b8229ef6
*/
:root #ucsf-banner-nav.logo .inner {
background: url("ucsf-logo-banner.svg") 30px 50% no-repeat;
background-size: 45px 22px;
}
#ucsf-banner-nav-menu a {
padding: 0 14px;
}
/* Variations */
#ucsf-banner-nav.arial {
font-family: arial,sans-serif;
}
#ucsf-banner-nav.teal {
background: #18a3ac;
}
#ucsf-banner-nav.green {
background: #90bd31;
}
#ucsf-banner-nav.blue {
background: #178ccb;
}
#ucsf-banner-nav.orange {
background: #f48024;
}
#ucsf-banner-nav.grey {
background: #b4b9bf;
}
#ucsf-banner-nav.purple {
background: #716fb2;
}
#ucsf-banner-nav.red {
background: #ec1848;
}
#ucsf-banner-nav.yellow {
background: #ffdd00;
}
#ucsf-banner-nav.white {
background: #ffffff;
}
#ucsf-banner-nav.yellow a,#ucsf-banner-nav.white a {
color: #000000;
}
/* Responsive */
@media screen and (min-width:660px) and (max-width:1229px) {
#ucsf-banner-nav .inner {
width: 100%;
};
}
@media screen and (max-width:659px) {
#ucsf-banner-nav.logo, #ucsf-banner-nav.logo .inner, #ucsf-banner-nav.logo div.inner div {
height: 30px;
}
#ucsf-banner-nav .inner {
width: 100%;
}
#ucsf-banner-nav.logo .inner {
background: url("ucsf-logo-banner-mobile.png") 30px 50% no-repeat;
padding-left: 87px;
}
:root #ucsf-banner-nav.logo .inner {
background-size: 37px 18px;
}
#ucsf-banner-nav div.inner div {
height: 30px;
padding: 8px 0 8px 30px;
width: 100%;
}
#ucsf-banner-nav.logo div.inner div {
padding: 8px 0 8px 0;
}
#ucsf-banner-nav .logo span,#ucsf-banner-nav div.inner div.nav {
display: none;
};
}