aboutsummaryrefslogtreecommitdiffstats
path: root/src/styles/main.scss
diff options
context:
space:
mode:
authorHumberto Alfonso Díaz <humberto.alfonso@asvito.es>2019-07-04 14:12:55 +0200
committerHumberto Alfonso Díaz <humberto.alfonso@asvito.es>2019-07-04 14:12:55 +0200
commit9ccd0ed5af07c6099035ffac936932a5edfb4ce6 (patch)
tree18b731d18954b0cec743dcfe10f5f8faa10b0cc5 /src/styles/main.scss
parent459ae9851a70da40ac6d276000b35dc3815ac033 (diff)
FUNCT Add temperatures navigation
Diffstat (limited to 'src/styles/main.scss')
-rw-r--r--src/styles/main.scss21
1 files changed, 8 insertions, 13 deletions
diff --git a/src/styles/main.scss b/src/styles/main.scss
index 5fd580e..bafd901 100644
--- a/src/styles/main.scss
+++ b/src/styles/main.scss
@@ -62,24 +62,19 @@ body {
}
&.temperatures {
- &:before {
- padding-top:150%;
- }
-
- .scrolling {
- position: relative;
- float: left;
+ .temperatures-container {
width: 100%;
- height: 100%;
- overflow: scroll;
+ height: 480px;
+ overflow-y: scroll;
+ scroll-snap-type: y mandatory;
.temperature {
- position: relative;
- float: left;
- height: 50%;
- width: 100%;
font-size: 10rem;
text-align: center;
+ width: 100%;
+ height: 240px;
+ line-height: 240px;
+ scroll-snap-align: start;
}
}
}