all repos — site @ 86499a39609d36b381ea06f8a9dd9a25f9e34de9

source for my site, found at icyphox.sh

refactor: new mnml style
Anirudh icyph0x@pm.me
Wed, 04 Jul 2018 21:07:09 +0530
commit

86499a39609d36b381ea06f8a9dd9a25f9e34de9

parent

0d4f6612c7680e439d95db6da8adf0dd83f28d0f

6 files changed, 40 insertions(+), 52 deletions(-)

jump to
M build/index.htmlbuild/index.html

@@ -14,13 +14,15 @@ <header>

</header> -<body> - <div align="center"> - <h1>Anirudh Oppiliappan</h1> +<body> + <div class="centered" align="center"> + <div class="centered-item"> + <h1>Anirudh Oppiliappan</h1> -<p><em>linux, infosec and open source</em></p> +<p><em>linux, infosec, open source</em></p> -<p>github - twitter - keybase - email</p> +<p><a href="https://github.com/icyphox">github</a> • <a href="https://twitter.com/icyphox">twitter</a> • <a href="https://keybase.io/icyphox">keybase</a> • <a href="mailto:icyph0x@pm.me">email</a></p> + </div> </div> </body>
M build/static/style.cssbuild/static/style.css

@@ -23,21 +23,30 @@ @media screen and (max-width: 768px) {

#primary { width:100%; } #secondary { width:100%; margin:0; border:none; } } -html { - font-size: 100%; - font-family: 'le_font' -} @media (min-width: 640px) { body {font-size:100%;} } @media (min-width:960px) { body {font-size:120%;} } @media (min-width:1100px) { body {font-size:120%;} } -.footer { - position: relative; - bottom: 0; - width: auto +html { + font-family: 'le_font'; + color: #222; + line-height: 50px; +} + +h1 { + font-size: 4em; +} + +em { + font-size: 1.5em; } -.dark { - background-color: #21373A +a { + font-size: 1.2em; } + +.centered { + margin-top: 15%; +} +
M pages/_index.mdpages/_index.md

@@ -1,9 +1,5 @@

---- -template: banner.html ---- - # Anirudh Oppiliappan -*linux, infosec and open source* +*linux, infosec, open source* -github - twitter - keybase - email +[github](https://github.com/icyphox) • [twitter](https://twitter.com/icyphox) • [keybase](https://keybase.io/icyphox) • [email](mailto:icyph0x@pm.me)
M static/style.cssstatic/style.css

@@ -42,6 +42,9 @@ em {

font-size: 1.5em; } +a { + font-size: 1.2em; +} .centered { margin-top: 15%;
D templates/banner.html

@@ -1,22 +0,0 @@

-<!DOCTYPE html> -<html lang=en> -<link rel="stylesheet" href="/static/style.css" type="text/css"> -<meta content="icyphox's personal website" name=description> -<meta name="viewport" content="width=device-width,initial-scale=1,maximum-scale=1,user-scalable=no"> -<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"> -<meta name="HandheldFriendly" content="true"> - -<title> - {{ title }} -</title> - -<header> - {{ header }} -</header> - -<body> - <div align="center"> - {{ body }} - </div> -</body> -
M templates/index.htmltemplates/index.html

@@ -1,24 +1,24 @@

<!DOCTYPE html> <html lang=en> -<link rel="stylesheet" href="https://unpkg.com/sakura.css/css/sakura.css" type="text/css"> <link rel="stylesheet" href="/static/style.css" type="text/css"> <meta content="icyphox's personal website" name=description> <meta name="viewport" content="width=device-width,initial-scale=1,maximum-scale=1,user-scalable=no"> <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"> <meta name="HandheldFriendly" content="true"> + +<title> + {{ title }} +</title> + <header> {{ header }} - <title> - {{ title }} - </title> </header> <body> - {{ body }} + <div class="centered" align="center"> + <div class="centered-item"> + {{ body }} + </div> </div> </body> -<footer class="footer"> - {{ footer }} - <p> {{ author }} </p> -<footer>