Skip to content

Commit

Permalink
Stylus skin. Illusion minor changes
Browse files Browse the repository at this point in the history
  • Loading branch information
rafikov committed Apr 5, 2012
1 parent cf984a6 commit 8295ee0
Show file tree
Hide file tree
Showing 2 changed files with 443 additions and 14 deletions.
177 changes: 163 additions & 14 deletions illusion/skin.css
@@ -1,10 +1,113 @@
/* Skin "Illusion" by Renat Rafikov */
/* "Simpliste" template. Renat Rafikov. http://cssr.ru/simpliste/ */

/* Webfonts */
@import url(http://fonts.googleapis.com/css?family=Play:700&subset=latin,cyrillic);
/* End webfonts */

/* CSS reset. Based on HTML5 boilerplate reset http://html5boilerplate.com/ */
article, aside, details, figcaption, figure, footer, header, hgroup, nav, section { display:block; }
audio[controls], canvas, video { display:inline-block; *display:inline; *zoom:1; }
html { font-size:100%; overflow-y:scroll; -webkit-overflow-scrolling:touch; -webkit-tap-highlight-color:rgba(0,0,0,0); -webkit-text-size-adjust:100%; -ms-text-size-adjust:100%; }
body { margin:0; font-size:13px; line-height:1.231; }
body, button, input, select, textarea { font-family:sans-serif; color:#222; }
a { color:#00e; }
a:visited { color:#551a8b; }
a:focus { outline:thin dotted; }
a:hover, a:active { outline:0; }
abbr[title] { border-bottom:1px dotted; }
b, strong { font-weight:bold; }
blockquote { margin:1em 40px; }
dfn { font-style:italic; }
hr { display:block; height:1px; border:0; border-top:1px solid #ccc; margin:1em 0; padding:0; }
ins { background:#ff9; color:#000; text-decoration:none; }
mark { background:#ff0; color:#000; font-style:italic; font-weight:bold; }
pre, code, kbd, samp { font-family:monospace, monospace; _font-family:'courier new', monospace; font-size:1em; }
pre { white-space:pre; white-space:pre-wrap; word-wrap:break-word; }
q { quotes:none; }
q:before, q:after { content:""; content:none; }
small { font-size:85%; }
sub, sup { font-size:75%; line-height:0; position:relative; vertical-align:baseline; }
sup { top:-0.5em; }
sub { bottom:-0.25em; }
ul, ol { margin:1em 0; padding:0 0 0 2em; }
dd { margin:0 0 0 40px; }
nav ul, nav ol { list-style:none; margin:0; padding:0; }
img { border:0; -ms-interpolation-mode:bicubic; }
svg:not(:root) { overflow:hidden;}
figure { margin:0; }
form { margin:0; }
fieldset { border:0; margin:0; padding:0; }
legend { border:0; *margin-left:-7px; padding:0; }
label { cursor:pointer; }
button, input, select, textarea { font-size:100%; margin:0; vertical-align:baseline; *vertical-align:middle; }
button, input { line-height:normal; *overflow:visible; }
button, input[type="button"], input[type="reset"], input[type="submit"] { cursor:pointer; -webkit-appearance:button; }
input[type="checkbox"], input[type="radio"] { box-sizing:border-box; }
input[type="search"] { -moz-box-sizing:content-box; -webkit-box-sizing:content-box; box-sizing:content-box; }
button::-moz-focus-inner, input::-moz-focus-inner { border:0; padding:0; }
textarea { overflow:auto; vertical-align:top; }
input:valid, textarea:valid { }
input:invalid, textarea:invalid { background-color:#f0dddd; }
table { border-collapse:collapse; border-spacing:0; }
.hidden { display:none; visibility:hidden; }
.clearfix:before, .clearfix:after { content:""; display:table; }
.clearfix:after { clear:both; }
.clearfix { zoom:1; }
/* End CSS reset */


/* Columns
-------
.col_33 | .col_33 | .col_33
.clearfix
-------
.col_66 | .col_33
.clearfix
-------
.col_50 | .col_50
.clearfix
-------
.col_100
-------
*/
.col_33 {
width:31%;
margin:0 2% 0 0;
float:left;
}

.col_50 {
width:48%;
margin:0 2% 0 0;
float:left;
}

.col_66 {
width:64%;
margin:0 2% 0 0;
float:left;
}

.col_100 {
width:98%;
margin:0 2% 0 0;
}
/* End columns */


/* Helper classes */
.center {text-align:center;}
.left {text-align:left;}
.right {text-align:right;}

.img_floatleft {float:left; margin:0 10px 5px 0;}
.img_floatright {float:right; margin:0 0 5px 10px;}

.img {max-width:100%;}
/* End helper classes */


/* [Skin "Illusion"] */
body{
background-color: #16a8cd;
background-image: -webkit-linear-gradient(60deg, #1283ab 12%, transparent 12.5%, transparent 87%, #1283ab 87.5%, #1283ab), -webkit-linear-gradient(-60deg, #1283ab 12%, transparent 12.5%, transparent 87%, #1283ab 87.5%, #1283ab), -webkit-linear-gradient(60deg, #1283ab 12%, transparent 12.5%, transparent 87%, #1283ab 87.5%, #1283ab), -webkit-linear-gradient(-60deg, #1283ab 12%, transparent 12.5%, transparent 87%, #1283ab 87.5%, #1283ab), -webkit-linear-gradient(30deg, #198ab4 25%, transparent 25.5%, transparent 75%, #198ab4 75%, #198ab4), -webkit-linear-gradient(30deg, #198ab4 25%, transparent 25.5%, transparent 75%, #198ab4 75%, #198ab4);
Expand All @@ -15,16 +118,6 @@ body{
background-position: 0 0pt, 0 0pt, 40px 70px, 40px 70px, 0 0pt, 40px 70px;
background-size: 80px 140px;
background-attachment:fixed;
font-family:arial, sans-serif;
color:#333;
}

a { color:#1283ab; }
a:hover { color:#f00; }
a:visited { color:#1283ab; }

ul li, ol li {
padding:0 0 0.4em 0;
}

.container {
Expand Down Expand Up @@ -55,6 +148,7 @@ ul li, ol li {
float:right;
text-align:right;
position:fixed;
z-index:1000;
top:0;
right:0;
background:#fff;
Expand Down Expand Up @@ -145,6 +239,19 @@ ul li, ol li {
display:none;
}

/* Skin appearance */
body {
font-family:arial, sans-serif;
color:#333;
}

a { color:#1283ab; }
a:hover { color:#f00; }
a:visited { color:#1283ab; }

ul li, ol li {
padding:0 0 0.4em 0;
}

.hero h1 {
font-size:30px;
Expand Down Expand Up @@ -213,7 +320,7 @@ a.button:active,
padding:5px 7px;
}
.table tr {
border-bottom:1px dashed #ddd;
border-bottom:1px solid #ddd;
}
.table tr:last-child {
border:0;
Expand All @@ -240,9 +347,10 @@ a.button:active,
background:#d4db95;
padding:12px 14px;
}
/* [End skin] */


@media only screen and (max-width:480px) { /* Smartphone custom styles */
@media only screen and (max-width:480px) { /* Smartphone */
.header {
margin:5em 0 1em 0;
height:auto;
Expand Down Expand Up @@ -285,7 +393,48 @@ a.button:active,
padding-bottom:0;
height:10em;
}


.form textarea {
width:100%;
}
.form label {
padding:10px 0 8px 0;
}
}

@media only screen and (max-width:768px) { /* Tablet custom styles */

@media only screen and (max-width:768px) { /* Tablet */
.col_33,
.col_66,
.col_50 {
width:98%;
float:none;
}

.form label {
padding:10px 0 8px 0;
}

.copyright {
font-size:2em;
}
}


@media print { /* Printer */
* { background:transparent !important; color:black !important; text-shadow:none !important; filter:none !important; -ms-filter:none !important; }
a, a:visited { color:#444 !important; text-decoration:underline; }
a[href]:after { content:" (" attr(href) ")"; }
abbr[title]:after { content:" (" attr(title) ")"; }
pre, blockquote { border:1px solid #999; page-break-inside:avoid; }
thead { display:table-header-group; }
tr, img { page-break-inside:avoid; }
img { max-width:100% !important; }
@page { margin:0.5cm; }
p, h2, h3 { orphans:3; widows:3; }
h2, h3{ page-break-after:avoid; }

.header, .footer, .form {display:none;}
.col_33, .col_66, .col_50 { width:98%; float:none; }
}

0 comments on commit 8295ee0

Please sign in to comment.