diff --git a/application/views/home.php b/application/views/home.php index 2341f83..819e29d 100644 --- a/application/views/home.php +++ b/application/views/home.php @@ -11,42 +11,58 @@
+
+
+ +
+
+ +
+ + +
+ +
+

+ + + Scientific Electronic Library Online + +

- -
- -

- Scientific Electronic Library Online -

-
- - - - - - - - - -
- -
- + +
+ +
+ load->view('partials/tabs'); ?> diff --git a/static/sass/style.scss b/static/sass/style.scss index 469ee84..59a0675 100644 --- a/static/sass/style.scss +++ b/static/sass/style.scss @@ -42,8 +42,6 @@ body{ font-size:1.2rem; letter-spacing:1px; - //position:relative; - .close{ z-index:99; display: inline-block; @@ -111,7 +109,6 @@ body{ } - section{ .tab-pane{ @@ -120,8 +117,8 @@ section{ padding: 3.2rem 1.6rem; @media (min-width: $screen-sm-min) { - margin-top:2rem; - margin-bottom: 0; + margin-top: 2rem; + margin-bottom: 2rem; &.tab-pane-white{ background: #fff; @@ -158,8 +155,14 @@ section{ &:first-child{ margin-bottom:0; - height:70vh; + height: 60vh; position:relative; + display: -webkit-flex; + display: flex; + -webkit-align-items: center; + align-items: center; + -webkit-justify-content: center; + justify-content: center; @media (min-width: $screen-lg-min) { @@ -171,68 +174,56 @@ section{ } } - .logo{ - background: url('../images/logo-scielo-portal-no-label.svg') no-repeat; - background-position: top center; - background-size: auto 83%; - height:200px; - max-height:25vh; - width:100%; - display:block; - margin:0 auto; - position: absolute; - bottom:28vh; + .cover-content{ - @media (orientation: landscape) { - max-height:35vh; - bottom:25vh; - } - @media (min-width: $screen-sm-min) { - @media (orientation: landscape) { - bottom:22vh; - } - } - @media (min-width: $screen-md-min) { + margin-top: -5vh; - } @media (min-width: $screen-lg-min) { - bottom: 34vh; + margin-top: -10vh; + } + + .scielo-logo{ + align-content: center; + display: flex; + flex-wrap: wrap; + justify-content: center; + height: 200px; + text-align: center; + max-width: 100%; + margin: 0 0 15px 0; + max-height: calc(100vh /3); - @media (orientation: landscape) { + & > a{ + display: flex; + flex-wrap: wrap; + height: 100%; + cursor: default; - @media (max-height: 850px) { - bottom: auto; - top:70px; - height:175px; - min-height:175px; + span{ + color: #333; + font-size: 16px; + font-family: Arapey, serif; + white-space: nowrap; + width: 100%; } - } - } - - span{ - text-align: center; - position: relative; - top: 22vh; - display: block; - font-size: 16px; - font-family: Arapey,serif; - color: #333; - white-space: nowrap; - @media (orientation: landscape) { - top: 118px; - } - @media (min-width: $screen-sm-min) { - top: 175px; + &:link, + &:visited, + &:hover, + &:active{ + text-decoration: none; - @media (orientation: landscape) { - top: 30vh + span{ + text-decoration: none; + } } } - @media (min-width: $screen-md-min) { - top: 175px; + + img{ + width: 100%; + height: 83%; + max-height: 100%; } - } } } @@ -666,18 +657,8 @@ section{ &.discontinued-item{ display: none; } - /* Verificar qual bandeira usar aqui - &.flag-wid{ //west indians - caribe X - - &::before{ - background-image: svg-uri(' '); - background-size: 29px 22px; - } - } - */ } } - } @@ -694,7 +675,6 @@ section{ } } dd{ - //margin-bottom:2rem; display:inline-block; > a{ @@ -710,8 +690,6 @@ section{ position:relative; display:block; - - input[type="text"] { border: 1px solid #DAE3F4; border-radius: 2px; @@ -734,8 +712,6 @@ section{ border-color: #DAE3F4; } } - - } } @@ -793,38 +769,14 @@ section{ .search-box{ - width: 100%; + width: 97vw; margin: 0 auto; - position: absolute; - bottom:12vh; text-align:center; + position: relative; - @media (orientation: landscape) { - bottom:2vh; - } - - @media (min-width: $screen-sm-min) { - bottom: 19vh; - - @media (orientation: landscape) { - bottom: 2vh; - - @media (min-width: 830px) { - bottom: 11vh; - } - } - } @media (min-width: $screen-lg-min) { - bottom: 24vh; - - @media (orientation: landscape) { - - @media (max-height: 850px) { - bottom: auto; - top:260px; - height:70px; - } - } + width: 80vw; + max-width: 1100px; } input[type="text"] { @@ -1027,8 +979,6 @@ section{ } } - - /*abas alinhadas ao centro*/ .nav-center { text-align: center; @@ -1047,14 +997,11 @@ section{ } .menu-lang{ - margin-top: 1.6rem; text-align:center; @media (min-width: $screen-md-min) { - position:absolute; - right:1.6rem; - display: inline-block; + text-align: right; } ul{ @@ -1412,8 +1359,6 @@ section{ } - - /* Styles internas */