Tiles
Layout for creating landing pages with links to other sections.
Tiles are laid in rows of three.
Also, has code for creating a more section.
How to use this component
On landing pages or sections.
Code Resource
<div class="tile">
<h2><a href="">Title 1</a></h2>
<p>Description here</p>
</div>
<div class="tile">
<h2><a href="">Title 2</a></h2>
<p>Description here</p>
</div>
<div class="tile">
<h2><a href="">Title 3</a></h2>
<p>Description here</p>
</div>
<div class="more_section_devide"> </div>
<div class="more_section_box"> More:</div>
<ul class="more_columns">
<li><a href="" title="Title text">Link text</a></li>
<li><a href="" title="Title text">Link text</a></li>
</ul>
/* Landing tiles */
.middle {
width:100%;
font-size:16px;
margin:0.5em 0 0 0;
clear: both!important;
margin-bottom: 0px;
float:left;
}
.middle .midleft, .middle .midmid, .middle .midright {
margin-bottom: 0px;
}
.midleft, .midmid, .midright, .tile {
width:32%;
float:left;
position: relative;
border: 1px solid #ebebeb!important;
margin-right: 1% !important;
background: #f6f6f6;
margin-bottom: 10px;
}
.midleft h2, .midmid h2, .midright h2, .tile h2 {
line-height: 1.3;
float:left;
color: #000!important;
padding: 0px!important;
width: 100%!important;
height: 90px;
box-sizing: border-box;
font-size:1.1em!important;
background-color: #f6f6f6;
border-top: 0px!important;
border-bottom: 0px #d6d6d6 solid!important;
padding-bottom: 0px!important;
margin-bottom: 0px!important;
margin-top: 0px!important;
}
.midleft h2 a, .midmid h2 a, .midright h2 a, .tile h2 a {
height:89px;
background-color: transparent!important;
padding-top: 20px!important;
padding-left: 20px!important;
text-decoration:none;
width:100%;
float:left;
color:#015b66;
padding-top:0px;
position:relative;
box-sizing: border-box;
padding-right:20px;
}
.midleft p, .midmid p, .midright p, .tile p {
border: 1px solid #ebebeb;
box-shadow: none!important;
-webkit-box-shadow: none!important;
-moz-box-shadow: none!important;
padding: 20px!important;
background-color: #f6f6f6!important;
top: 73px;
color: black;
width: 100.5%!important;
border-top: 0px;
padding-top: 0px!important;
font-size: 0.95em!important;
font-weight: 300!important;
left: -5000px;
z-index: 50;
box-sizing: border-box;
position: absolute;
opacity:0.97;
line-height: 1.3em;
}
.midleft a, .midmid a, .midright a, .tile a {
-webkit-transition: all 0.2s ease-in-out;
-moz-transition: all 0.2s ease-in-out;
-o-transition: all 0.2s ease-in-out;
transition: all 0.2s ease-in-out;
border:0px!important;
color:#015b66;
float:left;
width:100%;
box-sizing: border-box;
font-size:1em;
}
.midmid p a, .midleft p a, .midright p a, .tile p a {
color:#015b66!important;
text-decoration:underline;
border:0px!important;
}
.midmid p a:hover, .midmid p a:focus, .midleft p a:hover, .midleft p a:focus, .midright p a:hover, .midright p a:focus, .tile p a:hover, .tile p a:focus {
color: #015b66!important;
text-decoration: underline;
}
.midleft:hover p, .midmid:hover p, .midright:hover p, .tile:hover p {
left: -1px;
border: 1px solid #ebebeb;
border-top:0px!important;
-webkit-box-shadow: 0px 20px 25px -10px rgba(112,112,112,0.50)!important;
-moz-box-shadow: 0px 20px 25px -10px rgba(112,112,112,0.50)!important;
box-shadow: 0px 20px 25px -10px rgba(112,112,112,0.50)!important;
border-bottom: 2px solid #076e7c!important;
background-color: transparent!important;
}
.midleft:hover h2, .midmid:hover h2, .midright:hover h2, .tile:hover h2 {
background-color: transparent!important;
border: 0px solid #fff;
}
.midleft a:hover, .midleft a:focus, .midmid a:hover, .midmid a:focus, .midright a:hover, .midright a:focus, .tile a:hover, .tile a:focus {
color:#015b66!important;
text-decoration:none;
}
.top_landing .midmid p a, .top_landing .midleft p a, .top_landing .midright p a, .top_landing .tile p a {
color:#484848!important;
}
.top_landing .midleft h2, .top_landing .midmid h2, .top_landing .midright h2, .top_landing .tile h2 {
height: 70px!important;
}
.midleft h2 a:before, .midmid h2 a:before, .midright h2 a:before, .tile h2 a:before {
transition: all 0.3s ease-in;
position: relative;
left: -2px;
opacity: 0.9;
font-family: "Font Awesome 5 Pro";
font-weight: 400;
color: #09585f;
font-size: 0.9em;
top: 1px;
float: right;
content: "\f054";
height: 70px;
margin-right: 0px !important;
}
.midleft:hover h2, .midleft:hover p, .midmid:hover h2, .midmid:hover p, .midright:hover h2, .midright:hover p, .tile:hover h2, .tile:hover p {
background:#efefef!important;
}
.midleft:hover h2 a:before, .midmid:hover h2 a:before, .midright:hover h2 a:before, .tile:hover h2 a:before {
left: 0px;
opacity: 1;
}
.midleft:hover h2 a, .midmid:hover h2 a, .midright:hover h2 a, .tile:hover h2 a {
-webkit-box-shadow: none!important;
-moz-box-shadow: none!important;
box-shadow: none!important;
}
.midleft:hover h2, .midmid:hover h2, .midright:hover h2, .tile:hover h2 {
text-decoration:none;
border: 0px solid #fff;
color: #01383f!important;
}
.midleft .ms-rteElement-P{color:#fff!important}
.midmid .ms-rteElement-P{color:#fff!important}
.midright .ms-rteElement-P{color:#fff!important}
.tile .ms-rteElement-P{color:#fff!important}
.midleft:focus, .midmid:focus, .midright:focus, .tile:focus {
outline:none;
}
.midleft:focus h2 a, .midmid:focus h2 a, .midright:focus h2 a, .tile:focus h2 a {
border:1px solid silver;
}
.midleft:focus p, .midmid:focus p, .midright:focus p, .tile:focus p {
left:-3px;
}
.more_section_devide {
float: left;
width: 100%;
height: 1px;
margin-bottom: 25px;
margin-top: 35px;
clear: both;
border-bottom: 1px #dfdfdf dashed;
margin-top: 35px;
}
.more_section_box {
float: left;
width: 100%;
padding: 0px;
color: #333;
font-size: 0.9em !important;
}
.more_columns, .more_columns li {
float: left;
list-style: none;
padding-left: 0px;
margin-left: 0px;
}
.more_columns li {
margin-right: 15px;
border-right: 1px solid silver;
padding-right: 15px;
}
.more_columns li a:hover {
color: #017988;
}
Working Example
Title 1
Description here
Title 2
Description here
Title 3
Description here
More: