Files
pagina-de-incio-universidad/styles.css
2020-11-21 03:29:26 -03:00

184 lines
2.4 KiB
CSS

/*
* BASE
*/
* {
font-family: sans-serif;
}
.container {
background-image: linear-gradient(to top, #4481eb 0%, #04befe 100%);
background-repeat: no-repeat;
background-size: cover;
background-position: center;
display: grid;
height: 100%;
width: 100%;
padding: 20px;
overflow: scroll;
grid-template-columns: 300px 1fr 600px 1fr 300px;
grid-template-rows: repeat(6, 1fr);
gap: 20px;
}
#photos-box {
grid-row: 1 / 7;
grid-column: 1;
justify-content: space-between;
}
#search-box {
grid-row: 2;
grid-column: 3;
}
#weather-box {
grid-row: 1 / 3;
grid-column: 5;
}
#custom-box {
grid-row: 3 / 5;
grid-column: 5;
}
#currency-box {
grid-row: 5 / 7;
grid-column: 5;
}
.box {
display: flex;
flex-direction: column;
justify-content: center;
background-color: white;
padding: 1em;
border-radius: 4px;
box-shadow: rgba(255, 255, 255, 0.1) 0px 1px 1px 0px inset, rgba(50, 50, 93, 0.25) 0px 50px 100px -20px, rgba(0, 0, 0, 0.3) 0px 30px 60px -30px;
}
/*
* Currency
*/
.box .currency {
display: flex;
flex-direction: column;
}
.currency > * {
text-align: center;
}
.currency .arrow {
display: inline-flex;
align-items: center;
font-size: 2em;
}
.currency .select-group {
display: flex;
flex-direction: row;
justify-content: space-between;
}
.currency .title {
font-size: 1.6em;
margin-bottom: .3em;
margin-top: 0;
}
.currency input {
width: 100%;
padding: .6em 0;
margin-bottom: .5em;
margin-top: .5em;
}
.currency .select {
padding: .6em 0;
width: 6em;
}
.currency .result {
font-weight: 600;
}
.currency .button {
padding: .6em 0;
font-size: 1.1em;
}
/*
* Photos
*/
.box .photos {
overflow-y: scroll;
overflow-x: hidden;
height: 100%;
}
.photos img {
width: 50%;
margin-bottom: 5px;
}
#photos-page {
display: inline-flex;
align-items: center;
}
.box .photos-controls {
display: flex;
flex-direction: row;
justify-content: space-between;
margin-top: 10px;
}
.box .photos-controls button {
padding: .6em 0;
font-weight: 500;
}
/*
* Search
*/
#search-box {
height: 5em;
}
#search-input{
font-size: 1.5em;
font-weight: 600;
border: none;
}
/* Weather */
#weather-box {
}
.weather-description {
display: flex;
flex-direction: row;
justify-content: space-between;
font-size: 1.5em;
font-weight: 600;
}
.weather-icon {
width: auto;
height: auto;
object-fit: contain;
}