Commit 63565ade authored by Murukesh Mohanan's avatar Murukesh Mohanan

fix chrome disqus keyboard bug

parent 21f3618f
...@@ -8,6 +8,7 @@ section_separator: "<!-- section -->" ...@@ -8,6 +8,7 @@ section_separator: "<!-- section -->"
gems: gems:
- jekyll-sitemap - jekyll-sitemap
- jemoji
kramdown: kramdown:
input: GFM input: GFM
...@@ -21,7 +22,7 @@ defaults: ...@@ -21,7 +22,7 @@ defaults:
layout: "page" layout: "page"
pages_list: pages_list:
Main: '' About: ''
Acads: 'acad' Acads: 'acad'
Resources: 'resources' Resources: 'resources'
Blog: 'blog' Blog: 'blog'
......
...@@ -5,16 +5,15 @@ ...@@ -5,16 +5,15 @@
on Android, uncomment this meta tag. The weird font size on Android, uncomment this meta tag. The weird font size
is due to "font boosting". is due to "font boosting".
--> -->
<meta name="HandheldFriendly" content="true"> <meta name="HandheldFriendly" content="true">
<meta charset="utf-8"> <meta charset="utf-8">
<meta property="fb:admins" content="murukesh"> <meta property="fb:admins" content="murukesh">
<title> <title>
{{ page.title }} &ndash; Muru's home page. {{ page.title }} &ndash; Muru's home page.
</title> </title>
<link rel="stylesheet" href="{{ site.base-url }}/styles/style.css" type="text/css"> <link rel="stylesheet" href="{{ site.base-url }}/styles/style.css" type="text/css">
<link rel="stylesheet" href="{{ site.base-url }}/styles/{{ page.pagestyle }}.css" type="text/css"> <link rel="stylesheet" href="{{ site.base-url }}/styles/{{ page.pagestyle }}.css" type="text/css">
<link rel="stylesheet" href="{{ site.base-url }}/public/css/gpgc_style.css"> <!-- 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">
</head> </head>
<body> <body>
...@@ -34,13 +33,11 @@ ...@@ -34,13 +33,11 @@
{% endfor %} {% endfor %}
</ul> </ul>
</nav> </nav>
<!--
<div id="vim-proposal"> <div id="vim-proposal">
<a href="http://area51.stackexchange.com/proposals/80441/vi-and-vim?referrer=cSyv9sCu62iNAfGtTTKvSg2"> <a href="http://area51.stackexchange.com/proposals/80441/vi-and-vim?referrer=cSyv9sCu62iNAfGtTTKvSg2">
<img src="http://area51.stackexchange.com/ads/proposal/80441.png" alt="Stack Exchange Q&A site proposal: Vi and vim" /> <img src="http://area51.stackexchange.com/ads/proposal/80441.png" alt="Stack Exchange Q&A site proposal: Vi and vim" />
</a> </a>
</div> </div>
-->
<article id="main"> <article id="main">
{{ content }} {{ content }}
......
...@@ -24,7 +24,7 @@ pagestyle: posts ...@@ -24,7 +24,7 @@ pagestyle: posts
{% assign sections = content | split: site.section_separator %} {% assign sections = content | split: site.section_separator %}
{% for section in sections %} {% for section in sections %}
<section class="post"> <section>
{{ section }} {{ section }}
</section> </section>
{% endfor %} {% endfor %}
......
...@@ -40,7 +40,7 @@ ...@@ -40,7 +40,7 @@
display: block; display: block;
} }
@media screen and (orientation:portrait) { @media screen and (max-device-aspect-ratio: 1/1) and (orientation: portrait) {
#cann-table-area { #cann-table-area {
width: 100%; width: 100%;
overflow: scroll; overflow: scroll;
......
...@@ -35,30 +35,32 @@ pre { ...@@ -35,30 +35,32 @@ pre {
} }
pre span.lineno::after { pre span.lineno::after {
content: counter(line-numbering); content: counter(line-numbering, decimal-leading-zero);
counter-increment: line-numbering; counter-increment: line-numbering;
text-align: right;
opacity: 0.4; opacity: 0.4;
display: inline-block;
-webkit-touch-callout: none; -webkit-touch-callout: none;
-webkit-user-select: none; -webkit-user-select: none;
-khtml-user-select: none; -khtml-user-select: none;
-moz-user-select: none; -moz-user-select: none;
-ms-user-select: none; -ms-user-select: none;
user-select: none; user-select: none;
min-width: 1em;
visibility: visible; visibility: visible;
margin-left: -1em; margin-left: -1em;
} }
pre span.lineno { pre span.lineno {
visibility: collapse; visibility: collapse;
text-align: right;
display: inline-block;
min-width: 1em;
} }
.comments { .comments {
background-color: darkslategrey; background-color: darkslategrey;
overflow: auto;
} }
@media screen and (orientation:landscape) {
@media screen and (min-device-aspect-ratio: 1/1) and (orientation: landscape) {
.post-date { .post-date {
float: right; float: right;
border-left: solid 0.2em black; border-left: solid 0.2em black;
...@@ -66,7 +68,7 @@ pre span.lineno { ...@@ -66,7 +68,7 @@ pre span.lineno {
} }
} }
@media screen and (orientation:portrait) { @media screen and (max-device-aspect-ratio: 1/1) and (orientation: portrait) {
.post-date { .post-date {
font-size: initial; font-size: initial;
display: block; display: block;
......
...@@ -4,7 +4,7 @@ ...@@ -4,7 +4,7 @@
font-size: x-large; font-size: x-large;
font-variant: small-caps; font-variant: small-caps;
text-align: center; text-align: center;
min-height: 5em; min-height: 4em;
background-color: lightslategrey; background-color: lightslategrey;
color: whitesmoke; color: whitesmoke;
} }
...@@ -74,6 +74,7 @@ footer img { ...@@ -74,6 +74,7 @@ footer img {
padding: 1em; padding: 1em;
text-align: center; text-align: center;
} }
#vim-proposal img { #vim-proposal img {
height: 100%; height: 100%;
border-radius: 1vw; border-radius: 1vw;
...@@ -159,14 +160,13 @@ pre code strong { ...@@ -159,14 +160,13 @@ pre code strong {
font-size: 1.5em; font-size: 1.5em;
} }
@media screen and (orientation:landscape) { @media screen and (min-device-aspect-ratio: 1/1) and (orientation: landscape) {
nav { nav {
padding-top: 1%; padding-top: 1%;
/* min-height: 42em; /* min-height: 42em;
display: inline-block;*/ display: inline-block;*/
float: left; float: left;
font-size: 1.2em; font-size: 1.2em;
clear: both;
text-align: right; text-align: right;
height: 100%; height: 100%;
vertical-align: top; vertical-align: top;
...@@ -184,50 +184,56 @@ pre code strong { ...@@ -184,50 +184,56 @@ pre code strong {
border-bottom: 0.1em solid gray; border-bottom: 0.1em solid gray;
border-right: 0.1em solid gray; border-right: 0.1em solid gray;
} }
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);
} }
#main { #main {
max-width: 70%; max-width: 70vw;
min-width: 22em; min-width: 22em;
width: 60%; width: 60%;
} }
#vim-proposal { #vim-proposal {
float: right; float: right;
height: 15em; height: 15em;
max-height: 18vw; max-height: 18vw;
max-width: 10vw;
} }
} }
@media screen and (orientation:portrait) { @media screen and (max-device-aspect-ratio: 1/1) and (orientation: portrait) {
#title h1 {
margin: 0.2em;
}
nav { nav {
width: 90%; width: 90%;
/* min-height: 42em;*/ /* min-height: 42em;*/
font-size: 1.5em; font-size: 2em;
clear: both;
text-align: center; text-align: center;
margin: 0 auto; margin: 0 auto;
} }
nav ul { nav ul {
padding: 0; padding: 0;
border-radius: 0.3em;
} }
nav li { nav li {
border-bottom: 0.1em solid gray;
list-style: none; list-style: none;
border-radius: 0.3em; 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);
} }
#main, body { #main, body {
text-align: center; text-align: center;
} }
section, .section { section, .section {
width: 85%; width: 85%;
font-size: 2em; font-size: 2em;
margin: 2em auto; margin: 2em auto;
background-color: whitesmoke;
} }
#vim-proposal { #vim-proposal {
......
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