123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151 |
- $black: #000;
- $white: #fff;
- $link: #06581f;
- $packt: #f79321;
- html, body {
- margin: 0;
- padding: 0;
- }
- body {
- font: 62.5% Verdana, Helvetica, Arial, sans-serif;
- color: $black;
- background: $white;
- }
- #container {
- font-size: 1.2em;
- margin: 10px 2em;
- }
- h1 {
- font-size: 2.5em;
- margin-bottom: 0;
- }
- h2 {
- font-size: 1.3em;
- margin-bottom: .5em;
- }
- h3 {
- font-size: 1.1em;
- margin-bottom: 0;
- }
- code {
- font-size: 1.2em;
- }
- a {
- color: $link;
- }
- ul#books {
- list-style: none;
- margin: 0;
- padding: 0;
- height: 210px;
- width: 500px;
- overflow: hidden;
- }
- ul#books li {
- list-style: none;
- margin: 0;
- padding: 0;
- height: 210px;
- width: 500px;
- background-color: $packt;
- position: relative;
- }
- ul#books li img {
- position: absolute;
- left: 0;
- top: 0;
- width: 300px;
- height: 210px;
- }
- ul#books li .title {
- margin-left: 300px;
- padding: 10px;
- width: 180px;
- font-weight: bold;
- font-size: 1.2em;
- background-color: $black;
- color: $white;
- overflow: hidden;
- }
- ul#books li .author {
- margin-left: 300px;
- padding: 10px 10px 0 10px;
- width: 180px;
- font-weight: bold;
- background-color: #F79321;
- color: $white;
- }
- #books-controls {
- margin: 10px 0;
- width: 500px;
- }
- #books-controls button {
- margin: 0 10px 10px 0;
- float: left;
- }
- #books-controls #slider {
- clear: left;
- margin: 10px 0;
- }
- h1 {
- text-align: center;
- border: 0 solid $white;
- width: 500px;
- margin-bottom: 20px;
- }
- h1.highlighted {
- border: 10px solid #F79321;
- padding: 10px;
- width: 460px;
- margin-bottom: 0;
- background-color: $black;
- color: $packt;
- }
- #books .ui-resizable-s {
- bottom: 0;
- }
- .ui-content img {
- display: block;
- }
- .ui-content .title {
- padding: 10px;
- margin: 0;
- width: 280px;
- font-weight: bold;
- font-size: 18px;
- background-color: $packt;
- color: $white;
- text-shadow: none;
- }
- .ui-content .author {
- padding: 10px;
- margin: 0;
- width: 280px;
- font-weight: bold;
- font-size: 14px;
- background-color: $packt;
- color: $white;
- text-shadow: none;
- }
|