Skip to content

Commit

Permalink
Merge pull request #14 from IMGIITRoorkee/update-theme
Browse files Browse the repository at this point in the history
Update theme for 2024
  • Loading branch information
Ak216puniA authored Dec 8, 2023
2 parents 010728d + eac7b27 commit 8a56b05
Show file tree
Hide file tree
Showing 7 changed files with 67 additions and 36 deletions.
Binary file added assets/DMSans.ttf
Binary file not shown.
Binary file added assets/Fredoka.ttf
Binary file not shown.
6 changes: 3 additions & 3 deletions css/about_us.css
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
font-weight: 900;
font-size: 2em;
line-height: 50px;
color: #CA2028;
color: #254F73;
}

.highlights-description {
Expand All @@ -66,7 +66,7 @@
font-weight: 900;
font-size: 1.5em;
line-height: 1em;
color: #CA2028;
color: #254F73;
margin-top: .75em;
margin-right: .2em;
margin-left: .2em;
Expand All @@ -88,7 +88,7 @@
font-weight: 900;
font-size: 1.5em;
line-height: 1em;
color: #CA2028;
color: #254F73;
margin-top: .75em;
text-align: center;
margin-bottom: .74em;
Expand Down
48 changes: 28 additions & 20 deletions css/base.css
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ nav {

.navlink:hover {
transition-duration: 0.3s;
color: #CA2028
color: #254F73
}

#overlay {
Expand All @@ -112,24 +112,25 @@ nav {
}

.site-cta-button {
font-family: Nunito Sans;
font-family: DMSans;
font-weight: normal;
background: #222222;
color: #EDEEF5;
background: #EAE2D7;
color: #070707;
border: none;
padding: 0.5rem 2rem;
cursor: pointer;
font-size: 0.67rem;
font-weight: 500;
user-select: none;
border-radius: 2px;
}

.site-cta-button:hover {
transition: 0.25s;
background: #151515;
background: #EAE2D7;
box-shadow: 0px 0px 32px rgba(58, 38, 38, 0.2);
border-radius: 2px;
color: #F83048;
color: #254F73;

}

Expand Down Expand Up @@ -222,23 +223,23 @@ footer {
.page-heading {
position: relative;
display: inline-block;
font-family: "marvelFont", sans-serif;
font-family: "fredoka", sans-serif;
font-weight: bold;
font-weight: 400;
font-size: 48px;
line-height: 65px;
font-weight: 600;
font-size: 40px;
line-height: 48px;
letter-spacing: 0.04em;
color: #EDEEF5;
user-select: none;
}

.heading-background-box {
background: #CA2028;
background: #254F73;
position: absolute;
width: 110%;
height: 71%;
height: 110%;
left: -5%;
bottom: 25%;
bottom: -5%;
z-index: 1;
}

Expand All @@ -250,11 +251,11 @@ footer {
.page-title {
position: relative;
display: inline-block;
font-family: "marvelFont", sans-serif;
font-family: "fredoka", sans-serif;
font-weight: bold;
font-weight: 400;
font-size: 48px;
line-height: 65px;
font-weight: 600;
font-size: 40px;
line-height: 48px;
letter-spacing: 0.04em;
color: #EDEEF5;
user-select: none;
Expand Down Expand Up @@ -412,7 +413,14 @@ footer {

@font-face {

font-family: 'marvelFont' ;
src: url('../assets/Marvel-Regular.ttf') format('truetype');
font-family: 'fredoka' ;
src: url('../assets/Fredoka.ttf') format('truetype');

}

}
@font-face {

font-family: 'DMSans' ;
src: url('../assets/DMSans.ttf') format('truetype');

}
2 changes: 1 addition & 1 deletion css/base_hamburger.css
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ input[type=checkbox]:checked ~ .sidebarIconToggle > .diagonal.part-2 {
display: grid;
}
.navlink[selected='True'] {
color: #CA2028;
color: #254F73;
}
}

Expand Down
40 changes: 29 additions & 11 deletions css/index.css
Original file line number Diff line number Diff line change
Expand Up @@ -30,34 +30,46 @@
.coloured-container {
background-color: #EDEEF5;
}

.illustration-container {
max-width: 75%;
background: url("/assets/main_illustration.png");
max-width: 100%;
background-size: contain;
background-repeat: no-repeat;
background-position: center;
background-color: #E2E6EF;
height: 95%;
margin-top: 8%;
padding: 0 15%;
display: flex;
justify-content: center;
align-items: center;
}

.illustration-container-image {
width: 120%;
height: auto;
}

.main-page-heading {
position: relative;
display: inline-block;
font-family: "marvelFont", sans-serif;
font-family: "fredoka", sans-serif;
font-weight: bold;
font-weight: 400;
font-size: 48px;
line-height: 65px;
font-weight: 600;
font-size: 40px;
line-height: 48px;
letter-spacing: 0.04em;
color: #EDEEF5;
user-select: none;
}

.heading-background-box {
background: #CA2028;
background: #254F73;
position: absolute;
width: 110%;
height: 71%;
height: 110%;
left: -5%;
bottom: 25%;
bottom: -5%;
z-index: 1;
}

Expand Down Expand Up @@ -212,8 +224,14 @@

@font-face {

font-family: 'marvelFont' ;
src: url('../assets/Marvel-Regular.ttf') format('truetype');
font-family: 'fredoka' ;
src: url('../assets/Fredoka.ttf') format('truetype');

}

@font-face {

font-family: 'DMSans' ;
src: url('../assets/DMSans.ttf') format('truetype');

}
7 changes: 6 additions & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -209,7 +209,12 @@
<section class = "coloured-container">
<div class="site-container">
<div class="main-container">
<div class="illustration-container"></div>
<div class="illustration-container">
<img
class="illustration-container-image"
src="/assets/main_illustration.png"
/>
</div>
<div class="design-information-container">
<h1 class="main-page-heading">
<div class="heading-background-box"></div>
Expand Down

0 comments on commit 8a56b05

Please sign in to comment.