Skip to content

Commit

Permalink
minor changes
Browse files Browse the repository at this point in the history
  • Loading branch information
Utsavxtha committed Apr 20, 2024
1 parent 8df8860 commit 1ad66ed
Show file tree
Hide file tree
Showing 8 changed files with 53 additions and 34 deletions.
3 changes: 0 additions & 3 deletions assets/scss/index.scss

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -1469,7 +1469,9 @@ body {
padding: 1.5rem; } }
.project-entry-title {
margin: 0;
font-weight: 400; }
font-weight: 400;
font-size: 24px;
text-align: justify; }
.project-entry-title a {
color: var(--color-contrast-high); }
.project-entry-title a:hover {
Expand Down Expand Up @@ -1571,24 +1573,6 @@ body {
padding: 0;
margin-bottom: 0; } }

.sponsor_tile {
width: 300px;
position: relative;
background-color: var(--color-contrast-lower);
border-radius: 12px;
padding: 10px;
align-items: center;
display: flex;
flex-direction: column; }

.sponsor_name {
font-size: xx-large;
padding: 5px; }

.sponsor_tile img {
border-radius: 12px;
width: 100%; }

.alumni-grid {
display: grid;
margin: 0 auto;
Expand Down Expand Up @@ -1649,7 +1633,9 @@ body {
@media (max-width: 550px) {
.alumni-person-tile {
flex-direction: column;
min-width: 300px; } }
min-width: 300px; }
.alumni-tile_content {
text-align: center; } }

.rect-img-container-year {
position: relative;
Expand All @@ -1659,4 +1645,22 @@ body {
content: "";
display: block; }

.sponsor_tile {
width: 300px;
position: relative;
background-color: var(--color-contrast-lower);
border-radius: 12px;
padding: 10px;
align-items: center;
display: flex;
flex-direction: column; }

.sponsor_name {
font-size: xx-large;
padding: 5px; }

.sponsor_tile img {
border-radius: 12px;
width: 100%; }

/*# sourceMappingURL=main.css.map */
18 changes: 18 additions & 0 deletions static/styles/main.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
.alumni-tile_content {
text-align: left;
}

@media (max-width: 550px) {
.alumni-tile_content {
text-align: center;
}
.alumni-tile_title {
padding: 0;
margin: 0;
font-size: larger;
}
}

.project-entry-title {
text-align: left;
}
2 changes: 2 additions & 0 deletions themes/hugo-liftoff/assets/scss/pages/_project-list.scss
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,8 @@
.project-entry-title {
margin: 0;
font-weight: 400;
font-size: 24px;
text-align: justify;

a {
color: var(--color-contrast-high);
Expand Down
2 changes: 1 addition & 1 deletion themes/hugo-liftoff/layouts/_default/terms.html
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{{ define "main" }}
<div class="container">
<section class="page-header--c">
<h1 class="page-header-title">OUR ALUMNI</h1>
<h1 class="page-header-title">OUR ESTEEMED ALUMNI</h1>
</section>
<div class="alumni-grid">
{{ with .Data.Terms}}
Expand Down
5 changes: 1 addition & 4 deletions themes/hugo-liftoff/layouts/_default/years.html
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ <h1 class="page-header-title">{{ .Title }}</h1>
<img class="alumni-person-tile-img"
src="{{.Site.BaseURL}}alumni/{{.Params.slug}}/{{ .Params.personal_photo_src}}" alt="image">
</div>
<div class="alumni-tile_content" style="text-align: left">
<div class="alumni-tile_content">
<h3 class="alumni-tile_title">
{{ .Title }}
</h3>
Expand All @@ -21,9 +21,6 @@ <h3 class="alumni-tile_title">
<p>
Department: {{.Params.department}}
</p>
<p class="alumni-tile_descrip">
{{.Content}}
</p>
</div>
</div>
{{ end }}
Expand Down
12 changes: 6 additions & 6 deletions themes/hugo-liftoff/layouts/partials/head/styles.html
Original file line number Diff line number Diff line change
Expand Up @@ -18,17 +18,17 @@
{{ $final := "" }}
{{/* Only enable PostCSS in production to allow source maps */}}
{{ if and (eq $.Site.Params.enable_postcss true) (hugo.IsProduction) }}
{{ $final = $style | postCSS (dict "config" "postcss.config.js") }}
{{ $final = $style | postCSS (dict "config" "postcss.config.js") }}
{{ else }}
{{ $final = $style }}
{{ $final = $style }}
{{ end }}

{{ if hugo.IsProduction }}
{{/* Only minify in production to allow source maps */}}
{{ $final = $final | minify }}
{{/* Only minify in production to allow source maps */}}
{{ $final = $final | minify }}
{{ end }}
<link rel="stylesheet" href="{{ $final.Permalink }}" />
{{/* Custom goes last to preserve cascade in development */}}
{{ if $custom_no_bundle }}
<link rel="stylesheet" href="{{ $custom.Permalink }}" />
{{ end }}
{{ end }}
<link rel="stylesheet" href="{{.Site.BaseURL}}styles/main.css">
1 change: 1 addition & 0 deletions themes/hugo-liftoff/layouts/robocon/single.html
Original file line number Diff line number Diff line change
Expand Up @@ -42,5 +42,6 @@ <h1 class="page-header-title">
<article class="markdown">
{{ .Content }}
</article>
<a href="{{.Site.BaseURL}}years/{{.Params.slug}}">Involved Alumni</a>
</div>
{{ end }}

0 comments on commit 1ad66ed

Please sign in to comment.