Commit 3a9d9de1 authored by Skin's avatar Skin

Some mod to the main page template and css

parent fb448c13
......@@ -25,33 +25,26 @@ a:focus {
.navbar-default a.navbar-brand {
display: block;
color: black;
font-size: 34px;
font-size: 26px;
position: absolute;
top: 46px;
left: 188px;
top: 37px;
left: 168px;
background-color: transparent;
}
.navbar-text {
position: absolute;
bottom: 61px;
left: 191px;
}
article > h2,
h1.page-header {
border-bottom: 1px;
border-bottom-style: dotted;
border-bottom-color: #a80019;
top: 78px;
left: 184px;
margin: 0;
padding: 0;
}
.main-container {
background-color: white;
/* padding-top: 30px; */
/* padding-bottom: 30px; */
padding: 25px 25px;
}
.dialog-off-canvas-main-canvas {
background-image: url(../images/body_back.jpg);
background-position: 0 11px;
......@@ -64,15 +57,26 @@ h1.page-header {
clear: both;
}
@media (min-width: 768px) {
.navbar-right {
margin-right: 0px;
}
.region-navigation {
min-height: 144px;
position: relative;
}
ul.navbar-right {
position: absolute;
top: 0;
right: 0;
margin: 0 0 0 0;
}
ul.navbar-right li {
float: left;
}
ul.navbar-right li a:link,
ul.navbar-right li a:active,
ul.navbar-right li a:visited {
ul.navbar-right li a:visited,
li.comment-comments a {
color: #fff;
text-decoration: none;
font-size: 80%;
......@@ -99,7 +103,8 @@ ul.navbar-right li a:visited {
transition: all 800ms ease;
}
ul.navbar-right li a:hover {
ul.navbar-right li a:hover,
li.comment-comments a:hover {
background-color: #930016;
-webkit-transition: all 200ms ease;
-moz-transition: all 200ms ease;
......@@ -108,6 +113,10 @@ ul.navbar-right li a:hover {
transition: all 200ms ease;
}
li.comment-add {
font-size: 90%;
}
/* --------------- Breadcrumb ------------ */
@media all and (max-width: 980px) {
......@@ -235,25 +244,6 @@ ol.breadcrumb li:hover:after {
}
/*
.breadcrumb {
padding: 8px 15px;
margin-bottom: 20px;
list-style: none;
background-color: transparent;
border: 0px;
}
.breadcrumb > .active,
.breadcrumb {
color: #8e8b82;
}
.breadcrumb a {
color: #216ca4;
text-decoration: none;
}
*/
/* --------------- EOF Breadcrumb ------------ */
/* --------------------- navbar menu ---------------------*/
......@@ -261,8 +251,14 @@ ol.breadcrumb li:hover:after {
border: 0;
}
.navbar.container {
background-color: transparent;
}
.container > .navbar-header {
min-height: 144px;
min-height: 146px;
background-color: transparent;
/* position:relative; */
}
@media (min-width: 768px) {
......@@ -325,6 +321,18 @@ ol.breadcrumb li:hover:after {
z-index: 999;
}
.navbar-default .affix-top .navbar-nav > li > a {
-webkit-transition: all 0.1s ease;
-moz-transition: all 0.1s ease;
-ms-transition: all 0.1s ease;
-o-transition: all 0.1s ease;
transition: all 0.1s ease;
}
.navbar-default .affix .navbar-nav > li > a {
line-height: 38px;
}
.toolbar-horizontal .navbar-default .affix {
top: 40px;
left: 0;
......@@ -332,8 +340,10 @@ ol.breadcrumb li:hover:after {
}
.toolbar-tray-open .navbar-default .affix {
top: 80px;
top: 79px;
left: 0;
-webkit-box-shadow: 0 2px 10px 1px #00000042;
box-shadow: 0 2px 10px 1px #00000042;
width: 100%;
}
......@@ -349,7 +359,7 @@ ol.breadcrumb li:hover:after {
}
.navbar-btn {
margin: 10px 0px 10px 10px;
margin: 10px 0px 10px -6px;
/* width: 110px; */
}
}
......@@ -369,7 +379,7 @@ ol.breadcrumb li:hover:after {
font-weight: 700;
text-align: center;
text-transform: uppercase;
line-height: 47px;
line-height: 45px;
min-width: 100px;
padding-left: 10px;
padding-right: 10px;
......@@ -493,8 +503,55 @@ ol.breadcrumb li:hover:after {
text-transform: lowercase;
}
/* --------------------- carousel ---------------------*/
.block-views-blockcarousel-home-block-1 {
margin: -20px -20px 25px -20px;
}
/* --------------------- EOF carousel ---------------------*/
/* --------------------- Blocchi ---------------------*/
.region-sidebar-first .block h2,
.region-sidebar-first .block .h2 {
font-size: 28px;
border-bottom: 1px dotted red;
}
.region-sidebar-first .block,
.region-sidebar-first #block-bootstrap-pointnet-tools {
background-color: #ededed;
padding: 10px;
margin: 0 -10px 15px -10px;
}
/* --------------------- EOf Blocchi ---------------------*/
/* --------------- Article tags and read more ------------ */
article.teaser {
/* border-left: 1px dotted #a80019; */
/* padding-left: 15px; */
margin-bottom: 20px;
}
article.teaser h2 {
border-bottom: 1px;
border-bottom-style: dotted;
border-bottom-color: #d6cebd;
margin-bottom: 0;
}
article > footer {
padding-bottom: 10px;
}
.author {
margin: 0px;
padding-top: 0px;
font-size: 86%;
}
article .field--type-text-with-summary {
clear: both;
float: none;
......@@ -509,7 +566,6 @@ article .list-inline {
clear: both;
display: block;
font-size: 90%;
/* background-color: peru; */
}
div.field--items {
......@@ -591,6 +647,12 @@ li.node-readmore a:hover {
/* --------------- EOF tags and read more ------------ */
article .js-comment {
border-left: 1px dotted #a80019;
padding: 15px;
margin: 0 0 25px 0;
}
.footer {
margin-top: 0;
padding-top: 35px;
......@@ -607,7 +669,8 @@ li.node-readmore a:hover {
}
#backtotop {
background: url(/themes/masiniboot/images/backtotop.png) no-repeat center center;
background: url(../images/backtotop.png) no-repeat center center;
border: 0;
bottom: 20px;
cursor: pointer;
display: none;
......@@ -617,4 +680,11 @@ li.node-readmore a:hover {
text-indent: -9999px;
width: 70px;
z-index: 1;
opacity: 0.9;
}
#backtotop:hover {
background: url(../images/backtotop.png) no-repeat center center;
opacity: 1;
}
This diff is collapsed.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment