Sin resumen de edición |
Sin resumen de edición |
||
Línea 1: | Línea 1: | ||
/* CSS colocados aquí afectará a los usuarios del sitio móvil */ | /* CSS colocados aquí afectará a los usuarios del sitio móvil */ | ||
/* BARRA DE NAVEGACIÓN */ | |||
ul#navbar{ | ul#navbar{ | ||
margin:0 0%; | |||
*display:inline;*padding-right:1.55%;} | list-style:none; | ||
padding:0 0%; | |||
background-color:#92c3d3; /* color de fondo */ | |||
border-width:1px; /* tamaño del borde */ | |||
border-style:solid; /* tipo de borde */ | |||
border-color:#76a0ae; /* color de borde */ | |||
-moz-border-radius:5px; /* Radio de esquinas - Mozilla */ | |||
-webkit-border-radius:5px; /* Radio de esquinas - Safari*/ | |||
border-radius:5px; /* Radio de esquinas */ | |||
width:100%; | |||
z-index:999; | |||
position:relative; | |||
display:inline-block; | |||
zoom:1; | |||
*display:inline; | |||
*padding-right:1.55%; | |||
} | |||
ul#navbar li{ | ul#navbar li{ | ||
display:block;float:left;} | display:block; | ||
float:left; | |||
} | |||
* html ul#navbar li a{ | * html ul#navbar li a{ | ||
display:inline-block;} | display:inline-block; | ||
} | |||
ul#navbar>li{ | ul#navbar>li{ | ||
margin:0;width:16%;} | margin:0; | ||
width:16%; /* espaciado entre botones */ | |||
} | |||
ul#navbar li.toplast{ | ul#navbar li.toplast{ | ||
width:16%;} | width:16%; | ||
} | |||
body:first-of-type ul#navbar{ | body:first-of-type ul#navbar{ | ||
display:inline-table;border-spacing:0px 0;} | display:inline-table; | ||
border-spacing:0px 0; | |||
} | |||
body:first-of-type ul#navbar>li{ | body:first-of-type ul#navbar>li{ | ||
display:table-cell;float:none;} | display:table-cell; | ||
float:none; | |||
} | |||
ul#navbar a{ | ul#navbar a{ | ||
display:block;vertical-align:middle;text-align:center;cursor:pointer;padding:10px;background-color:#92C3D3;border-width:0 | display:block; | ||
vertical-align:middle; | |||
text-align:center; | |||
cursor:pointer; | |||
padding:10px; | |||
background-color:#92C3D3; | |||
border-width:0; | |||
} | |||
ul#navbar li:hover>a,ul#navbar li > a.pressed{ | |||
-moz-border-radius:15px; | |||
-webkit-border-radius:15px; | |||
border-radius: 15px; | |||
-moz-transform: translate(0px, 0px) scale(1.2); | |||
-webkit-transform: translate(0px, 0px) scale(1.2); | |||
transform: translate(0px, 0px) scale(1.2); | |||
-moz-transition: .2s cubic-bezier(.5,.03,.41,1); | |||
-webkit-transition: .2s cubic-bezier(.5,.03,.41,1); | |||
transition: .2s cubic-bezier(.5,.03,.41,1); | |||
-moz-box-shadow: 0px 0px 8px 5px rgba(255,255,255,0.5); | |||
-webkit-box-shadow: 0px 0px 8px 5px rgba(255,255,255,0.5); | |||
box-shadow: 0px 0px 8px 5px rgba(155,155,155,0.5); | |||
} | |||
ul#navbar li.topfirst>a{ | ul#navbar li.topfirst>a{ | ||
border-radius: | border-radius:15px; | ||
-moz-border-radius:15px; | |||
-webkit-border-radius:15px; | |||
} | |||
ul#navbar li.toplast>a{ | ul#navbar li.toplast>a{ | ||
border-radius: | border-radius:15px; | ||
ul#navbar>li:nth-of-type(1){width:15%}ul#navbar>li:nth-of-type(3){width:15%}ul#navbar>li:nth-of-type(4){width:15%}ul#navbar>li:nth-of-type(5){width:15%}ul#navbar>li:nth-of-type(6){width:15%} | -moz-border-radius:15px; | ||
@-moz-document url-prefix(){body:first-of-type ul#navbar{display:inline-block} body:first-of-type ul#navbar>li{display:block;float:left !important;}} | -webkit-border-radius:15px; | ||
} | |||
ul#navbar>li:nth-of-type(1){ | |||
width:15% | |||
} | |||
ul#navbar>li:nth-of-type(3){ | |||
width:15% | |||
} | |||
ul#navbar>li:nth-of-type(4){ | |||
width:15% | |||
} | |||
ul#navbar>li:nth-of-type(5){ | |||
width:15% | |||
} | |||
ul#navbar>li:nth-of-type(6){ | |||
width:15% | |||
} | |||
@-moz-document url-prefix(){ | |||
body:first-of-type ul#navbar{ | |||
display:inline-block} body:first-of-type | |||
ul#navbar>li{ | |||
display:block; | |||
float:left !important; | |||
} | |||
} | |||
@media only screen and (max-width:550px),only screen and (max-device-width:387px){ | @media only screen and (max-width:550px),only screen and (max-device-width:387px){ | ||
ul#navbar>li:nth-of-type(1){width:33.3%}ul#navbar>li:nth-of-type(2){width:33.3%}ul#navbar>li:nth-of-type(3){width:33.3%}ul#navbar>li:nth-of-type(4){width:33.3%}ul#navbar>li:nth-of-type(5){width:33.3%}ul#navbar>li:nth-of-type(6){width:33.3%}body:first-of-type ul#navbar{display:inline-block} body:first-of-type ul#navbar>li{display:block;float:left !important;}} | ul#navbar>li:nth-of-type(1){ | ||
width:33.3% | |||
} | |||
ul#navbar>li:nth-of-type(2){ | |||
width:33.3% | |||
} | |||
ul#navbar>li:nth-of-type(3){ | |||
width:33.3% | |||
} | |||
ul#navbar>li:nth-of-type(4){ | |||
width:33.3% | |||
} | |||
ul#navbar>li:nth-of-type(5){ | |||
width:33.3% | |||
} | |||
ul#navbar>li:nth-of-type(6){ | |||
width:33.3% | |||
} | |||
body:first-of-type ul#navbar{ | |||
display:inline-block | |||
} | |||
body:first-of-type ul#navbar>li{ | |||
display:block;float:left !important; | |||
} | |||
} | |||
@media screen and (max-width: 768px) { | @media screen and (max-width: 768px) { | ||
ul#navbar > li { | ul#navbar > li { | ||
position: initial;} | position: initial; | ||
} | |||
ul#navbar ul .submenu,ul#navbar li > ul { | ul#navbar ul .submenu,ul#navbar li > ul { | ||
left: 0; right:auto; top: 100%;} | left: 0; | ||
right:auto; | |||
top: 100%; | |||
} | |||
ul#navbar .submenu,ul#navbar ul,ul#navbar .column { | ul#navbar .submenu,ul#navbar ul,ul#navbar .column { | ||
-webkit-box-sizing: border-box; -moz-box-sizing: border-box; box-sizing: border-box;padding-right: 0;width: 100% !important;} | -webkit-box-sizing: border-box; | ||
-moz-box-sizing: border-box; | |||
box-sizing: border-box; | |||
padding-right: 0; | |||
width: 100% !important; | |||
} | |||
} | } | ||
@media only screen and (max-width:260px),only screen and (max-device-width:387px){ | @media only screen and (max-width:260px),only screen and (max-device-width:387px){ | ||
ul#navbar>li:nth-of-type(1){width:50%}ul#navbar>li:nth-of-type(2){width:50%}ul#navbar>li:nth-of-type(3){width:50%}ul#navbar>li:nth-of-type(4){width:50%}ul#navbar>li:nth-of-type(5){width:50%}ul#navbar>li:nth-of-type(6){width:50%}body:first-of-type ul#navbar{display:inline-block} body:first-of-type ul#navbar>li{display:block;float:left !important;}} | ul#navbar>li:nth-of-type(1){ | ||
width:50% | |||
} | |||
ul#navbar>li:nth-of-type(2){ | |||
width:50% | |||
} | |||
ul#navbar>li:nth-of-type(3){ | |||
width:50% | |||
} | |||
ul#navbar>li:nth-of-type(4){ | |||
width:50% | |||
} | |||
ul#navbar>li:nth-of-type(5){ | |||
width:50% | |||
} | |||
ul#navbar>li:nth-of-type(6){ | |||
width:50% | |||
} | |||
body:first-of-type ul#navbar{ | |||
display:inline-block | |||
} | |||
body:first-of-type ul#navbar>li{ | |||
display:block; | |||
float:left !important; | |||
} | |||
} | |||
@media screen and (max-width: 185px) { | @media screen and (max-width: 185px) { | ||
ul#navbar { | ul#navbar { | ||
width: 100%;} | width: 100%; | ||
} | |||
ul#navbar > li { | ul#navbar > li { | ||
display: none; | display: none; | ||
position: relative; | |||
width: 100% !important; | |||
} | |||
ul#navbar > li.switch,.c3m-switch-input:checked + ul#navbar > li + li { | ul#navbar > li.switch,.c3m-switch-input:checked + ul#navbar > li + li { | ||
display: block;} | display: block; | ||
ul#navbar > li.switch > label { | } | ||
ul#navbar > li.switch > label { | |||
position: absolute; | |||
cursor: pointer; | |||
top: 0; | |||
left: 0; | |||
right: 0; | |||
bottom: 0; | |||
} | |||
} | |||
Revisión del 00:12 8 mar 2021
/* CSS colocados aquí afectará a los usuarios del sitio móvil */
/* BARRA DE NAVEGACIÓN */
ul#navbar{
margin:0 0%;
list-style:none;
padding:0 0%;
background-color:#92c3d3; /* color de fondo */
border-width:1px; /* tamaño del borde */
border-style:solid; /* tipo de borde */
border-color:#76a0ae; /* color de borde */
-moz-border-radius:5px; /* Radio de esquinas - Mozilla */
-webkit-border-radius:5px; /* Radio de esquinas - Safari*/
border-radius:5px; /* Radio de esquinas */
width:100%;
z-index:999;
position:relative;
display:inline-block;
zoom:1;
*display:inline;
*padding-right:1.55%;
}
ul#navbar li{
display:block;
float:left;
}
* html ul#navbar li a{
display:inline-block;
}
ul#navbar>li{
margin:0;
width:16%; /* espaciado entre botones */
}
ul#navbar li.toplast{
width:16%;
}
body:first-of-type ul#navbar{
display:inline-table;
border-spacing:0px 0;
}
body:first-of-type ul#navbar>li{
display:table-cell;
float:none;
}
ul#navbar a{
display:block;
vertical-align:middle;
text-align:center;
cursor:pointer;
padding:10px;
background-color:#92C3D3;
border-width:0;
}
ul#navbar li:hover>a,ul#navbar li > a.pressed{
-moz-border-radius:15px;
-webkit-border-radius:15px;
border-radius: 15px;
-moz-transform: translate(0px, 0px) scale(1.2);
-webkit-transform: translate(0px, 0px) scale(1.2);
transform: translate(0px, 0px) scale(1.2);
-moz-transition: .2s cubic-bezier(.5,.03,.41,1);
-webkit-transition: .2s cubic-bezier(.5,.03,.41,1);
transition: .2s cubic-bezier(.5,.03,.41,1);
-moz-box-shadow: 0px 0px 8px 5px rgba(255,255,255,0.5);
-webkit-box-shadow: 0px 0px 8px 5px rgba(255,255,255,0.5);
box-shadow: 0px 0px 8px 5px rgba(155,155,155,0.5);
}
ul#navbar li.topfirst>a{
border-radius:15px;
-moz-border-radius:15px;
-webkit-border-radius:15px;
}
ul#navbar li.toplast>a{
border-radius:15px;
-moz-border-radius:15px;
-webkit-border-radius:15px;
}
ul#navbar>li:nth-of-type(1){
width:15%
}
ul#navbar>li:nth-of-type(3){
width:15%
}
ul#navbar>li:nth-of-type(4){
width:15%
}
ul#navbar>li:nth-of-type(5){
width:15%
}
ul#navbar>li:nth-of-type(6){
width:15%
}
@-moz-document url-prefix(){
body:first-of-type ul#navbar{
display:inline-block} body:first-of-type
ul#navbar>li{
display:block;
float:left !important;
}
}
@media only screen and (max-width:550px),only screen and (max-device-width:387px){
ul#navbar>li:nth-of-type(1){
width:33.3%
}
ul#navbar>li:nth-of-type(2){
width:33.3%
}
ul#navbar>li:nth-of-type(3){
width:33.3%
}
ul#navbar>li:nth-of-type(4){
width:33.3%
}
ul#navbar>li:nth-of-type(5){
width:33.3%
}
ul#navbar>li:nth-of-type(6){
width:33.3%
}
body:first-of-type ul#navbar{
display:inline-block
}
body:first-of-type ul#navbar>li{
display:block;float:left !important;
}
}
@media screen and (max-width: 768px) {
ul#navbar > li {
position: initial;
}
ul#navbar ul .submenu,ul#navbar li > ul {
left: 0;
right:auto;
top: 100%;
}
ul#navbar .submenu,ul#navbar ul,ul#navbar .column {
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
box-sizing: border-box;
padding-right: 0;
width: 100% !important;
}
}
@media only screen and (max-width:260px),only screen and (max-device-width:387px){
ul#navbar>li:nth-of-type(1){
width:50%
}
ul#navbar>li:nth-of-type(2){
width:50%
}
ul#navbar>li:nth-of-type(3){
width:50%
}
ul#navbar>li:nth-of-type(4){
width:50%
}
ul#navbar>li:nth-of-type(5){
width:50%
}
ul#navbar>li:nth-of-type(6){
width:50%
}
body:first-of-type ul#navbar{
display:inline-block
}
body:first-of-type ul#navbar>li{
display:block;
float:left !important;
}
}
@media screen and (max-width: 185px) {
ul#navbar {
width: 100%;
}
ul#navbar > li {
display: none;
position: relative;
width: 100% !important;
}
ul#navbar > li.switch,.c3m-switch-input:checked + ul#navbar > li + li {
display: block;
}
ul#navbar > li.switch > label {
position: absolute;
cursor: pointer;
top: 0;
left: 0;
right: 0;
bottom: 0;
}
}
/* CABECERAS */
/* */
/* BARRA DE NAVEGACIÓN */
/* */
#NavBar1
{
background-color: rgba(146,195,211,1.00);
display: block;
font-family: Arial;
font-weight: normal;
text-align: center;
width: 100%;
border-radius: 15px 15px 0px 0px;
-webkit-border-radius: 15px 15px 0px 0px;
-moz-border-radius: 15px 15px 0px 0px;
-webkit-box-shadow: 0px 4px 7px -2px rgba(0,0,0,0.75);
-moz-box-shadow: 0px 4px 7px -2px rgba(0,0,0,0.75);
box-shadow: 0px 4px 7px -2px rgba(0,0,0,0.75);
}
#Menu1
{
background-color: #92C3D3;
display: inline-block;
height: 67px;
}
#NavBar1 ul
{
list-style: none;
margin: 0;
padding: 0;
position: relative;
}
#NavBar1 ul:after
{
clear: both;
content: "";
display: block;
}
#NavBar1 ul li
{
background-color: #92C3D3;
display: list-item;
float: left;
list-style: none;
z-index: 9999;
}
.Menu1 :link
{
display: block;
}
#NavBar1 li :link:hover, #NavBar1 li .active
{
background-color: #A7D2DF;
border-radius: 15px 15px 0px 0px;
color: #424242;
transform: translate(0px, -5px) scale(1.2);
transition: .5s cubic-bezier(.5,.03,.41,1);
-webkit-transition: .5s cubic-bezier(.5,.03,.41,1);
-moz-transition: .5s cubic-bezier(.5,.03,.41,1);
-webkit-box-shadow: 0px -2px 7px 3px rgba(89,119,128,1);
-moz-box-shadow: 0px -2px 7px 3px rgba(89,119,128,1);
box-shadow: 0px -2px 7px 3px rgba(89,119,128,1);
}
#NavBar1 ul li a, #NavBar1 .toggle
{
padding: 0px 25px 0px 25px;
}
/* */
/* SUBMENÚ DE NAVEGACIÓN */
/* */
#NavSubmenu_top, #NavSubmenu_bottom
{
background-color: rgba(146,195,211,1.00);
display: block;
color: white;
font-family: Arial;
font-weight: normal;
text-align: center;
width: 100%;
}
#NavSubmenu_top {
-webkit-box-shadow: 0px 4px 7px -2px rgba(0,0,0,0.75);
-moz-box-shadow: 0px 4px 7px -2px rgba(0,0,0,0.75);
box-shadow: 0px -4px 7px -2px rgba(0,0,0,0.75);
}
#NavSubmenu_bottom {
border-radius: 0px 0px 15px 15px;
-webkit-border-radius: 0px 0px 15px 15px;
-moz-border-radius: 0px 0px 15px 15px;
-webkit-box-shadow: 0px 4px 7px -2px rgba(0,0,0,0.75);
-moz-box-shadow: 0px 4px 7px -2px rgba(0,0,0,0.75);
box-shadow: 0px -4px 7px -2px rgba(0,0,0,0.75);
}
/* */
/* SUBMENÚ DE NAVEGACIÓN */
/* */
#NavSubmenu_top, #NavSubmenu_bottom
{
background-color: rgba(146,195,211,1.00);
display: block;
color: white;
font-family: Arial;
font-weight: normal;
text-align: center;
width: 100%;
}
#NavSubmenu_top {
-webkit-box-shadow: 0px 4px 7px -2px rgba(0,0,0,0.75);
-moz-box-shadow: 0px 4px 7px -2px rgba(0,0,0,0.75);
box-shadow: 0px -4px 7px -2px rgba(0,0,0,0.75);
}
#NavSubmenu_bottom {
border-radius: 0px 0px 15px 15px;
-webkit-border-radius: 0px 0px 15px 15px;
-moz-border-radius: 0px 0px 15px 15px;
-webkit-box-shadow: 0px 4px 7px -2px rgba(0,0,0,0.75);
-moz-box-shadow: 0px 4px 7px -2px rgba(0,0,0,0.75);
box-shadow: 0px -4px 7px -2px rgba(0,0,0,0.75);
}
/* */
/* Estilo de la Plantilla error */
/* */
#error {
width: 50%;
background-color: red;
position: relative;
animation-name: example;
animation-duration: 4s;
}
@keyframes error {
0% {background-color:red; left:0px; top:0px;}
25% {background-color:yellow; left:200px; top:0px;}
50% {background-color:blue; left:200px; top:200px;}
75% {background-color:green; left:0px; top:200px;}
100% {background-color:red; left:0px; top:0px;}