diff --git a/ckanext/kepa/assets/css/kepa.css b/ckanext/kepa/assets/css/kepa.css new file mode 100644 index 0000000..d054ca9 --- /dev/null +++ b/ckanext/kepa/assets/css/kepa.css @@ -0,0 +1,27 @@ +.masthead { + padding: 0 !important; + background-color: #1C768F; } + +.masthead .logo-text { + color: white; + font-weight: bolder; + font-size: larger; } + +.logo-container { + display: flex; + align-items: center; } + +.logo-image { + max-width: 70px; + height: auto; } + +.vertical-line { + height: 60px; + border-left: 3px solid white; + margin: 0 10px; } + +.logo-text { + font-size: 18px; } + +.navbar-nav.ms-auto.mb-2.mb-lg-0 li { + text-transform: capitalize; } diff --git a/ckanext/kepa/assets/scss/_variables.scss b/ckanext/kepa/assets/scss/_variables.scss new file mode 100644 index 0000000..a4e941f --- /dev/null +++ b/ckanext/kepa/assets/scss/_variables.scss @@ -0,0 +1,8 @@ +$primary-color: #1C768F; +$secondary-color: #FA991C; +$text-primary: #032539; +$neutral: #FBF3F2; +$white: white; + +$bold: bolder; +$bold-size: larger; \ No newline at end of file diff --git a/ckanext/kepa/assets/scss/kepa.scss b/ckanext/kepa/assets/scss/kepa.scss new file mode 100644 index 0000000..654cb5c --- /dev/null +++ b/ckanext/kepa/assets/scss/kepa.scss @@ -0,0 +1,35 @@ +@import "variables"; + +.masthead { + padding: 0 !important; + background-color: $primary-color; +} + +.masthead .logo-text { + color: $white; + font-weight: $bold; + font-size: $bold-size; +} + +.logo-container { + display: flex; + align-items: center; +} + +.logo-image { + max-width: 70px; + height: auto; +} + +.vertical-line { + height: 60px; + border-left: 3px solid $white; + margin: 0 10px; +} + +.logo-text { + font-size: 18px; +} +.navbar-nav.ms-auto.mb-2.mb-lg-0 li { + text-transform: capitalize; + } diff --git a/ckanext/kepa/public/kepa-logo.png b/ckanext/kepa/public/kepa-logo.png new file mode 100644 index 0000000..05c7a8a Binary files /dev/null and b/ckanext/kepa/public/kepa-logo.png differ diff --git a/ckanext/kepa/public/main-kepa-img.jpg b/ckanext/kepa/public/main-kepa-img.jpg new file mode 100644 index 0000000..1d0e612 Binary files /dev/null and b/ckanext/kepa/public/main-kepa-img.jpg differ diff --git a/ckanext/kepa/templates/base.html b/ckanext/kepa/templates/base.html new file mode 100644 index 0000000..fae3172 --- /dev/null +++ b/ckanext/kepa/templates/base.html @@ -0,0 +1,9 @@ +{% ckan_extends %} + +{% block styles %} + +{{ super() }} + +{% asset 'kepa/kepa-css' %} + +{% endblock %} \ No newline at end of file diff --git a/ckanext/kepa/templates/footer.html b/ckanext/kepa/templates/footer.html new file mode 100644 index 0000000..8043995 --- /dev/null +++ b/ckanext/kepa/templates/footer.html @@ -0,0 +1,33 @@ + diff --git a/ckanext/kepa/templates/header.html b/ckanext/kepa/templates/header.html new file mode 100644 index 0000000..00ebae3 --- /dev/null +++ b/ckanext/kepa/templates/header.html @@ -0,0 +1,131 @@ +{% set dataset_type = h.default_package_type() %} + +{% block header_wrapper %} {% block header_account %} +