Commit 40c53e1a authored by Murukesh Mohanan's avatar Murukesh Mohanan

simplified Gemfile, trying out meta descriptions, moved navbar to top

parent 0342a919
source 'https://rubygems.org' source 'https://rubygems.org'
gem 'kramdown', group: [:jekyll_plugins] gem 'kramdown', group: [:jekyll_plugins]
gem 'jemoji', group: [:jekyll_plugins] gem 'jemoji', group: [:jekyll_plugins]
gem 'jekyll-compose', group: [:jekyll_plugins]
gem 'jekyll-feed', group: [:jekyll_plugins] gem 'jekyll-feed', group: [:jekyll_plugins]
gem 'jekyll-paginate', group: [:jekyll_plugins] gem 'jekyll-paginate', group: [:jekyll_plugins]
gem 'jekyll-sitemap', group: [:jekyll_plugins] gem 'jekyll-sitemap', group: [:jekyll_plugins]
......
...@@ -27,6 +27,9 @@ ...@@ -27,6 +27,9 @@
<!-- Web Fonts FTW! --> <!-- Web Fonts FTW! -->
<link rel="stylesheet" type="text/css" href="https://fonts.googleapis.com/css?family=Ubuntu"> <link rel="stylesheet" type="text/css" href="https://fonts.googleapis.com/css?family=Ubuntu">
<meta property="fb:app_id" content="658633094275731"/> <meta property="fb:app_id" content="658633094275731"/>
{% if page.description %}
<meta name="description" content="{{ page.description }}">
{% endif %}
</head> </head>
<body> <body>
<header id="title"> <header id="title">
...@@ -36,29 +39,27 @@ ...@@ -36,29 +39,27 @@
</h1> </h1>
</a> </a>
</header> </header>
<div id="container"> <nav>
<nav> <ul>
<ul> {% for page in site.pages_list %}
{% for page in site.pages_list %} <a href="{{ site.base-url }}/{{ page[1] }}#main">
<a href="{{ site.base-url }}/{{ page[1] }}#main"> <li>
<li> {{ page[0] }}
{{ page[0] }} </li>
</li>
</a>
{% endfor %}
</ul>
</nav>
<article id="main">
{{ content }}
</article>
<div id="vim-proposal">
<a href="http://vi.stackexchange.com">
<img src="https://i.stack.imgur.com/LMMOe.png" alt="Vi and Vim Stack Exchange" />
</a> </a>
</div> {% endfor %}
</ul>
</nav>
<div id="vim-proposal">
<a href="http://vi.stackexchange.com">
<img src="https://i.stack.imgur.com/LMMOe.png" alt="Vi and Vim Stack Exchange" />
</a>
</div> </div>
<article id="main">
{{ content }}
</article>
<footer> <footer>
<section> <section>
<!-- Copyleft FTW! --> <!-- Copyleft FTW! -->
......
...@@ -2,6 +2,7 @@ ...@@ -2,6 +2,7 @@
title: Signing off from IITB title: Signing off from IITB
layout: post layout: post
tags: [life] tags: [life]
description: So, after all this time, I'm finally bidding good bye to IITB.
--- ---
So, after all this time, I'm finally bidding good bye to IITB. I finished my So, after all this time, I'm finally bidding good bye to IITB. I finished my
......
...@@ -60,9 +60,9 @@ footer section { ...@@ -60,9 +60,9 @@ footer section {
nav li { nav li {
margin-bottom: 0.1em; margin-bottom: 0.1em;
padding: 0.5em 0.5em; padding: 0.5em 0.5em;
border-radius: 0 0.3em 0.3em 0;
background-color: #37474F; background-color: #37474F;
color: white; color: white;
border-radius: 0.3em;
} }
nav a { nav a {
...@@ -80,6 +80,7 @@ footer img { ...@@ -80,6 +80,7 @@ footer img {
#vim-proposal { #vim-proposal {
text-align: center; text-align: center;
padding: 1em; padding: 1em;
float: right;
} }
#vim-proposal img { #vim-proposal img {
...@@ -192,10 +193,12 @@ a.rss { ...@@ -192,10 +193,12 @@ a.rss {
margin-left: auto; margin-left: auto;
} }
/*
#container { #container {
display: flex; display: flex;
align-items: flex-start; align-items: flex-start;
} }
*/
@media screen and (min-device-aspect-ratio: 1/1) and (orientation: landscape) { @media screen and (min-device-aspect-ratio: 1/1) and (orientation: landscape) {
nav { nav {
...@@ -205,21 +208,23 @@ a.rss { ...@@ -205,21 +208,23 @@ a.rss {
vertical-align: top; vertical-align: top;
float: left;*/ float: left;*/
font-size: 1.2em; font-size: 1.2em;
text-align: right; text-align: center;
height: 100%; height: 100%;
width: 10em; /*width: 10em;
max-width: 18vw; max-width: 18vw;*/
} }
nav ul { nav ul {
padding: 0; padding: 0;
border-top: 0.1em solid gray; /*border-top: 0.1em solid gray;
/*border-bottom: 0.1em solid gray; border-bottom: 0.1em solid gray;
border-right: 0.2em solid white;*/ border-right: 0.2em solid white;
border-radius: 0.3em; border-radius: 0.3em;*/
} }
nav li { nav li {
border-bottom: 0.1em solid gray; /*border-bottom: 0.1em solid gray;
border-right: 0.1em solid gray; border-right: 0.1em solid gray;*/
display: inline-block;
width: 6em;
} }
nav li:hover { nav li:hover {
box-shadow: 0.1em 0.1em 0.15em 0.05em rgba(100,100,100,0.75); box-shadow: 0.1em 0.1em 0.15em 0.05em rgba(100,100,100,0.75);
...@@ -247,7 +252,6 @@ a.rss { ...@@ -247,7 +252,6 @@ a.rss {
} }
nav li { nav li {
list-style: none; list-style: none;
border-radius: 0.3em;
margin: 0.2em; margin: 0.2em;
box-shadow: 0.1em 0.1em 0.15em 0.05em rgba(100,100,100,0.75); box-shadow: 0.1em 0.1em 0.15em 0.05em rgba(100,100,100,0.75);
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment