Initial commit for the new website!

This commit is contained in:
Shashank Mehta
2014-01-18 19:50:24 +05:30
commit 1f5b6cf998
69 changed files with 3558 additions and 0 deletions

302
css/base.css Normal file
View File

@ -0,0 +1,302 @@
@font-face {
font-family: 'AvenirNext';
font-style: normal;
font-weight: 300;
src: local("Avenir Next"), local("Avenir Next"), url(/fonts/avenirnext-thin.woff) format("woff"); }
@font-face {
font-family: 'AvenirNext';
font-style: normal;
font-weight: 500;
src: local("Avenir Next"), local("Avenir Next"), url(/fonts/avenirnext-regular.woff) format("woff"); }
@font-face {
font-family: 'AvenirNext';
font-style: normal;
font-weight: 700;
src: local("Avenir Next Bold"), local("Avenir Next Bold"), url(/fonts/avenirnext-bold.woff) format("woff"); }
body {
font-size: 13px;
color: #081522;
border-top: 10px solid #363845;
background: #dddddd url("/images/bg.png");
box-sizing: border-box;
-moz-box-sizing: border-box;
-ms-box-sizing: border-box; }
* {
font-family: Open Sans, sans-serif; }
a {
color: inherit;
text-decoration: none;
-webkit-transition: all 0.2s ease-in;
-moz-transition: all 0.2s ease-in;
-ms-transition: all 0.2s ease-in;
-o-transition: all 0.2s ease-in;
transition: all 0.2s ease-in; }
a:hover {
color: #e74c3c;
border-bottom: 1px solid #e74c3c;
-webkit-transition: all 0.2s ease-in;
-moz-transition: all 0.2s ease-in;
-ms-transition: all 0.2s ease-in;
-o-transition: all 0.2s ease-in;
transition: all 0.2s ease-in; }
blockquote {
border-left: 5px solid #e74c3c;
padding-left: 10px;
font-style: italic; }
.pagination {
text-align: center;
font-style: italic; }
.pagination img {
position: relative;
top: 12px;
opacity: 0.7;
cursor: pointer;
-webkit-transition: all 0.2s ease-in;
-moz-transition: all 0.2s ease-in;
-ms-transition: all 0.2s ease-in;
-o-transition: all 0.2s ease-in;
transition: all 0.2s ease-in; }
.pagination img:hover {
opacity: 1;
-webkit-transition: all 0.2s ease-in;
-moz-transition: all 0.2s ease-in;
-ms-transition: all 0.2s ease-in;
-o-transition: all 0.2s ease-in;
transition: all 0.2s ease-in; }
.pagination img.disabled {
opacity: 0.5; }
.pagination img.disabled:hover {
opacity: 0.5; }
.redhead {
background: #e74c3c;
border-bottom: 1px solid #c0bfc4;
min-height: 200px; }
header {
font-family: AvenirNext, Sans-serif;
color: white;
padding: 10px 10px;
margin: auto;
text-align: center; }
header.pure-u-2-3 {
display: block; }
header h1, header h3 {
margin: 0px; }
header h3 {
font-weight: 500; }
header img {
width: 30px; }
header nav {
padding: 10px 0px 50px 0px;
margin-top: 30px; }
header nav a {
margin: 0px 10px;
padding: 2px 0px; }
header nav a:hover {
color: #333;
border-bottom: 1px solid #333; }
.container {
position: relative;
top: -30px;
margin: auto;
display: block; }
.cover {
background: white;
margin: auto;
display: block;
position: relative;
margin-bottom: 30px;
-webkit-box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.1);
-moz-box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.1);
-ms-box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.1);
-o-box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.1);
box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.1); }
.cover img {
width: 100%;
display: block;
opacity: 0.8;
-webkit-transition: all 0.2s ease-in;
-moz-transition: all 0.2s ease-in;
-ms-transition: all 0.2s ease-in;
-o-transition: all 0.2s ease-in;
transition: all 0.2s ease-in; }
.cover img:hover {
opacity: 1;
-webkit-transition: all 0.2s ease-in;
-moz-transition: all 0.2s ease-in;
-ms-transition: all 0.2s ease-in;
-o-transition: all 0.2s ease-in;
transition: all 0.2s ease-in; }
.cover .tag {
width: 100px;
position: absolute;
top: 0px;
right: 0px;
z-index: 1; }
.cover a:hover {
border: none;
color: #000; }
.cover .details {
position: absolute;
bottom: 0;
width: 100%;
background: rgba(255, 255, 255, 0.8);
padding: 20px 20px;
box-sizing: border-box;
-moz-box-sizing: border-box;
-ms-box-sizing: border-box; }
.cover .details h2 {
font-weight: 500;
margin: 0 0 5px 0; }
.cover .details p {
margin: 0; }
.content .pure-u-1-3 {
box-sizing: border-box;
-moz-box-sizing: border-box;
-ms-box-sizing: border-box; }
.article-container {
/*width: 280px;*/
width: 30%;
margin: 0 1.5%;
margin-bottom: 50px;
box-sizing: border-box;
-moz-box-sizing: border-box;
-ms-box-sizing: border-box; }
.article {
border: 1px solid #ccc;
background: white;
padding-bottom: 10px;
color: #6D6D6D;
-webkit-box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.1);
-moz-box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.1);
-ms-box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.1);
-o-box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.1);
box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.1);
box-sizing: border-box;
-moz-box-sizing: border-box;
-ms-box-sizing: border-box; }
.article:hover {
color: #333; }
.article a:hover {
border: none;
color: #000; }
.article .details {
padding: 5px 10px; }
.article .details h3 {
margin: 0 0 10px 0;
color: #363845; }
.article .details blockquote, .article .details p {
margin: 0;
border: none; }
.article img.article-cover {
border-bottom: 1px solid #ccc;
width: 100%;
opacity: 0.8;
-webkit-transition: all 0.2s ease-in;
-moz-transition: all 0.2s ease-in;
-ms-transition: all 0.2s ease-in;
-o-transition: all 0.2s ease-in;
transition: all 0.2s ease-in; }
.article img.article-cover:hover {
opacity: 1;
-webkit-transition: all 0.2s ease-in;
-moz-transition: all 0.2s ease-in;
-ms-transition: all 0.2s ease-in;
-o-transition: all 0.2s ease-in;
transition: all 0.2s ease-in; }
.article .tag {
width: 100px;
position: absolute;
top: 0px;
z-index: 1; }
.article.faceoff {
border-top: 2px solid #E67E22; }
.article.bigstory {
border-top: 2px solid #4390DF; }
.article.coverstory {
border-top: 2px solid #FF5050; }
.article.techila {
border-top: 2px solid #9B59B6; }
.article.phekingnews {
border-top: 2px solid #F1C40F; }
.article.editorial {
border-top: 2px solid #2ECC71; }
.article.news {
border-top: 2px solid #1ABC9C; }
.article.almostfamous {
border-top: 2px solid #34495E; }
.post {
background: white;
padding: 10px 50px;
-webkit-box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.1);
-moz-box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.1);
-ms-box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.1);
-o-box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.1);
box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.1);
font-size: 1.1em;
line-height: 1.5em;
color: #333332; }
.post p img {
display: block;
margin: auto;
max-width: 100%;
padding: 5px 0px; }
footer {
background: white; }
footer div {
display: block;
margin: auto; }
footer nav {
margin: 1em 0;
float: right; }
footer nav a {
margin: 0px 10px;
padding: 2px 0px; }
.team {
background: white;
padding: 10px 50px;
-webkit-box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.1);
-moz-box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.1);
-ms-box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.1);
-o-box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.1);
box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.1);
font-size: 1.1em;
line-height: 1.5em;
color: #333332;
text-align: center;
font-size: 0.9em; }
.team h1, .team h3, .team h4, .team h5, .team h6 {
margin: 0px;
font-weight: 500; }
.team .person {
margin-bottom: 20px; }
.about {
background: white;
padding: 10px 50px;
-webkit-box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.1);
-moz-box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.1);
-ms-box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.1);
-o-box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.1);
box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.1);
font-size: 1.1em;
line-height: 1.5em;
color: #333332;
text-align: center;
font-size: 0.9em; }

