change in css file

This commit is contained in:
gurusabarish
2020-08-18 13:03:32 +05:30
parent bf5d3b5db4
commit 4b68507a03
9 changed files with 61 additions and 54 deletions
+1 -1
View File
@@ -1,3 +1,3 @@
baseURL = "http://example.org/" baseURL = "https://hugo-blog0.netlify.app/"
languageCode = "en-us" languageCode = "en-us"
title = "My New Hugo Site" title = "My New Hugo Site"
+1 -1
View File
@@ -1,7 +1,7 @@
--- ---
title: "Making a Verlet Physics Engine in Javascript" title: "Making a Verlet Physics Engine in Javascript"
date: 2020-08-14T13:30:29+05:30 date: 2020-08-14T13:30:29+05:30
draft: true draft: false
subtitle: "Javascript" subtitle: "Javascript"
tags: tags:
- blog - blog
+1 -1
View File
@@ -1,7 +1,7 @@
--- ---
title: "Making a Verlet Physics Engine in Javascript" title: "Making a Verlet Physics Engine in Javascript"
date: 2020-08-14T13:22:10+05:30 date: 2020-08-14T13:22:10+05:30
draft: true draft: false
subtitle: "Javascript" subtitle: "Javascript"
tags: tags:
- markdown - markdown
+1 -1
View File
@@ -1,7 +1,7 @@
--- ---
title: "Making a Verlet Physics Engine in Javascript" title: "Making a Verlet Physics Engine in Javascript"
date: 2020-08-11T23:03:58+05:30 date: 2020-08-11T23:03:58+05:30
draft: true draft: false
subtitle: "Javascript" subtitle: "Javascript"
bg_image: "images/bg-image.jpg" bg_image: "images/bg-image.jpg"
tags: tags:
+1 -1
View File
@@ -1,7 +1,7 @@
--- ---
title: "How to make a hugo theme" title: "How to make a hugo theme"
date: 2020-08-14T13:11:45+05:30 date: 2020-08-14T13:11:45+05:30
draft: true draft: false
subtitle: "Hugo theme" subtitle: "Hugo theme"
tags: tags:
- hugo - hugo
+1 -1
View File
@@ -1,7 +1,7 @@
--- ---
title: "Making a Verlet Physics Engine in Javascript" title: "Making a Verlet Physics Engine in Javascript"
date: 2020-08-14T13:22:10+05:30 date: 2020-08-14T13:22:10+05:30
draft: true draft: false
subtitle: "Javascript" subtitle: "Javascript"
tags: tags:
- markdown - markdown
+41 -35
View File
@@ -10,44 +10,50 @@
<body> <body>
{{ range .Pages }} {{ range .Pages }}
<div class="container col-md-6 col-md-offset-3"> <div class="container">
<div class="row justify-content-md-center">
<div class="col-md-7 col-md-offset-3">
<div class="item-title">
<a href="{{ .Permalink }}">
<h2 class="item-title">{{ .Title }}</h2>
{{ if .Params.subtitle }}
<h4 class="item-subtitle text-muted">
{{ .Params.subtitle }}
</h4>
{{ end }}
</a>
</div>
<a href="{{ .Permalink }}"> <div class="text-muted">
<h2 class="item-title">{{ .Title }}</h2> <svg width="1em" height="1em" viewBox="0 0 16 16" class="bi bi-calendar" fill="currentColor"
{{ if .Params.subtitle }} xmlns="http://www.w3.org/2000/svg">
<h4 class="item-subtitle text-muted"> <path fill-rule="evenodd"
{{ .Params.subtitle }} d="M1 4v10a1 1 0 0 0 1 1h12a1 1 0 0 0 1-1V4H1zm1-3a2 2 0 0 0-2 2v11a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V3a2 2 0 0 0-2-2H2z" />
</h4> <path fill-rule="evenodd"
{{ end }} d="M3.5 0a.5.5 0 0 1 .5.5V1a.5.5 0 0 1-1 0V.5a.5.5 0 0 1 .5-.5zm9 0a.5.5 0 0 1 .5.5V1a.5.5 0 0 1-1 0V.5a.5.5 0 0 1 .5-.5z" />
</a> </svg>
{{ dateFormat "Jan 2, 2006" .Date }}
</div>
<div class="text-muted"> <p style="font-size:18px;">{{truncate 150 .Summary}}</p>
<svg width="1em" height="1em" viewBox="0 0 16 16" class="bi bi-calendar" fill="currentColor"
xmlns="http://www.w3.org/2000/svg"> {{ if .Params.tags }}
<path fill-rule="evenodd" <div class="blog-tags">
d="M1 4v10a1 1 0 0 0 1 1h12a1 1 0 0 0 1-1V4H1zm1-3a2 2 0 0 0-2 2v11a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V3a2 2 0 0 0-2-2H2z" /> <strong class="text-muted">Tags: </strong>
<path fill-rule="evenodd" {{ range .Params.tags }}
d="M3.5 0a.5.5 0 0 1 .5.5V1a.5.5 0 0 1-1 0V.5a.5.5 0 0 1 .5-.5zm9 0a.5.5 0 0 1 .5.5V1a.5.5 0 0 1-1 0V.5a.5.5 0 0 1 .5-.5z" /> <a href="{{ "/tags/" | relLangURL }}{{ . | urlize }}">{{ . }}</a>
</svg> {{ end }}
{{ dateFormat "Jan 2, 2006" .Date }} </div>
{{ end }}
<div style="color:grey; font-size:16px;">{{ if .Params.categories }}<strong>Categories:</strong>
{{range .Params.categories}}<a href="{{ "/categories/" | relLangURL }}{{ . | urlize }}">{{ . }}</a>
{{end}}{{end}}
</div>
<div style="color:grey; font-size:16px;">{{ if .Params.moods }}<strong>Moods:</strong> {{range .Params.moods}}<a
href="{{ "/moods/" | relLangURL }}{{ . | urlize }}">{{ . }}</a> {{end}}{{end}}</div>
</div>
</div> </div>
<p style="font-size:18px;">{{truncate 150 .Summary}}</p>
{{ if .Params.tags }}
<div class="blog-tags">
<strong class="text-muted">Tags: </strong>
{{ range .Params.tags }}
<a href="{{ "/tags/" | relLangURL }}{{ . | urlize }}">{{ . }}</a>
{{ end }}
</div>
{{ end }}
<div style="color:grey; font-size:16px;">{{ if .Params.categories }}<strong>Categories:</strong>
{{range .Params.categories}}<a href="{{ "/categories/" | relLangURL }}{{ . | urlize }}">{{ . }}</a> {{end}}{{end}}
</div>
<div style="color:grey; font-size:16px;">{{ if .Params.moods }}<strong>Moods:</strong> {{range .Params.moods}}<a
href="{{ "/moods/" | relLangURL }}{{ . | urlize }}">{{ . }}</a> {{end}}{{end}}</div>
</div> </div>
<br> <br>
{{ end }} {{ end }}
+9 -5
View File
@@ -10,11 +10,15 @@
</head> </head>
<body> <body>
<div class="container col-md-6 col-md-offset-3"> <div class="container">
<h1>{{.Title}}</h1> <div class="row justify-content-md-center">
<div>{{ dateFormat "Monday, Jan 2, 2006" .Date }}</div> <div class="col-md-7 col-md-offset-3">
<div>{{if .Params.author}}Author: {{.Params.Author}}{{end}}</div> <h1>{{.Title}}</h1>
<div>{{.Content}}</div> <div>{{ dateFormat "Monday, Jan 2, 2006" .Date }}</div>
<div>{{if .Params.author}}Author: {{.Params.Author}}{{end}}</div>
<div>{{.Content}}</div>
</div>
</div>
</div> </div>
</body> </body>
+5 -8
View File
@@ -1,16 +1,13 @@
h1 {
font-family: 'Alata', sans-serif;
}
a:hover {
text-decoration: none;
}
.item-title { .item-title {
font-family: 'Alata', sans-serif;
color: rgba(0, 0, 0, 0.541); color: rgba(0, 0, 0, 0.541);
font-weight: bold; font-weight: bold;
} }
.item-title:hover { .item-title:hover {
color: rgb(0, 204, 255); color: rgb(0, 204, 255);
}
.blog-tags {
color: rgb(0, 204, 255);
} }