Add support for multiple column displays and cards (#906)

* Adds support for multiple columns in reStructuredText. Required for landing page redesign.

Signed-off-by: Kevin Putnam <kevin.putnam@intel.com>

* Catching the branch up to master.

Signed-off-by: Kevin Putnam <kevin.putnam@intel.com>

* Fixing line endings in tcs_theme.js.

Signed-off-by: Kevin Putnam <kevin.putnam@intel.com>
This commit is contained in:
Kevin Putnam
2019-11-13 08:52:28 -08:00
committed by GitHub
parent 69f7314da2
commit 5a66e0effe
@@ -480,3 +480,43 @@ div.linenodiv:before { /*add extra new line to make sure code and line numbers a
/*End support for labeled code-blocks*/
/*Begin support for multi-column sections*/
.column {
float: left;
width: 350px;
padding: 10px;
margin: 10px;
border: 10px;
background: white;
}
.column.featurecard {
background: #CCE9F5;
}
.column.verticalcard {
height: 615px;
overflow: auto;
}
/* Clear floats after the columns */
.multicolumns:after {
content: "";
display: table;
clear: both;
}
.colh2 {
font-size: 150%;
font-weight: 700;
font-family: "Roboto Slab","ff-tisa-web-pro","Georgia",Arial,sans-serif;
}
.video.docutils.container {
margin: 10px;
width:720px;
height:405px;
}
/*End support for multi-column sections*/