cops/styles/style-default.css

397 lines
7.6 KiB
CSS
Raw Normal View History

2013-05-16 13:30:29 +03:00
/* Global Box Sizing and Font-Smoothing */
*, *:after, *:before {
2013-05-16 13:30:29 +03:00
box-sizing:border-box;
-webkit-box-sizing:border-box;
-moz-box-sizing:border-box;
-webkit-font-smoothing:antialiased;
-moz-font-smoothing:antialiased;
-o-font-smoothing:antialiased;
font-smoothing:antialiased;
text-rendering:optimizeLegibility;
}
html { font-size: 100%; -webkit-text-size-adjust: 100%;
-ms-text-size-adjust: 100%; }
body {
2013-05-16 13:30:29 +03:00
font-family: 'Open Sans', sans-serif;
line-height:18px;
color: #1c1c1c; /* Lighter on the eyes than #000 Black */
margin: 0px; background: #cccccc; background-size: cover;
}
img {
2013-05-16 13:30:29 +03:00
border: 0px;
max-width: 100%;
height: auto;
width: auto\9; /* ie8 */
}
/* ==========================================================================
Typography stuff goes here
========================================================================== */
h1,h2,h3,h4,h5,h6 { font-weight: bold; margin:0; padding:0;}
/*h1 see mediaqueries*/
h2 {font-size: 1.2em;}
h3 {font-size: 1.1em;}
h4 {font-size: 1.0em; }
h5 {font-size: 0.83em;}
h6 {font-size: 0.75em;}
a:hover, a:focus, a:active { outline: none; }
2013-02-28 18:44:05 +02:00
a { color: #000066; font-weight: 800; text-decoration: none;}
a:hover { color:#000; text-decoration: none; }
2013-05-17 14:42:21 +03:00
.frontpage a {display:block; }
2013-05-17 11:58:44 +03:00
.frontpage a:hover { width: 100%; background-color: #778899;}
2013-05-17 12:09:24 +03:00
.books:hover { width: 100%; background-color: #778899; }
.link a:hover { display:inline-block; width: 100%; background-color: #778899; /*Dirty IE Hack*/ zoom: 1; *display: inline;}
2012-06-02 09:48:07 +03:00
.mfp-content .bookpopup {
position: relative;
background: #FFF;
padding: 20px;
width: auto;
max-width: 700px;
margin: 20px auto;
}
2013-07-24 21:49:24 +03:00
#email {
2013-07-23 08:43:13 +03:00
width: 300px;
}
.filtered {
display: none;
}
#filter {
clear:both;
}
#filter ul {
margin: 0;
padding: 0;
list-style-type: none;
text-align: left;
text-transform:none;
}
2013-06-28 09:52:54 +03:00
li {
display: inline-block;
padding: .2em 1em;
margin: 2px;
color: black;
background-color: white;
opacity: 0.5;
}
.filter-include {
border-left:thick solid blue;
opacity: 1;
}
.filter-exclude {
border-right:thick solid red;
opacity: 1;
}
2013-03-06 09:02:03 +02:00
img
2012-12-22 19:05:37 +02:00
{
2013-03-06 09:02:03 +02:00
margin:0;
padding:0;
border:0;
2012-12-22 19:05:37 +02:00
}
/* =============================================================================
Main container stuff goes here and other globals
========================================================================== */
.container{
background: #414141; border:1px solid #000; border-radius:10px;
2013-05-16 13:30:29 +03:00
max-width:800px;width:95%;margin:0 auto;position:relative; }
2012-06-02 09:48:07 +03:00
/* =============================================================================
Header stuff goes here
========================================================================== */
header {
2013-05-16 13:30:29 +03:00
clear:both;
color:white;
text-align:center;
text-transform:uppercase;
display:block;
box-shadow:inset 0px -5px 8px #000000;
min-height:70px;
border-radius: 10px 10px 0px 0px;
2012-06-02 09:48:07 +03:00
}
.hicon{
display:inline-block;
color:lightgray;
text-align: center;
vertical-align: bottom;
text-shadow: 2px 2px 2px black;
}
.submit {
color: lightgray;
cursor: pointer;
background-color: transparent;
background-image: none;
border-color: transparent;
-webkit-border-radius: 0;
-moz-border-radius: 0;
border-radius: 0;
-webkit-box-shadow: none;
-moz-box-shadow: none;
box-shadow: none;
}
.hicon64{
font-size: 64px;
line-height: 64px;
width: 64px;
height: 64px;
}
.hicon32{
font-size: 24px;
line-height: 32px;
width: 32px;
height: 32px;
}
.headleft {
2013-05-16 13:30:29 +03:00
float: left;
2012-10-11 22:14:06 +03:00
}
.headcenter
{
float:none;
margin:auto;
text-align:center;
height:70px;
display:table;
}
header h1{
display: table-cell;
vertical-align: middle;
text-align: center;
line-height: 100%;
text-shadow: 0px 4px 3px rgba(0,0,0,0.4),
0px 8px 13px rgba(0,0,0,0.1),
0px 18px 23px rgba(0,0,0,0.1);
}
.headright {
2013-05-16 13:30:29 +03:00
float: right;
/*for ios compatibility*/
cursor: pointer;
}
/* =============================================================================
Section and Article stuff goes here
========================================================================== */
section {
2012-06-02 09:48:07 +03:00
clear:both;
background-color: #fff;
}
article {
border-bottom: 1px solid black;
max-width:800px;
}
/*-------------frontpage article-------------*/
.frontpage h2 {
2013-05-16 13:30:29 +03:00
padding: 5px 0 0 5px;
2012-06-02 09:48:07 +03:00
}
.frontpage h4 {
2013-05-16 13:30:29 +03:00
padding: 5px 0 5px 20px;
font-style: italic;
2012-06-02 09:48:07 +03:00
}
/*-------------books article-------------*/
.books {
2013-05-16 13:30:29 +03:00
clear: both;
min-height: 90px;
2012-06-02 09:48:07 +03:00
}
.books .cover {
2013-05-16 13:30:29 +03:00
float:left;
margin: 4px 10px 4px 4px;
width: 60px;
height: 82px;
}
.bookpopup .cover {
float:left;
margin: 4px 10px 4px 4px;
width: 100px;
height: 150px;
}
.cover img {
max-width:100%;
max-height:100%;
color: white;
}
.download {
2013-05-16 13:30:29 +03:00
float: right;
line-height:40px;
text-align: right;
margin: 6px;
2012-06-02 09:48:07 +03:00
}
.download a {
2013-05-16 13:30:29 +03:00
border-radius: 6px;
box-shadow:0 0 10px #000;
background: darkgray;
background: radial-gradient(#666, black);
color: #EEE;
text-decoration : none;
font-weight: bold;
padding: 5px 10px 5px 10px;
2013-06-21 22:31:49 +03:00
text-align: center;
2012-10-11 22:14:06 +03:00
}
2013-06-21 22:31:49 +03:00
.download img {
vertical-align:middle;
}
2012-10-11 22:14:06 +03:00
.books h4{
2013-05-16 13:30:29 +03:00
display: inline;
font-style: italic;
2012-06-02 09:48:07 +03:00
}
/*-------------books popup article-------------*/
.bookpopup h2{
2013-05-16 13:30:29 +03:00
margin: 15px 15px;
2012-06-02 09:48:07 +03:00
}
.bookpopup h3{
2013-05-16 13:30:29 +03:00
display:inline; /*Dirty IE Hack*/ zoom: 1; *display: inline;
2012-06-02 09:48:07 +03:00
}
.bookpopup h4{
2013-05-16 13:30:29 +03:00
border-top: 1px solid black;
2012-06-02 09:48:07 +03:00
}
.fullclickpopup{
2013-05-16 13:30:29 +03:00
display: block;
2012-06-02 09:48:07 +03:00
}
section .bookpopup{
padding: 8px 8px;
}
/* =============================================================================
Footer stuff goes here
========================================================================== */
footer
2012-06-02 09:48:07 +03:00
{
clear:both;
2013-05-16 13:41:22 +03:00
color:white;
box-shadow:inset 0px 5px 8px #000000;
border-radius: 0px 0px 10px 10px;
height:32px;
2012-06-02 09:48:07 +03:00
}
.footleft
{
float:left;
height:32px;
}
2013-05-16 13:41:22 +03:00
.footright
{
float:right;
height:32px;
}
.footcenter
{
margin:auto;
text-align:center;
height:32px;
display:table;
font-weight: bold;
2013-05-16 13:41:22 +03:00
}
.footcenter p, .footcenter a
{
display: table-cell;
vertical-align: middle;
text-align: center;
line-height: 100%;
2012-06-12 23:46:54 +03:00
}
2013-05-16 13:41:22 +03:00
/* =============================================================================
Aside stuff goes here
2013-03-06 09:02:03 +02:00
========================================================================== */
#tool
2012-06-02 09:48:07 +03:00
{
2013-03-06 09:02:03 +02:00
width:100%;
overflow: hidden;
2012-06-02 09:48:07 +03:00
}
2012-06-13 18:28:54 +03:00
/*-------------Search Aside-------------*/
#tool input[type=search]
2012-06-02 09:48:07 +03:00
{
2013-03-06 09:02:03 +02:00
vertical-align: middle;
width: 100%;
margin: 3px;
}
2013-03-06 09:02:03 +02:00
.stop select
2012-06-02 09:48:07 +03:00
{
2012-06-18 21:59:45 +03:00
vertical-align: middle;
margin: 4px;
2012-06-02 09:48:07 +03:00
}
2013-03-06 09:02:03 +02:00
#sort
2012-06-02 09:48:07 +03:00
{
2013-03-06 09:02:03 +02:00
cursor:pointer;
2012-06-02 09:48:07 +03:00
}
2013-03-06 09:02:03 +02:00
.stop
2012-06-02 09:48:07 +03:00
{
2013-03-06 09:02:03 +02:00
display: block;
overflow: hidden;
2012-06-02 09:48:07 +03:00
}
/* =============================================================================
Mediaquerie stuff goes here
========================================================================== */
/* 100px and greater */
@media only screen and (min-width: 100px) {
h1 {font-size: 1em;}
.container { width:100%; }
}
/* 320px and greater */
@media only screen and (min-width: 320px) {
h1 {font-size: 1.2em;}
}
/* 480px and greater */
@media only screen and (min-width: 480px) {
h1 {font-size: 1.5em;}
2013-05-16 13:30:29 +03:00
body { font-size: 1em;/*12px/16px */
font-weight:450; /* Better supported than 'lighter' attribute */
}
}
/* 768px and greater */
@media only screen and (min-width: 768px) {
h1 {font-size: 2em; line-height: 1em;}
.container { box-shadow:0 0 20px #000; }
2013-05-16 13:30:29 +03:00
body { margin: 5px;
font-size: 0.85em;/*12px/16px */
font-weight:400; /* Better supported than 'lighter' attribute */
}
}