Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -7,20 +7,30 @@ html, body {
line-height: 1.5;
}

body .va-agency-bar-container {
z-index: 10 !important;
direction: ltr !important;
}
.navbar-static-top {
z-index: 1 !important;
}
.site-footer .og-attribution .pull-left {
float: left !important;
}

h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6 {
font-weight: 300 !important;
font-family: "Montserrat", sans-serif !important;
}

/*

@media (min-width: 768px) {
#content.container {
width: 750px!important;
max-width: 100%!important;
}
#content.container {
width: 750px!important;
max-width: 100%!important;
}
*/
}
*/
@media (min-width: 980px) {
.container, .navbar-static-top .container, .navbar-fixed-top .container, .navbar-fixed-bottom .container {
max-width: 1200px !important;
Expand All @@ -33,9 +43,9 @@ h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6 {
width: 1170px!important;
max-width: 1170px!important;
}

}
*/

.main-browse.stats {
background: url(/img/networkparticles.svg);
background-position: center;
Expand All @@ -59,12 +69,17 @@ h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6 {
border-radius: 40px;
background-color: #77C5EB;
padding: 12px;
margin: 1rem auto;
margin: 1rem;
display: flex;
align-items: center;
justify-content: center;
flex-direction: column;
}
@media (max-width: 768px) {
.main-browse .module-content .cards .card {
margin: 1rem auto;
}
}
.main-browse .module-content .cards .card .card-img-top {
max-width: 100%;
max-height: 128px;
Expand All @@ -80,22 +95,21 @@ h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6 {
padding: 0 15px;
text-align: center;
}
.main-browse .module-content .cards .card .card-body .card-title {
.main-browse .module-content .cards .card .card-body .card-text {
position: relative;
color: #000000;
font-size: 36px;
font-weight: lighter;
margin: 0;
}
.main-browse .module-content .cards .card .card-body .card-title span {
font-weight: lighter;
.main-browse .module-content .cards .card .card-body .card-text.stat-number {
font-weight: normal;
font-size: 36px;
}
.main-browse .module-content .cards .card .card-body .card-text {
font-size: 21px;
.main-browse .module-content .cards .card .card-body .card-text.stat-label {
font-weight: bold;
margin: 0;
font-size: 21px;
}


/* Main Containers */
.main-browse .container .module-content h2,
.main-featured .container .module-content h2,
Expand Down Expand Up @@ -158,6 +172,10 @@ h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6 {
.main-showcase .container .module-content section .dataset-list .dataset-item:nth-child(n+3) {
margin: 0;
}
.main-featured .dataset-content,
.main-popular .dataset-content {
min-height: 235px;
}
.main-browse .container .module-content section .dataset-list .dataset-item .dataset-content,
.main-featured .container .module-content section .dataset-list .dataset-item .dataset-content,
.main-popular .container .module-content section .dataset-list .dataset-item .dataset-content,
Expand Down Expand Up @@ -186,7 +204,7 @@ h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6 {
.main-featured .container .module-content section .dataset-list .dataset-item .dataset-content h3.dataset-heading a:hover,
.main-popular .container .module-content section .dataset-list .dataset-item .dataset-content h3.dataset-heading a:hover,
.main-showcase .container .module-content section .dataset-list .dataset-item .dataset-content h3.dataset-heading a:hover {
color: rgba(255, 255, 255, 0.25);
text-decoration: underline;
}
.main-browse .container .module-content section .dataset-list .dataset-item .dataset-content h3.dataset-heading::after,
.main-featured .container .module-content section .dataset-list .dataset-item .dataset-content h3.dataset-heading::after,
Expand Down Expand Up @@ -249,7 +267,7 @@ h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6 {
margin: 0 auto;
}
.main-groups .container .module-content .groups-wrapper .group-wrapper a.browse-group:hover {
text-decoration: none;
text-decoration: underline;
color: #075A83;
}
.main-groups .container .module-content .groups-wrapper .group-wrapper a.browse-group img.browse-group-image {
Expand All @@ -265,7 +283,7 @@ h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6 {
.main-groups .container .module-content .groups-wrapper .group-wrapper a.browse-group .browse-group-title {
text-align: center;
color: #206b82;
font-size: 30px;
font-size: 24px;
}

aside.secondary .module-narrow .context-info .module-content h1 {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,40 +3,38 @@

/*Overwrite */
html, body {
font-family: 'Montserrat', sans-serif!important;
font-size: 16px;
font-weight: normal;
line-height: 1.5;
font-family: 'Montserrat', sans-serif!important;
font-size: 16px;
font-weight: normal;
line-height: 1.5;
}
h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6 {
font-weight: 300!important;
font-family: 'Montserrat', sans-serif!important;
font-weight: 300!important;
font-family: 'Montserrat', sans-serif!important;
}
/*

/*
@media (min-width: 768px) {
#content.container {
width: 750px!important;
max-width: 100%!important;
width: 750px!important;
max-width: 100%!important;
}
}
*/
}
*/
@media (min-width: 980px) {
.container, .navbar-static-top .container, .navbar-fixed-top .container, .navbar-fixed-bottom .container {
max-width: 1200px!important;
width: 100%!important;
}
}
/*
@media (min-width: 1200px) {
/*
@media (min-width: 1200px) {
#content.container {
width: 1170px!important;
max-width: 1170px!important;
width: 1170px!important;
max-width: 1170px!important;
}

}
*/

}
*/

.main-browse .module-content .cards {
display: flex;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ <h3 class="dataset-heading">
{% endif %}
{% endblock %}
{% block heading_title %}
{{ h.link_to(h.truncate(package.get('title'), 35), h.url_for('dataset.read', id=package.get('name'))) }}
{{ h.link_to(h.truncate(package.get('title'), 45), h.url_for('dataset.read', id=package.get('name'))) }}
{% endblock %}
{% block heading_meta %}
{% if package.get('state', '').startswith('draft') %}
Expand All @@ -23,7 +23,7 @@ <h3 class="dataset-heading">
{% endif %}
{% endblock %}
</h3>
<p class="dataset-description">{{ h.truncate(package.get('notes'), 80) }}</p>
<p class="dataset-description">{{ h.truncate(package.get('notes'), 90) }}</p>
{% endblock %}
</div>
{% endblock %}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,26 +7,37 @@
<div class="col-md-12 span12 col1">
<div class="module-content">
<div class="cards">
<div class="card">
<div class="card" role="region" aria-label="{{ stats.dataset_count }} datasets available">
<img class="card-img-top" src="/img/noun-data-mine.svg" alt="Data mine icon">
<div class="card-body">
<h5 class="card-title">{{ h.SI_number_span(stats.dataset_count) }}</h5>
<p class="card-text">Datasets Available</p>
<p class="card-text stat-number" aria-hidden="true">
{{ h.SI_number_span(stats.dataset_count) }}
</p>
<p class="card-text stat-label" aria-hidden="true">
Datasets Available
</p>
</div>
</div>
<div class="card">
<div class="card" role="region" aria-label="{{ data.get('total_resources') }} total resources">
<img class="card-img-top" src="/img/noun-data-analysis.svg" alt="Data analysis icon">
<div class="card-body">
<h5 class="card-title">{{ h.SI_number_span(data.get('total_resources')) }}</h5>
<p class="card-text">Total Resources</p>
<p class="card-text stat-number" aria-hidden="true">
{{ h.SI_number_span(data.get('total_resources')) }}
</p>
<p class="card-text stat-label" aria-hidden="true">
Total Resources
</p>
</div>
</div>

<div class="card">
<div class="card" role="region" aria-label="{{ stats.organization_count }} total organizations">
<img class="card-img-top" src="/img/noun-data.svg" alt="Data icon">
<div class="card-body">
<h5 class="card-title">{{ h.SI_number_span(stats.organization_count) }}</h5>
<p class="card-text">Total Organizations</p>
<p class="card-text stat-number" aria-hidden="true">
{{ h.SI_number_span(stats.organization_count) }}
</p>
<p class="card-text stat-label" aria-hidden="true">
Total Organizations
</p>
</div>
</div>
</div>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@

{%- block scripts %}
{{ super() }}
<script src=https://www.developer.virginia.gov/media/developer/resources/branding-bar/brandingbar.php data-item="va_aabrandingbar" aaname="Virginia Office of Data Governance and Analytics - Virginia Open Data Portal" aatheme="aatheme-black" aaAnchorTag="https://www.odga.virginia.gov/" aaSkipNav="mainContent" defer="" ></script>
<script src="https://www.developer.virginia.gov/media/developer/resources/branding-bar/brandingbar.js" data-item="va_aabrandingbar" data-aaname="Virginia Office of Data Governance and Analytics - Virginia Open Data Portal" data-aatheme="aatheme-black" data-aaAnchorTag="https://www.odga.virginia.gov" data-aaSkipNav="content" data-aatranslate="true" defer="" ></script>
{% endblock -%}
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,9 @@ p a,
.btn.og-login {
background-color: #165cab !important;
}
.context-info .description {
word-break: break-word;
}
.stages {
color: #616365;
}
Expand Down