diff options
| author | Karan Jayachandra <mail@karanjayachandra.com> | 2026-02-21 17:55:03 +0100 |
|---|---|---|
| committer | Karan Jayachandra <mail@karanjayachandra.com> | 2026-02-21 17:55:03 +0100 |
| commit | 430e82ffa5f5636110a2ac9c58ac9d5e4addfce3 (patch) | |
| tree | b9fb8b4b4181380faba5e3b0e69155963f36e90b | |
| parent | 7ff25e9f4ea4058284af33684b3a687c8407b92d (diff) | |
Changed styling of the page
| -rw-r--r-- | content/_index.md | 2 | ||||
| -rw-r--r-- | layouts/_default/baseof.html | 14 | ||||
| -rw-r--r-- | layouts/_default/single.html | 2 | ||||
| -rw-r--r-- | static/main.css | 17 |
4 files changed, 16 insertions, 19 deletions
diff --git a/content/_index.md b/content/_index.md index 4d67b5c..80135d8 100644 --- a/content/_index.md +++ b/content/_index.md @@ -1,5 +1,3 @@ -# Karan Jayachandra - If you would like to contact me or collaborate on the building the next generation of radio frequency products, please write an email to ```me[at]karanj[dot]com``` or send me a message on [LinkedIn](https://www.linkedin.com/in/karanjayachandra). Welcome to my home on the world wide web! I am an RF engineer wandering across the pale blue dot constantly in search of the next interesting opportunity to learn. I have a specialization in signal processing. This page gives you an overview of my professional qualifications. I am currently working on the next generation of automotive Radar systems for adaptive cruise control, lane change assist, blind spot detection and cross traffic alert at NXP Semiconductors. I live in Rotterdam, The Netherlands. diff --git a/layouts/_default/baseof.html b/layouts/_default/baseof.html index ad329de..cb938bc 100644 --- a/layouts/_default/baseof.html +++ b/layouts/_default/baseof.html @@ -14,21 +14,25 @@ <meta name="description" content="{{ with .Description }}{{ . }}{{ else }}{{if .IsPage}}{{ .Summary }}{{ else }}{{ with .Site.Params.description }}{{ . }}{{ end }}{{ end }}{{ end }}" /> <meta name="keywords" content="Karan, Jayachandra, Notes"> <meta name="author" content="Karan Jayachandra"> - <link rel="stylesheet" type="text/css" media="screen" href="https://karanj.com/main.css"/> + <link rel="preconnect" href="https://fonts.googleapis.com"> + <link rel="preconnect" href="https://fonts.gstatic.com" crossorigin> + <link href="https://fonts.googleapis.com/css2?family=JetBrains+Mono&display=swap" rel="stylesheet"> + <link rel="stylesheet" type="text/css" media="screen" href="/main.css"/> <link rel="icon" href="https://karanj.com/favicon-light.png" type="image/x-icon"> - <link rel="icon" href="https://karanj.com/favicon-light.png" type="image/x-icon" media="(prefers-color-scheme: light)"> <link rel="icon" href="https://karanj.com/favicon-dark.png" type="image/x-icon" media="(prefers-color-scheme: dark)"> </head> <body> + <div style="text-align: center; font-size: xx-large; font-weight: 900;">Karan Jayachandra</div> <nav> <ul> <a href="/"><li>Home</li></a> - <a href="https://gitlab.com/KaranJayachandra"><li>Gitlab</li></a> - <a href="https://karanjayachandra.gitlab.io/cv"><li>CV</li></a> + <a href="https://gitlab.com/KaranJayachandra"><li>Projects</li></a> + <a href="https://karanjayachandra.gitlab.io/cv"><li>Resume</li></a> <a href="/posts"><li>Posts</li></a> </ul> </nav> <main> {{- block "main" . }}{{- end }} </main> + <hr style="border-bottom: dotted 1px; border-top: none;"> + <footer>This content is licensed <a href="https://creativecommons.org/licenses/by-sa/4.0/">CC BY-SA 4.0</a></footer> </body> - <p style="margin-bottom:1cm;"></p> </html>
\ No newline at end of file diff --git a/layouts/_default/single.html b/layouts/_default/single.html index 73019bf..daa1d38 100644 --- a/layouts/_default/single.html +++ b/layouts/_default/single.html @@ -4,6 +4,4 @@ <div><time>{{ dateFormat ":date_medium" .Date }}</time></div> {{ .Content }} </article> -<hr style="border-bottom: dotted 1px; border-top: none;" > -<footer>Back to <a href="/posts">Posts<a></footer> {{ end }}
\ No newline at end of file diff --git a/static/main.css b/static/main.css index bc7f8a1..a4d85dc 100644 --- a/static/main.css +++ b/static/main.css @@ -5,7 +5,7 @@ --bg-color: hsl(var(--hue), var(--saturation), 100%);
--theme-color: hsl(var(--hue), var(--saturation), 50%);
--code-bg-color: hsl(var(--hue), var(--saturation), 90%);
- font-family: system-ui;
+ font-family: 'JetBrains Mono';
background-color: var(--bg-color);
color: var(--text-color);
max-width: 800px;
@@ -29,14 +29,17 @@ a { color: var(--theme-color);
}
body img {
+ display: block;
+ margin: auto;
max-width: 100%;
}
nav ul, nav ol {
padding: 0%;
+ padding-bottom: 3%;
list-style: none;
display: grid;
grid-template-columns: repeat(auto-fit, minmax(20%, 1fr));
- gap: 5%;
+ gap: 10px;
}
nav ul li {
background-color: var(--code-bg-color);
@@ -68,6 +71,8 @@ mark { }
footer {
text-align: center;
+ padding-top: 2%;
+ padding-bottom: 5%;
}
@media (max-width: 900px) {
:root {
@@ -75,10 +80,6 @@ footer { }
nav ul {
grid-template-columns: 1fr 1fr;
- gap: 2%;
- }
- table {
- overflow: scroll;
}
}
@media (prefers-color-scheme: dark) {
@@ -88,8 +89,4 @@ footer { --theme-color: hsl(var(--hue), var(--saturation), 50%);
--code-bg-color: hsl(var(--hue), var(--saturation), 10%);
}
-}
-/* Disable multi level menus */
-nav ul li ul, nav ul li ol {
- display: none;
}
\ No newline at end of file |
