Skip to content

Commit

Permalink
Fix the ciroh theme, and add fonts to the other ones
Browse files Browse the repository at this point in the history
  • Loading branch information
romer8 committed Mar 10, 2024
1 parent 090e1ac commit 1aa469b
Show file tree
Hide file tree
Showing 16 changed files with 70 additions and 258 deletions.
5 changes: 5 additions & 0 deletions backend/static/css/bussiness.css
Original file line number Diff line number Diff line change
@@ -1,4 +1,9 @@
@charset "UTF-8";
@import url('https://fonts.googleapis.com/css2?family=Open+Sans:wght@400;700&family=Ubuntu:wght@400;700&display=swap');
@import url('https://fonts.googleapis.com/css?family=Raleway:300,400,700&display=swap');
@import url('https://fonts.googleapis.com/css?family=Roboto:300,400,700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Poppins:300,400,700&display=swap');

/*!
* Start Bootstrap - Modern Business v5.0.7 (https://startbootstrap.com/template-overviews/modern-business)
* Copyright 2013-2023 Start Bootstrap
Expand Down
182 changes: 4 additions & 178 deletions backend/static/css/ciroh.css
Original file line number Diff line number Diff line change
@@ -1,14 +1,12 @@
/* @import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;700&family=Ubuntu:wght@400;700&display=swap'); */
@import url('https://fonts.googleapis.com/css2?family=Open+Sans:wght@400;700&family=Ubuntu:wght@400;700&display=swap');
@import url('https://fonts.googleapis.com/css?family=Raleway:300,400,700&display=swap');
@import url('https://fonts.googleapis.com/css?family=Roboto:300,400,700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Poppins:300,400,700&display=swap');

/* Apply the fonts to your elements */
body {
font-family: 'Open Sans', sans-serif;
}

h1, h2 {
font-family: 'Ubuntu', sans-serif;
}

