-
Notifications
You must be signed in to change notification settings - Fork 4
/
city-content.R
169 lines (140 loc) · 4.56 KB
/
city-content.R
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
# Load Baltimore City header and footer for app
#---------------------------------------
# Load packages (only matters for publishing on shiny.io)
library(shinyjs)
#---------------------------------------
# Header
headerBaltimoreCity <- HTML('
<link rel="preconnect" href="https://fonts.gstatic.com">
<link href="https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,300;0,400;0,600;0,700;0,800;1,300;1,400;1,600;1,700;1,800&display=swap" rel="stylesheet">
<style type="text/css">
.top-nav-bar {
background: #42484f;
width: 100%;
text-align: center;
margin: 0px;
padding: 0px;
}
ul.menu {
max-width:800px;
margin:auto;
# height: 57px;
max-height: 180px;
line-height: 57px;
padding: 0;
display: flex;
flex-direction: row;
flex-wrap: wrap;
justify-content: flex-start;
padding-left: 24px;
padding-right: 24px;
}
ul.menu li {
margin: 0;
padding: 0;
display: inline-block;
}
ul.menu li a {
color: #fff;
font-family: \'Open Sans\',sans-serif;
font-size: 14px;
font-weight: normal;
padding: 0px 8px;
border-top: 3px solid transparent;
background: transparent;
height: 57px;
line-height: 57px;
text-transform: none;
display: inline-block;
text-decoration: none;
z-index:100;
}
ul.menu li.active a {
border-top-color: rgb(222, 182, 75);
}
ul.menu li.home a{
background: url(http://www.baltimorecity.gov/sites/all/themes/custom/flight_city/images/smugmug/logo.png) 0 0 no-repeat;
text-indent: -1000em;
width: 47px
}
.footer {
background-color: rgb(36, 40, 44);
}
.footer-bottom {
background-color: #1A1C20;
font-size: 10px;
}
.footer-inner {
padding-top: 20px;
padding-bottom: 20px;
}
.footer .footer-inner p {
font-family: \'Open Sans\',sans-serif !important;
font-size: 1em;
}
.footer-inner h2 {
font-family: \'Open Sans\',sans-serif !important;
font-size: 1.6em;
font-weight: 400;
}
.copyright p {
color: #fff;
font-family: \'Open Sans\',sans-serif;
font-size: .8rem;
font-weight: 400;
line-height: 1.6;
opacity: 0.5;
}
.footer-inner .right {
float: right;
}
.footer-inner .right p,
.footer h2 {
margin-bottom: 20px;
}
.footer h2,
.footer a,
.footer-bottom a{
color: rgb(140, 235, 255) !important;
font-family: \'Open Sans\',sans-serif;
}
.footer p {
color: #fff;
margin-bottom: 20px
font-family: \'Open Sans\',sans-serif;
}
.footer strong {
font-weight: bold;
color: #fcac31;
}
</style>
<div class="top-nav-bar">
<ul class="menu">
<li class="home"><a href="http://www.baltimorecity.gov">Home</a></li>
<li><a href="https://cityservices.baltimorecity.gov/paysys/" title="Pay your water, license and other bills online or in person">Online Payments</a></li>
<li><a href="http://www.baltimorecity.gov/answers" title="">How Do I?</a></li>
<li><a href="http://www.baltimorecity.gov/311-services" title="">311 Services</a></li>
<li><a href="http://www.baltimorecity.gov/government" title="">Government</a></li>
<li><a href="http://www.baltimorecity.gov/events" title="">Events</a></li>
<li class="active"><a href="http://mayor.baltimorecity.gov" title="">Office of the Mayor</a></li>
<li><a href="http://www.baltimorecity.gov/connect" title="Connect with all city entities and programs on social media">Connect</a></li>
</ul>
</div>
'
)
#---------------------------------------
# Footer
footerBaltimoreCity <- HTML('
<div class="footer">
<div class="footer-inner">
<h2 class="block-title" style="max-width:800px;margin:auto;padding: 0px 24px;">City of Baltimore</h2>
<p style="max-width:800px;margin:auto;padding: 0px 24px;"><em>City Hall - Room 250<br/>100 N. Holliday St, Baltimore, MD 21202<br/>City Operator: (410) 396-3100</em></p>
</div>
</div>
<div class="footer-bottom">
<div class="footer-inner copyright">
<p style="max-width:800px;margin:auto;padding: 0px 24px;">Copyright 2014 City of Baltimore & Brandon M. Scott, Mayor.<br>All Rights Reserved.</p>
</div>
</div>
')
#---------------------------------------