This repository has been archived on 2024-11-29. You can view files and clone it, but cannot push or open issues or pull requests.
Surfagua_Web/src/css/main.css

540 lines
9.6 KiB
CSS
Raw Normal View History

/* ==========================================================================
HTML5 Boilerplate styles - h5bp.com (generated via initializr.com)
========================================================================== */
html,
button,
input,
select,
textarea {
color: #3b3b3b;
}
body {
font-size: 1em;
line-height: 1.4;
}
::-moz-selection {
background: #fafd05;
text-shadow: none;
}
::selection {
background: #fafd05;
text-shadow: none;
}
hr {
display: block;
height: 1px;
border: 0;
border-top: 1px solid #ccc;
margin: 1em 0;
padding: 0;
}
img {
vertical-align: middle;
}
fieldset {
border: 0;
margin: 0;
padding: 0;
}
textarea {
resize: vertical;
}
.chromeframe {
margin: 0.2em 0;
background: #ccc;
color: #000;
padding: 0.2em 0;
}
a {
color: #3b3b3b;
text-decoration: none;
}
a:hover {
color: #fafd05;
}
h1, h2, h3, h4 {
font-weight: normal;
}
/* ===== Initializr Styles ==================================================
Author: Jonathan Verrecchia - verekia.com/initializr/responsive-template
========================================================================== */
body {
font: 21px/30px Hectic, serif;
color: #3b3b3b;
background: #585858; /*url("../img/background-general.jpg");*/
overflow: hidden;
}
.wrapper {
}
/* ===================
ALL: Orange Theme
=================== */
.general-container {
text-align: center;
padding-top: 50px;
}
.main-container {
width: 1024px;
height: 550px;
margin: 0 auto;
text-align: left;
background: #7f7f7f;
position: relative;
-moz-box-shadow: 2px 2px 50px #282828;
-webkit-box-shadow: 2px 2px 50px #282828;
box-shadow: 2px 2px 10px #282828;
}
.main-container aside {
float: left;
width: 160px;
}
.main-container .main {
padding-left: 163px;
display: table;
}
.main article {
top: 0;
right: 0;
position: absolute;
float: right;
width: 800px;
display: table-cell;
margin: 100px 20px 20px 40px;
}
.main article section {
margin: 0 0px;
}
.main article section p {
font: 24px/22px MarkerLitterBox, serif;
letter-spacing: -0.02em;
}
.title {
background: #7f7f7f url('../img/logo.jpg') no-repeat center;
overflow: hidden;
height: 166px;
width: 160px;
text-indent: -9000px;
margin: 0 0 10px 0;
padding: 0;
}
.footer-container {
top: 0;
right: 0;
position: absolute;
}
.footer-container footer p {
font: 18px/24px Hectic, serif;
margin-right: 80px;
text-indent: -80px;
}
.footer-container footer a {
font: 30px/24px MarkerLitterBox, serif;
}
/* ==============
Menu
============== */
nav ul {
margin: 0 0 0 20px;
padding: 0;
}
nav a {
font: 22px/28px Hectic, serif;
display: block;
margin-bottom: 0;
padding: 0;
text-align: left;
text-decoration: none;
font-weight: normal;
color: white;
}
nav a.current {
color: #fafd05;
}
/* ==============
Links
============== */
.links {
display: block;
margin-top: 15px;
}
.links * {
overflow: hidden;
text-indent: -9000px;
margin: 0;
padding: 0;
display: inline-block;
}
.links .escuela {
background: url('../img/logo-surfagua.jpg') no-repeat center;
height: 95px;
width: 160px;
text-indent: -9000px;
margin: 0 0 10px 0;
}
.links .icon {
height: 30px;
width: 30px;
margin: 5px 0;
padding: 0;
}
.links .icon:nth-of-type(2) {
margin-left: 20px;
}
.links .icon:last-of-type {
margin-right: 20px;
}
.links .facebook {
background: url('../img/facebook.png') no-repeat center;
}
.links .twitter {
background: url('../img/twitter.png') no-repeat center;
}
.links .flickr {
background: url('../img/flickr.png') no-repeat center;
}
/* ===============
ALL: IE Fixes
=============== */
.ie7 .title {
padding-top: 20px;
}
/* ==========================================================================
Estilos por páginas
========================================================================== */
.inicio {
background: #585858;
}
.inicio .main-container {
width: 600px;
height: 414px;
-moz-box-shadow: none;
-webkit-box-shadow: none;
box-shadow: none;
}
.filosofia .main-container {
background: #7f7f7f url('../img/background-filosofia.jpg') no-repeat right top;
}
.filosofia .main article section p {
font: 24px/30px Hectic, serif;
}
.la-escuela .main-container {
background: #7f7f7f url('../img/background-la-escuela.jpg') no-repeat right top;
}
.la-escuela .main article {
margin-top: 90px;
}
.la-escuela .main article section h3 {
text-indent: 190px;
margin-top: 0;
margin-bottom: 5px;
}
.la-escuela .main article section p:first-of-type {
margin-top: 0;
}
.la-tienda .main-container {
background: #7f7f7f url('../img/background-la-tienda.jpg') no-repeat right top;
}
.la-tienda .main article section h3 {
text-indent: 140px;
margin-top: 0;
margin-bottom: 5px;
}
.la-tienda .main article section p:first-of-type {
margin-top: 0;
}
.links-amigos .main-container {
background: #7f7f7f url('../img/background-links.jpg') no-repeat right top;
}
.monitores .main-container {
background: #7f7f7f url('../img/background-monitores.jpg') no-repeat right top;
}
.monitores .main article section h3 {
margin-bottom: 0;
}
.monitores .main article section h3:first-of-type {
text-indent: 80px;
margin-top: 0;
}
.monitores .main article section p {
margin-top: 0;
}
.tarifas .main-container {
background: #7f7f7f url('../img/background-tarifas.jpg') no-repeat right top;
}
.tarifas .main article section strong {
color: #ed0808;
font-weight: normal;
}
/* ==========================================================================
Tabla
========================================================================== */
.lista {
margin-left: 60px;
font: 20px/22px MarkerLitterBox, serif;
*border-collapse: collapse; /* IE7 and lower */
border-spacing: 0;
-moz-border-radius: 12px;
-webkit-border-radius: 12px;
border-radius: 12px;
-webkit-box-shadow: 0 0px 7px #2b2725;
-moz-box-shadow: 0 0px 7px #2b2725;
box-shadow: 0 0px 7px #2b2725;
background: #fff;
}
.lista tr:hover {
background: #fafd05;
-o-transition: all 0.1s ease-in-out;
-webkit-transition: all 0.1s ease-in-out;
-moz-transition: all 0.1s ease-in-out;
-ms-transition: all 0.1s ease-in-out;
transition: all 0.1s ease-in-out;
}
.lista td, .lista th {
border-left: 1px solid #a0a0a0;
border-top: 1px solid #a0a0a0;
padding: 6px 20px;
text-align: center;
}
.lista th {
color: #fff;
background-color: #2b2725;
border-top: none;
}
.lista td:first-child, .lista th:first-child {
border-left: none;
}
.lista th:first-child {
-moz-border-radius: 12px 0 0 0;
-webkit-border-radius: 12px 0 0 0;
border-radius: 12px 0 0 0;
}
.lista th:last-child {
-moz-border-radius: 0 12px 0 0;
-webkit-border-radius: 0 12px 0 0;
border-radius: 0 12px 0 0;
}
.lista th:only-child{
-moz-border-radius: 12px 12px 0 0;
-webkit-border-radius: 12px 12px 0 0;
border-radius: 12px 12px 0 0;
}
.lista tr:last-child td:first-child {
-moz-border-radius: 0 0 0 12px;
-webkit-border-radius: 0 0 0 12px;
border-radius: 0 0 0 12px;
}
.lista tr:last-child td:last-child {
-moz-border-radius: 0 0 12px 0;
-webkit-border-radius: 0 0 12px 0;
border-radius: 0 0 12px 0;
}
/* ==========================================================================
Helper classes
========================================================================== */
.ir {
background-color: transparent;
border: 0;
overflow: hidden;
*text-indent: -9999px;
}
.ir:before {
content: "";
display: block;
width: 0;
height: 150%;
}
.hidden {
display: none !important;
visibility: hidden;
}
.visuallyhidden {
border: 0;
clip: rect(0 0 0 0);
height: 1px;
margin: -1px;
overflow: hidden;
padding: 0;
position: absolute;
width: 1px;
}
.visuallyhidden.focusable:active,
.visuallyhidden.focusable:focus {
clip: auto;
height: auto;
margin: 0;
overflow: visible;
position: static;
width: auto;
}
.invisible {
visibility: hidden;
}
.clearfix:before,
.clearfix:after {
content: " ";
display: table;
}
.clearfix:after {
clear: both;
}
.clearfix {
*zoom: 1;
}
/* ==========================================================================
Print styles
========================================================================== */
@media print {
* {
background: transparent !important;
color: #000 !important;
box-shadow: none !important;
text-shadow: none !important;
}
a,
a:visited {
text-decoration: underline;
}
a[href]:after {
content: " (" attr(href) ")";
}
abbr[title]:after {
content: " (" attr(title) ")";
}
.ir a:after,
a[href^="javascript:"]:after,
a[href^="#"]:after {
content: "";
}
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;
}
}