Improve displaying of sponsors logos. #35

Merged
popjelev merged 1 commits from improvement-sponsors-css into master 2022-09-29 09:28:10 +03:00
1 changed files with 35 additions and 6 deletions
Showing only changes of commit 446c2652ee - Show all commits

View File

@ -604,19 +604,47 @@ footer .content li a {
} }
.sponsors-item .tac a { .sponsors-item .tac a {
display: inline-block; display: inline-block;
height: 8em; width: 15em;
line-height: 8em; height: 9em;
line-height: 9em;
margin-bottom: 0.5em;
} }
.sponsors-item .tac a img { .sponsors-item .tac a img {
width: auto;
height: auto;
max-width: calc(15em - 0.6em); /* width - (left+right padding) */
max-height: calc(9em - 0.6em);
padding: 0.3em;
vertical-align: middle; vertical-align: middle;
} }
.sponsors-item .tac p { .sponsors-item .tac p {
text-align: justify; text-align: justify;
} }
.sponsors-frontpage {
text-align: center;
}
.sponsors-frontpage h3,
.sponsors-frontpage .content {
text-align: left;
}
.sponsors-frontpage a { .sponsors-frontpage a {
display: inline-block; display: inline-block;
padding: 0 2.2em 1em 0; padding: 0;
margin: 0.3em;
width: calc(15em - 0.6em - 2px); /* width - (left+right margin) - (left+right border) */
height: calc(9em - 0.6em - 2px);
line-height: calc(9em - 0.6em - 2px);
border: solid 1px #DBDBDB;
text-align: center;
}
.sponsors-frontpage a img {
width: auto;
height: auto;
max-width: calc(15em - 1.2em - 2px); /* width - (left+right margin&padding) - (left+right border) */
max-height: calc(9em - 1.2em - 2px);
padding: 0.3em;
vertical-align: middle;
} }
.sponsors-frontpage p a { .sponsors-frontpage p a {
display: inline; display: inline;
@ -714,10 +742,10 @@ a.button:hover { opacity: 0.8; }
.program table { .program table {
width: 99%; width: 99%;
} }
/*
.program h2 { .program h2 {
} }
*/
.program table, .program td, .program tr, .program th { .program table, .program td, .program tr, .program th {
border: 0; border: 0;
} }
@ -835,10 +863,11 @@ a.button:hover { opacity: 0.8; }
.schedule-social { .schedule-social {
background: #a6b4de; background: #a6b4de;
} }
/*
.schedule-14 { .schedule-14 {
background: #; background: #;
} }
*/
/* Advanced technical track 2015 */ /* Advanced technical track 2015 */
.schedule-advanced-technical { .schedule-advanced-technical {
background: #DF9959; background: #DF9959;