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 */ | ||
ul#navbar{ | |||
margin:0 0%;list-style:none;padding:0 0%;background-color:#92c3d3;border-width:1px;border-style:solid;border-color:#92c3d3;-moz-border-radius:5px;-webkit-border-radius:5px;border-radius:5px;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%;} | |||
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 0 0 1px;border-style:solid;border-color:#C0C0C0;} /* Color de espaciador */ | |||
ul#navbar li:hover>a,ul#navbar li a.pressed{ | |||
background-color:#f8ac00;} | |||
ul#navbar li:hover>a,ul#navbar li > a.pressed{ | |||
background-color:#f8ac00;border-style:solid;border-color:#C0C0C0;} | |||
ul#navbar li.topfirst>a{ | |||
border-radius:5px 0 0 5px;-moz-border-radius:5px 0 0 5px;-webkit-border-radius:5px;-webkit-border-top-right-radius:0;-webkit-border-bottom-right-radius:0;} | |||
ul#navbar li.toplast>a{ | |||
border-radius:0 5px 5px 0;-moz-border-radius:0 5px 5px 0;-webkit-border-radius:0;-webkit-border-top-right-radius:5px;-webkit-border-bottom-right-radius:5px;} | |||
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 */ | /* CABECERAS */ |
Revisión del 00:41 7 mar 2021
/* CSS colocados aquí afectará a los usuarios del sitio móvil */
ul#navbar{
margin:0 0%;list-style:none;padding:0 0%;background-color:#92c3d3;border-width:1px;border-style:solid;border-color:#92c3d3;-moz-border-radius:5px;-webkit-border-radius:5px;border-radius:5px;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%;}
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 0 0 1px;border-style:solid;border-color:#C0C0C0;} /* Color de espaciador */
ul#navbar li:hover>a,ul#navbar li a.pressed{
background-color:#f8ac00;}
ul#navbar li:hover>a,ul#navbar li > a.pressed{
background-color:#f8ac00;border-style:solid;border-color:#C0C0C0;}
ul#navbar li.topfirst>a{
border-radius:5px 0 0 5px;-moz-border-radius:5px 0 0 5px;-webkit-border-radius:5px;-webkit-border-top-right-radius:0;-webkit-border-bottom-right-radius:0;}
ul#navbar li.toplast>a{
border-radius:0 5px 5px 0;-moz-border-radius:0 5px 5px 0;-webkit-border-radius:0;-webkit-border-top-right-radius:5px;-webkit-border-bottom-right-radius:5px;}
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;}