Estructuracion

This commit is contained in:
2020-12-27 10:17:44 -03:00
parent d459ae5052
commit ec238c5ca5
5 changed files with 100 additions and 42 deletions

View File

@ -5,18 +5,21 @@ body {
font-family: Roboto, sans;
}
$column1: (1030*2/3/16);
$column2: (1030/3/16);
$column1: (1030*2/3/16-1);
$column2: (1030/3/16-1);
.ui.container {
max-width: 1030px;
}
section>.container {
height: 100%;
&>.column1 {
display: inline-block;
width: ($column1)+rem;
}
&>.column2 {
display: inline-block;
width: ($column2)+rem;
}
}
@ -25,7 +28,7 @@ section>.container {
background-image: url('../images/header.png');
background-repeat: no-repeat;
background-size: auto;
$header-background: rgba(100, 100, 0, .3);
$header-background: rgba(70, 49, 12, .8);
background-color: $header-background;
color: rgb(255, 255, 255);
@ -117,11 +120,15 @@ $heights: (
justify-content: space-between;
img {
height: 9.6875rem;
height: (155/16)+rem;
width: (188/16)+rem;
margin-top: 5rem;
}
}
}
.column2 {
height: 100%;
}
}
#seccion2 {
@ -129,12 +136,20 @@ $heights: (
background-image: url('../images/fondo23.png');
background-color: rgb(240, 240, 240);
.column2 {
height: 100%;
}
}
#dimensiones {
height: (map.get($heights, "dimensiones"))+rem;
background-image: url('../images/fondo23.png');
.column2 {
height: 100%;
}
}
#construido {
@ -142,12 +157,20 @@ $heights: (
background-image: url('../images/fondo4.png');
background-color: rgb(100, 200, 255);
.column2 {
height: 100%;
}
}
#corporativos {
height: (map.get($heights, "corporativos"))+rem;
background-image: url('../images/fondo5.png');
.column2 {
height: 100%;
}
}
#felices {
@ -167,23 +190,23 @@ $heights: (
}
}
$column1: 0;
$column_height1: 0;
$sticky: 0;
@each $name, $val in $heights {
$sticky: $sticky + $val;
@if $name != 'corporativos' and $name != 'felices' and $name != 'formulario' {
$column1: $column1 + $val;
$column_height1: $column_height1 + $val;
}
}
#sticky_container {
position: relative;
height: ($column1)+rem;
height: ($column_height1)+rem;
top: -($sticky)+rem;
#column {
position: absolute;
width: (1030*2/3/16)+rem;
height: ($column1)+rem;
width: ($column1)+rem;
height: ($column_height1)+rem;
top: 0;
left: 0;
padding: 0;
@ -192,13 +215,20 @@ $sticky: 0;
float: right;
height: (265/16)+rem;
width: (310/16)+rem;
padding-top: ((265-170-35-16)/16)+rem;
margin-left: ($column1)+rem;
.row:first-child {
height: (170/16)+rem;
.column1 {
display: inline-block;
vertical-align: bottom;
padding-top: (2/16)+rem;
width: (310/16*2/3)+rem;
.linea {
margin-bottom: (10/16)+rem;
}
.titulo {
font-size: (25/12)+rem;
@ -245,6 +275,7 @@ $sticky: 0;
border: thin solid rgb(0, 0, 0);
text-align: center;
padding: .5rem 0.05rem;
font-size: (10/12)+rem;
button {
background: none;
@ -266,7 +297,12 @@ $sticky: 0;
}
.column2 {
display: inline-block;
width: (170/16)+rem;
width: ((310/16-1)/3)+rem;
img {
width: (110/16)+rem;
height: (170/16)+rem;
}
}
}
.row:last-child {
@ -279,5 +315,6 @@ $sticky: 0;
}
.fondo-blanco {
float: right;
background-color: rgba(255, 255, 255, .5);
}