hedera-web/forms/cms/about/style.css

107 lines
1.3 KiB
CSS

.about
{
padding: 1em;
}
.about .cols
{
max-width: 85em;
margin: 0 auto;
}
@media screen and (min-width: 1000px)
{
.about .cols
{
column-count: 2;
-moz-column-count: 2;
-webkit-column-count: 2;
}
}
.about .card
{
margin: 0;
max-width: none;
margin-bottom: 1em;
padding: 2em;
}
.about .card > :first-child
{
margin-top: 0;
}
.about .card > :last-child
{
margin-bottom: 0;
}
.about h1,
.about h2,
.about h3
{
padding: 0;
}
.about h1
{
font-weight: normal;
font-size: 1.6em;
}
.about h2
{
text-align: center;
font-size: 1.2em;
font-weight: normal;
margin: 1em;
}
.about h3
{
text-align: center;
font-size: 1.2em;
font-weight: normal;
margin: 1em;
color: #00796B;
}
.about p
{
margin: 1em 0;
}
.about p.summary
{
max-width: 26em;
text-align: center;
background-color: #FF8;
padding: 1em;
border-radius: 0.1em;
box-shadow: 0 0.2em 0.2em #AAA;
margin: 1.5em auto;
}
/* Images */
.about img
{
max-width: 90%;
text-align: center;
display: block;
margin: 1em auto;
}
.about img[alt="producers"],
.about img[alt="4_control"],
.about img[alt="dealer"],
.about img[alt="goods_transport"]
{
margin: 1em;
float: right;
}
.about img[alt="2_control"]
{
margin: 1em;
float: left;
}
.about img[alt="glass"]
{
display: inline;
margin: 0;
margin-left: .9em;
vertical-align: middle;
}