#header-navbar{
background-color: white;
}
Expand All @@ -27,181 +25,9 @@ h1, h2 {
.flex-logos-header img{
height: 45px;
}
.text-ciroh{
text-wrap: wrap;
width: 55%;
display: block;
text-align: center;
font-size: 16px;
color: #1c1e21;
font-weight: 500;
padding-left: 5px;
text-rendering: optimizelegibility;
font: 100% 1.65 'Roboto', sans-serif;
}
.hero-heading {
margin-bottom: 30px;
color: white;
font-size: 60px;
line-height: 60px;
font-weight: 300;
letter-spacing: 4px;
text-transform: uppercase;
}

.hero-subheading {
margin-bottom: 40px;
color: white;
font-size: 25px;
line-height: 25px;
font-weight: 300;
letter-spacing: 3px;
text-transform: uppercase;
}
.hero-subheading-dark {
margin-bottom: 40px;
color: white;
font-size: 25px;
line-height: 25px;
font-weight: 300;
letter-spacing: 3px;
text-transform: uppercase;
}


.section-heading {
color: rgb(103, 103, 112);
font-size: 30px;
font-weight: 300;
text-align: center;
letter-spacing: 5px;
text-transform: uppercase;
margin-top: 0px;
margin-bottom: 16px;
}


.section-subheading {
color: #1c1e21;
font-size: 16px;
font-weight: 300;
text-align: center;
letter-spacing: 5px;
}
.white-box {
padding: 15px;
border-style: solid;
border-width: 1px;
border-color: rgb(220, 235, 247);
border-radius: 5px;
background-color: white;
text-align: center;
}

.card-h3 {
margin-top: 0px;
margin-bottom: 0px;
color: #1c1e21;
font-size: 20px;
line-height: 30px;
font-weight: 300;
letter-spacing: 7px;
text-transform: uppercase;
}

.card-p {
margin-top: 10px;
margin-bottom: 10px;
font-size: 14px;
line-height: 25px;
font-weight: 300;
}
.card-h5 {
margin-top: 0px;
margin-bottom: 20px;
color: #1c1e21;
font-size: 18px;
line-height: 20px;
font-weight: 300;
letter-spacing: 4px;
text-transform: uppercase;
}

.white-box-transparent {
padding: 15px;
border-width: 1px;
border-color: rgb(220, 235, 247);
border-radius: 5px;
text-align: center;
border-style: none;
background-color: transparent;
}

.section-heading-white {
color: white;
font-size: 30px;
font-weight: 300;
text-align: center;
letter-spacing: 5px;
text-transform: uppercase;
margin-top: 0px;
margin-bottom: 16px;
}
.section-subheading-white {
color: white;
font-size: 18px;
font-weight: 300;
text-align: center;
letter-spacing: 3px;
text-transform: uppercase;
}



.card-h3-white {
margin-top: 0px;
margin-bottom: 0px;
color: white;
font-size: 20px;
line-height: 30px;
font-weight: 300;
letter-spacing: 7px;
text-transform: uppercase;
}

.card-p-white {
margin-top: 10px;
margin-bottom: 10px;
color: white;
font-size: 14px;
line-height: 25px;
font-weight: 300;
}

.card-h2 {
margin-top: 0px;
margin-bottom: 10px;
color: #1c1e21;
font-size: 32px;
line-height: 36px;
font-weight: 300;
text-align: center;
}
.card-p{
margin-top: 10px;
margin-bottom: 10px;
font-size: 14px;
line-height: 25px;
font-weight: 300;
}




/* .site-header .navbar {
border-radius: 40px;
transition: all .2s ease-in-out;
} */
.site-header .navbar.fixed-top {
border-radius: 0;
margin: 0 !important;
Expand Down
6 changes: 6 additions & 0 deletions backend/static/css/darkly.css
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
@charset "UTF-8";

/*!
* Bootswatch v5.3.0 (https://bootswatch.com)
* Theme: darkly
Expand All @@ -12,6 +13,11 @@
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)
*/
@import url("https://fonts.googleapis.com/css2?family=Lato:ital,wght@0,400;0,700;1,400&display=swap");
@import url('https://fonts.googleapis.com/css2?family=Open+Sans:wght@400;700&family=Ubuntu:wght@400;700&display=swap');
@import url('https://fonts.googleapis.com/css?family=Raleway:300,400,700&display=swap');
@import url('https://fonts.googleapis.com/css?family=Roboto:300,400,700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Poppins:300,400,700&display=swap');

:root,
[data-bs-theme=light] {
--bs-blue: #375a7f;
Expand Down
5 changes: 5 additions & 0 deletions backend/static/css/flatly.css
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,11 @@
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)
*/
@import url("https://fonts.googleapis.com/css2?family=Lato:ital,wght@0,400;0,700;1,400&display=swap");
@import url('https://fonts.googleapis.com/css2?family=Open+Sans:wght@400;700&family=Ubuntu:wght@400;700&display=swap');
@import url('https://fonts.googleapis.com/css?family=Raleway:300,400,700&display=swap');
@import url('https://fonts.googleapis.com/css?family=Roboto:300,400,700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Poppins:300,400,700&display=swap');

:root,
[data-bs-theme=light] {
--bs-blue: #2c3e50;
Expand Down
5 changes: 5 additions & 0 deletions backend/static/css/lux.css
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,11 @@
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)
*/
@import url("https://fonts.googleapis.com/css2?family=Nunito+Sans:wght@400;600&display=swap");
@import url('https://fonts.googleapis.com/css2?family=Open+Sans:wght@400;700&family=Ubuntu:wght@400;700&display=swap');
@import url('https://fonts.googleapis.com/css?family=Raleway:300,400,700&display=swap');
@import url('https://fonts.googleapis.com/css?family=Roboto:300,400,700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Poppins:300,400,700&display=swap');

:root,
[data-bs-theme=light] {
--bs-blue: #007bff;
Expand Down
5 changes: 5 additions & 0 deletions backend/static/css/materia.css
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,11 @@
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)
*/
@import url("https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;500;700&display=swap");
@import url('https://fonts.googleapis.com/css2?family=Open+Sans:wght@400;700&family=Ubuntu:wght@400;700&display=swap');
@import url('https://fonts.googleapis.com/css?family=Raleway:300,400,700&display=swap');
@import url('https://fonts.googleapis.com/css?family=Roboto:300,400,700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Poppins:300,400,700&display=swap');

:root,
[data-bs-theme=light] {
--bs-blue: #2196f3;
Expand Down
5 changes: 5 additions & 0 deletions backend/static/css/minty.css
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,11 @@
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)
*/
@import url("https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;700&display=swap");
@import url('https://fonts.googleapis.com/css2?family=Open+Sans:wght@400;700&family=Ubuntu:wght@400;700&display=swap');
@import url('https://fonts.googleapis.com/css?family=Raleway:300,400,700&display=swap');
@import url('https://fonts.googleapis.com/css?family=Roboto:300,400,700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Poppins:300,400,700&display=swap');

:root,
[data-bs-theme=light] {
--bs-blue: #007bff;
Expand Down
5 changes: 5 additions & 0 deletions backend/static/css/morph.css
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,11 @@
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)
*/
@import url("https://fonts.googleapis.com/css2?family=Nunito:wght@400;600;700&display=swap");
@import url('https://fonts.googleapis.com/css2?family=Open+Sans:wght@400;700&family=Ubuntu:wght@400;700&display=swap');
@import url('https://fonts.googleapis.com/css?family=Raleway:300,400,700&display=swap');
@import url('https://fonts.googleapis.com/css?family=Roboto:300,400,700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Poppins:300,400,700&display=swap');

:root,
[data-bs-theme=light] {
--bs-blue: #378dfc;
Expand Down
5 changes: 5 additions & 0 deletions backend/static/css/slate.css
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,11 @@
* Copyright 2011-2023 The Bootstrap Authors
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)
*/
@import url('https://fonts.googleapis.com/css2?family=Open+Sans:wght@400;700&family=Ubuntu:wght@400;700&display=swap');
@import url('https://fonts.googleapis.com/css?family=Raleway:300,400,700&display=swap');
@import url('https://fonts.googleapis.com/css?family=Roboto:300,400,700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Poppins:300,400,700&display=swap');

:root,
[data-bs-theme=light] {
--bs-blue: #007bff;
Expand Down
5 changes: 5 additions & 0 deletions backend/static/css/solar.css
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,11 @@
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)
*/
@import url("https://fonts.googleapis.com/css2?family=Source+Sans+Pro:wght@400;600;700&display=swap");
@import url('https://fonts.googleapis.com/css2?family=Open+Sans:wght@400;700&family=Ubuntu:wght@400;700&display=swap');
@import url('https://fonts.googleapis.com/css?family=Raleway:300,400,700&display=swap');
@import url('https://fonts.googleapis.com/css?family=Roboto:300,400,700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Poppins:300,400,700&display=swap');

:root,
[data-bs-theme=light] {
--bs-blue: #b58900;
Expand Down
5 changes: 5 additions & 0 deletions backend/static/css/spacelab.css
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,11 @@
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)
*/
@import url("https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,400;0,700;1,400;1,700&display=swap");
@import url('https://fonts.googleapis.com/css2?family=Open+Sans:wght@400;700&family=Ubuntu:wght@400;700&display=swap');
@import url('https://fonts.googleapis.com/css?family=Raleway:300,400,700&display=swap');
@import url('https://fonts.googleapis.com/css?family=Roboto:300,400,700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Poppins:300,400,700&display=swap');

:root,
[data-bs-theme=light] {
--bs-blue: #446e9b;
Expand Down
5 changes: 5 additions & 0 deletions backend/static/css/superhero.css
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,11 @@
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)
*/
@import url("https://fonts.googleapis.com/css2?family=Lato:wght@300;400;700&display=swap");
@import url('https://fonts.googleapis.com/css2?family=Open+Sans:wght@400;700&family=Ubuntu:wght@400;700&display=swap');
@import url('https://fonts.googleapis.com/css?family=Raleway:300,400,700&display=swap');
@import url('https://fonts.googleapis.com/css?family=Roboto:300,400,700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Poppins:300,400,700&display=swap');

:root,
[data-bs-theme=light] {
--bs-blue: #4c9be8;
Expand Down
4 changes: 4 additions & 0 deletions backend/static/css/tethys_main.css
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,10 @@
font-weight: 700;
src: local('Open Sans Bold Italic'),local('OpenSans-BoldItalic'),url(https://themes.googleusercontent.com/static/fonts/opensans/v8/PRmiXeptR36kaC0GEAetxhbnBKKEOwRKgsHDreGcocg.woff) format('woff')
}
@import url('https://fonts.googleapis.com/css2?family=Open+Sans:wght@400;700&family=Ubuntu:wght@400;700&display=swap');
@import url('https://fonts.googleapis.com/css?family=Raleway:300,400,700&display=swap');
@import url('https://fonts.googleapis.com/css?family=Roboto:300,400,700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Poppins:300,400,700&display=swap');

body {
position: relative;
Expand Down
17 changes: 1 addition & 16 deletions backend/templates/ciroh.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,22 +4,7 @@
<link href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-iYQeCzEYFbKjA/T2uDLTpkwGzCiq6soy8tYaI1GyVh/UjpbCx/TYkiZhlZB6+fzT" crossorigin="anonymous"/>
<link href="https://cdn.jsdelivr.net/npm/[email protected]/font/bootstrap-icons.css" rel="stylesheet" />
<link href="{% static "css/ciroh.css" %}" rel="stylesheet" />
<style>
.hero-style{
padding-top: 195px;
padding-bottom: 195px;
background-image: url('{% static "images/ciroh/hydroinformatics.jpeg" %}');
background-size: cover;
text-align: center;
background-repeat: no-repeat;
}
.section-accent {
padding-top: 195px;
padding-bottom: 195px;
background-color: url('{% static "images/ciroh/water_data.jpeg" %}');
text-align: center;
}
</style>

{% endblock %}
{% block base_js %}
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/js/bootstrap.bundle.min.js" integrity="sha384-u1OknCvxWvY5kfmNBILK2hRnQC3Pr17a+RTT6rIHI7NnikvbZlHgTPOOmMi466C8" crossorigin="anonymous"></script>
Expand Down
2 changes: 1 addition & 1 deletion backend/templates/single_hs_resource.html
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
<div class="d-flex align-items-baseline gap-2 justify-content-center justify-content-lg-start justify-content-md-start">
<h5 class="card-title card-h5">{{ resource.title }}</h5>
<div style="width:fit-content;">
<p class="card-text my-2 fs-6 lh-1.5 fw-light d-flex flex-row justify-content-between w-100 gap-3 bg-light rounded p-1" style="max-width:300px;">
<p class="card-text my-2 fs-6 lh-1.5 fw-light d-flex flex-row justify-content-between w-100 gap-3 rounded p-1" style="max-width:300px;">
{% if resource.github_url %}
<a href="{{ resource.github_url }}" target="_blank" class="text-decoration-none text-secondary" title="source_code"> <i class="bi bi-github"></i></a>
{% endif %}
Expand Down
Loading

0 comments on commit 1aa469b

Please sign in to comment.