CSS: Style about page

refs #4328
This commit is contained in:
Florian Strohmaier 2021-07-28 15:00:06 +02:00 committed by Johannes Meyer
parent c1d0c132f3
commit e54c1721ad
1 changed files with 70 additions and 22 deletions

View File

@ -1,36 +1,84 @@
/*! Icinga Web 2 | (c) 2015 Icinga Development Team | GPLv2+ */
#about {
&.content {
display: flex;
flex-direction: column;
align-items: center;
}
section {
width: auto;
> * {
margin-bottom: 2em;
}
}
h2 {
margin-top: 2.5em;
margin: 0;
}
.about-social i {
font-size: 1.7em;
color: @text-color;
.name-value-table {
th {
width: 100%;
}
th,
td {
white-space: nowrap;
}
}
.about-social i:hover {
color: @icinga-blue;
section:not(:last-child),
.icinga-logo {
margin-bottom: 2em;
}
.about-links {
margin-top: 2.5em;
margin-bottom: 2.5em;
.external-links {
.rounded-corners();
border: 1px solid @gray-light;
display: flex;
padding: .5em 0;
overflow: hidden;
.col {
flex: 1 1 auto;
text-align: center;
font-size: 12/14em;
}
.col:not(:last-child) {
border-right: 1px solid @gray-light;
}
a {
display: block;
padding: .75em 1em;
margin: -7/12em 0;
}
a:hover {
text-decoration: none;
background: @gray-light;
}
i {
font-size: 2*14/12em;
opacity: .8;
margin-bottom: .25em;
display: block;
&:before {
margin-right: 0;
}
}
}
.about-links i {
margin: 0.5em;
padding: 0;
font-size: 5em;
color: @text-color;
}
.about-links i:hover {
color: @icinga-blue;
}
.common-table th {
text-align: center;
footer {
margin-top: auto;
align-self: stretch;
display: flex;
justify-content: space-between;
}
}