391
css/base.scss Normal file
View File

@ -0,0 +1,391 @@
@charset "UTF-8";
// ============== MIXINS ============== //
@mixin transition($transition-property, $transition-time, $method) {
-webkit-transition: $transition-property $transition-time $method;
-moz-transition: $transition-property $transition-time $method;
-ms-transition: $transition-property $transition-time $method;
-o-transition: $transition-property $transition-time $method;
transition: $transition-property $transition-time $method;
}
@mixin box-sizing(){
box-sizing: border-box;
-moz-box-sizing: border-box;
-ms-box-sizing: border-box;
}
@mixin shadow(){
-webkit-box-shadow: 0 2px 5px 0 rgba(0,0,0,0.1);
-moz-box-shadow: 0 2px 5px 0 rgba(0,0,0,0.1);
-ms-box-shadow: 0 2px 5px 0 rgba(0,0,0,0.1);
-o-box-shadow: 0 2px 5px 0 rgba(0,0,0,0.1);
box-shadow: 0 2px 5px 0 rgba(0,0,0,0.1);
}
// ============== /MIXINS ============== //
@font-face {
font-family: 'AvenirNext';
font-style: normal;
font-weight: 300;
src: local('Avenir Next'), local('Avenir Next'), url(/fonts/avenirnext-thin.woff) format('woff');
}
@font-face {
font-family: 'AvenirNext';
font-style: normal;
font-weight: 500;
src: local('Avenir Next'), local('Avenir Next'), url(/fonts/avenirnext-regular.woff) format('woff');
}
@font-face {
font-family: 'AvenirNext';
font-style: normal;
font-weight: 700;
src: local('Avenir Next Bold'), local('Avenir Next Bold'), url(/fonts/avenirnext-bold.woff) format('woff');
}
body {
font-size: 13px;
color: #081522;
border-top: 10px solid #363845;
background: #ddd url('/images/bg.png');
@include box-sizing();
}
*{
font-family: Open Sans, sans-serif;
}
// ============== COMPONENTS ============== //
a {
color: inherit;
text-decoration: none;
@include transition(all, 0.2s, ease-in);
&:hover{
color: #e74c3c;
border-bottom: 1px solid #e74c3c;
@include transition(all, 0.2s, ease-in);
}
}
blockquote {
border-left: 5px solid #e74c3c;
padding-left: 10px;
font-style: italic;
}
.pagination {
text-align: center;
font-style: italic;
img {
position: relative;
top: 12px;
opacity: 0.7;
cursor: pointer;
@include transition(all, 0.2s, ease-in);
&:hover {
opacity: 1;
@include transition(all, 0.2s, ease-in);
}
&.disabled {
opacity: 0.5;
&:hover {
opacity: 0.5;
}
}
}
}
// ============== /COMPONENETS ============== //
// ============== HEADER ============== //
.redhead {
background: #e74c3c;
border-bottom: 1px solid #c0bfc4;
min-height: 200px;
}
header {
font-family: AvenirNext, Sans-serif;
color: white;
padding: 10px 10px;
margin: auto;
text-align: center;
&.pure-u-2-3{
display: block;
}
h1, h3 {
margin: 0px;
}
h3 {
font-weight: 500;
}
img {
width: 30px;
}
nav {
padding: 10px 0px 50px 0px;
margin-top: 30px;
a {
margin: 0px 10px;
padding: 2px 0px;
&:hover{
color: #333;
border-bottom: 1px solid #333;
}
}
}
}
// ============== /HEADER ============== //
// ============== CONTENT ============== //
.container {
position: relative;
top: -30px;
margin: auto;
display: block;
}
.cover {
background: white;
margin: auto;
display: block;
position: relative;
margin-bottom: 30px;
@include shadow();
img {
width: 100%;
display: block;
opacity: 0.8;
@include transition(all, 0.2s, ease-in);
&:hover {
opacity: 1;
@include transition(all, 0.2s, ease-in);
}
}
.tag {
width: 100px;
position: absolute;
top: 0px;
right: 0px;
z-index: 1;
}
a:hover {
border: none;
color: #000;
}
.details {
position: absolute;
bottom: 0;
width: 100%;
background: rgba(255,255,255,0.8);
padding: 20px 20px;
@include box-sizing();
h2 {
font-weight: 500;
margin: 0 0 5px 0;
}
p {
margin: 0;
}
}
}
.content {
.pure-u-1-3 {
@include box-sizing();
}
}
.article-container {
/*width: 280px;*/
width: 30%;
margin: 0 1.5%;
margin-bottom: 50px;
@include box-sizing();
}
.article {
border: 1px solid #ccc;
background: white;
padding-bottom: 10px;
color: #6D6D6D;
@include shadow();
@include box-sizing();
&:hover {
color: #333;
}
a:hover {
border: none;
color: #000;
}
.details {
padding: 5px 10px;
h3 {
margin: 0 0 10px 0;
color: #363845;
}
blockquote, p {
margin: 0;
border: none;
}
}
img.article-cover {
border-bottom: 1px solid #ccc;
width: 100%;
opacity: 0.8;
@include transition(all, 0.2s, ease-in);
&:hover {
opacity: 1;
@include transition(all, 0.2s, ease-in);
}
}
.tag {
width: 100px;
position: absolute;
top: 0px;
z-index: 1;
}
&.faceoff {
border-top: 2px solid #E67E22;
}
&.bigstory {
border-top: 2px solid #4390DF;
}
&.coverstory {
border-top: 2px solid #FF5050;
}
&.techila {
border-top: 2px solid #9B59B6;
}
&.phekingnews {
border-top: 2px solid #F1C40F;
}
&.editorial {
border-top: 2px solid #2ECC71;
}
&.news {
border-top: 2px solid #1ABC9C;
}
&.almostfamous {
border-top: 2px solid #34495E;
}
}
// ============== CONTENT ============== //
// ============== POST ============== //
.post {
background: white;
padding: 10px 50px;
@include shadow();
font-size: 1.1em;
line-height: 1.5em;
color: #333332;
p img {
display: block;
margin: auto;
max-width: 100%;
padding: 5px 0px;
}
}
// ============== /POST ============== //
// ============== FOOTER ============== //
footer {
background: white;
div{
display: block;
margin: auto;
}
nav {
margin: 1em 0;
float: right;
a {
margin: 0px 10px;
padding: 2px 0px;
}
}
}
// ============== /FOOTER ============== //
// ============== TEAM ============== //
.team {
background: white;
padding: 10px 50px;
@include shadow();
font-size: 1.1em;
line-height: 1.5em;
color: #333332;
text-align: center;
font-size: 0.9em;
h1, h3, h4, h5, h6 {
margin: 0px;
font-weight: 500;
}
.person {
margin-bottom: 20px;
}
}
.about {
background: white;
padding: 10px 50px;
@include shadow();
font-size: 1.1em;
line-height: 1.5em;
color: #333332;
text-align: center;
font-size: 0.9em;
}
// ============== /TEAM ============== //

