[Communities] Table width was wrongly set to 100%. Communities link is now clearer. Ribbon image wraps when space is limited.

This commit is contained in:
Eliseu Amaro 2021-09-11 17:36:36 +01:00 committed by Diogo Peralta Cordeiro
parent 389f913e74
commit b12753a18f
Signed by: diogo
GPG Key ID: 18D2D35001FBFAB0
1 changed files with 24 additions and 6 deletions

View File

@ -6,6 +6,7 @@
-webkit-box-sizing: border-box !important; -webkit-box-sizing: border-box !important;
-moz-box-sizing: border-box !important; -moz-box-sizing: border-box !important;
box-sizing: border-box !important; box-sizing: border-box !important;
scroll-margin: 5rem;
} }
ul, ol, li, h1, h2, h3, h4, h5, h6, pre, form, body, html, p, blockquote, fieldset, input, textarea { ul, ol, li, h1, h2, h3, h4, h5, h6, pre, form, body, html, p, blockquote, fieldset, input, textarea {
@ -112,6 +113,12 @@ header * {
height: 3rem !important; height: 3rem !important;
width: 3rem !important; width: 3rem !important;
} }
.content,
.ribbon-wrapper,
.content-team {
top: 0 !important;
padding: 3rem !important;
}
} }
@media screen and (max-height: 700px) { @media screen and (max-height: 700px) {
@ -159,8 +166,6 @@ header * {
.splash { .splash {
text-align: center; text-align: center;
padding: 3rem; padding: 3rem;
padding-left: 0rem;
padding-right: 0rem;
background-color: #F6F4F6; background-color: #F6F4F6;
} }
.splash-head { .splash-head {
@ -221,17 +226,24 @@ header * {
} }
.ribbon { .ribbon {
display: flex; display: flex;
flex-wrap: wrap;
justify-content: center; justify-content: center;
align-items: center; align-items: center;
} }
.ribbon img { .ribbon img {
max-width: 25%; min-width: 15rem;
max-height: 200px; max-height: 200px;
margin-right: 2rem; margin: 0 2rem 2rem 2rem;
} }
.ribbon-content h2 { .ribbon-content h2 {
margin-top: unset; margin-top: unset;
} }
.ribbon-content a {
background-color: #a22430;
color: #F6F4F6;
padding: 4px 12px;
border-radius: 0.5rem;
}
.content-team { .content-team {
z-index: 3; z-index: 3;
@ -262,14 +274,20 @@ header * {
} }
#nodes { #nodes {
display: flex;
flex-direction: column;
border-collapse: collapse; border-collapse: collapse;
width: 100%;
padding-bottom: 1rem; padding-bottom: 1rem;
margin-left: auto;
margin-right: auto;
max-width: max-content;
width: 100%;
} }
#nodes td, #nodes th { #nodes td, #nodes th {
width: 100%;
border: 1px solid #ddd; border: 1px solid #ddd;
padding: 8px; padding: 6px 12px;
} }
#nodes tr:nth-child(even){background-color: #F6F4F6;} #nodes tr:nth-child(even){background-color: #F6F4F6;}