Sponsors styling
This commit is contained in:
parent
257bfdff06
commit
b3558166d1
10 changed files with 221 additions and 1 deletions
52
web/themes/dcb2017/sass/components/_views.scss
Normal file
52
web/themes/dcb2017/sass/components/_views.scss
Normal file
|
@ -0,0 +1,52 @@
|
|||
.views-view-table {
|
||||
td {
|
||||
display: block;
|
||||
vertical-align: top;
|
||||
|
||||
&.views-field-field-logo {
|
||||
padding: 1em 0;
|
||||
text-align: center;
|
||||
|
||||
@include media-large {
|
||||
padding: 2em 2em 2em 0;
|
||||
}
|
||||
}
|
||||
|
||||
@include media-large {
|
||||
display: table-cell;
|
||||
}
|
||||
}
|
||||
|
||||
.views-field-body a {
|
||||
@include button;
|
||||
}
|
||||
}
|
||||
|
||||
.view-silver-sponsors {
|
||||
overflow: hidden;
|
||||
text-align: center;
|
||||
|
||||
.sponsor {
|
||||
box-sizing: border-box;
|
||||
float: left;
|
||||
padding: 1em;
|
||||
width: 100%;
|
||||
|
||||
@include media-tablet {
|
||||
width: 50%;
|
||||
}
|
||||
|
||||
@include media-large {
|
||||
width: 33.333%;
|
||||
}
|
||||
|
||||
@include media-wide {
|
||||
width: 20%;
|
||||
}
|
||||
}
|
||||
|
||||
img {
|
||||
height: auto;
|
||||
max-width: 100%;
|
||||
}
|
||||
}
|
Reference in a new issue