1338
css/fontawesome.min.css vendored Normal file

File diff suppressed because it is too large Load Diff

30
css/mobile.css Normal file
View File

@ -0,0 +1,30 @@
.sidebar {
position: inherit;
width: inherit;
margin: 0;
padding: 25px; }
.sidebar img {
display: none; }
.sidebar .name {
display: inline; }
.sidebar .name #fname, .sidebar .name #lname {
font-size: 25px; }
.sidebar .meta {
display: none; }
.sidebar ul {
padding: 25px; }
.sidebar li {
display: inline; }
.sidebar .sections {
margin: 0; }
.sidebar .sections a {
font-size: 16px;
margin: 0 20px 0 0;
padding: 5px 10px; }
.content {
margin: 0;
padding: 5px 25px;
width: inherit; }
.content h1 {
margin: 0 0 5px 0; }

11
css/pure.css Normal file

File diff suppressed because one or more lines are too long

78
css/pygments.css Normal file
View File

@ -0,0 +1,78 @@
.highlight {
margin: 0;
background-color: #eee;
font-size: 12px;
padding: 0px 15px;
-webkit-border-radius: 10px;
-moz-border-radius: 10px;
overflow: hidden;
text-shadow: none;
color: #111;
}
.hightlight code{
float: left;
}
.highlight:hover {
overflow: auto;
}
.highlight .hll { background-color: #ffffcc }
.highlight .c { color: #888888 } /* Comment */
.highlight .err { color: #a61717; background-color: #e3d2d2 } /* Error */
.highlight .k { color: #008800; font-weight: bold } /* Keyword */
.highlight .cm { color: #888888 } /* Comment.Multiline */
.highlight .cp { color: #cc0000; font-weight: bold } /* Comment.Preproc */
.highlight .c1 { color: #888888 } /* Comment.Single */
.highlight .cs { color: #cc0000; font-weight: bold; background-color: #fff0f0 } /* Comment.Special */
.highlight .gd { color: #000000; background-color: #ffdddd } /* Generic.Deleted */
.highlight .ge { font-style: italic } /* Generic.Emph */
.highlight .gr { color: #aa0000 } /* Generic.Error */
.highlight .gh { color: #303030 } /* Generic.Heading */
.highlight .gi { color: #000000; background-color: #ddffdd } /* Generic.Inserted */
.highlight .go { color: #888888 } /* Generic.Output */
.highlight .gp { color: #555555 } /* Generic.Prompt */
.highlight .gs { font-weight: bold } /* Generic.Strong */
.highlight .gu { color: #606060 } /* Generic.Subheading */
.highlight .gt { color: #aa0000 } /* Generic.Traceback */
.highlight .kc { color: #008800; font-weight: bold } /* Keyword.Constant */
.highlight .kd { color: #008800; font-weight: bold } /* Keyword.Declaration */
.highlight .kn { color: #008800; font-weight: bold } /* Keyword.Namespace */
.highlight .kp { color: #008800 } /* Keyword.Pseudo */
.highlight .kr { color: #008800; font-weight: bold } /* Keyword.Reserved */
.highlight .kt { color: #888888; font-weight: bold } /* Keyword.Type */
.highlight .m { color: #0000DD; font-weight: bold } /* Literal.Number */
.highlight .s { color: #dd2200; background-color: #fff0f0 } /* Literal.String */
.highlight .na { color: #336699 } /* Name.Attribute */
.highlight .nb { color: #003388 } /* Name.Builtin */
.highlight .nc { color: #bb0066; font-weight: bold } /* Name.Class */
.highlight .no { color: #003366; font-weight: bold } /* Name.Constant */
.highlight .nd { color: #555555 } /* Name.Decorator */
.highlight .ne { color: #bb0066; font-weight: bold } /* Name.Exception */
.highlight .nf { color: #0066bb; font-weight: bold } /* Name.Function */
.highlight .nl { color: #336699; font-style: italic } /* Name.Label */
.highlight .nn { color: #bb0066; font-weight: bold } /* Name.Namespace */
.highlight .py { color: #336699; font-weight: bold } /* Name.Property */
.highlight .nt { color: #bb0066; font-weight: bold } /* Name.Tag */
.highlight .nv { color: #336699 } /* Name.Variable */
.highlight .ow { color: #008800 } /* Operator.Word */
.highlight .w { color: #bbbbbb } /* Text.Whitespace */
.highlight .mf { color: #0000DD; font-weight: bold } /* Literal.Number.Float */
.highlight .mh { color: #0000DD; font-weight: bold } /* Literal.Number.Hex */
.highlight .mi { color: #0000DD; font-weight: bold } /* Literal.Number.Integer */
.highlight .mo { color: #0000DD; font-weight: bold } /* Literal.Number.Oct */
.highlight .sb { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Backtick */
.highlight .sc { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Char */
.highlight .sd { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Doc */
.highlight .s2 { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Double */
.highlight .se { color: #0044dd; background-color: #fff0f0 } /* Literal.String.Escape */
.highlight .sh { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Heredoc */
.highlight .si { color: #3333bb; background-color: #fff0f0 } /* Literal.String.Interpol */
.highlight .sx { color: #22bb22; background-color: #f0fff0 } /* Literal.String.Other */
.highlight .sr { color: #008800; background-color: #fff0ff } /* Literal.String.Regex */
.highlight .s1 { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Single */
.highlight .ss { color: #aa6600; background-color: #fff0f0 } /* Literal.String.Symbol */
.highlight .bp { color: #003388 } /* Name.Builtin.Pseudo */
.highlight .vc { color: #336699 } /* Name.Variable.Class */
.highlight .vg { color: #dd7700 } /* Name.Variable.Global */
.highlight .vi { color: #3333bb } /* Name.Variable.Instance */
.highlight .il { color: #0000DD; font-weight: bold } /* Literal.Number.Integer.Long */