Merge pull request #1038 from sharelatex/jel-style-improvements

Content pages style improvements

GitOrigin-RevId: 6cb212deba561ebfa6349bdfcf16e309679be275
This commit is contained in:
Jessica Lawshe 2018-10-19 09:02:08 -05:00 committed by sharelatex
parent 7a03fbeb06
commit 24a2cafc33
3 changed files with 17 additions and 5 deletions

View file

@ -50,6 +50,7 @@
border: 1px solid @ol-blue-gray-2; border: 1px solid @ol-blue-gray-2;
display: inline-block; display: inline-block;
margin: 0 auto @margin-sm 0; margin: 0 auto @margin-sm 0;
max-width: 100%;
padding: @padding-sm; padding: @padding-sm;
.figure-caption { .figure-caption {
padding-top: @padding-sm; padding-top: @padding-sm;

View file

@ -94,15 +94,11 @@
universities page universities page
*/ */
#universities-container { #universities-container {
display: table;
padding: @padding-md; padding: @padding-md;
width: 100%; width: 100%;
.row { .row {
display: table-row; border-bottom: 1px solid @gray-lightest;
div { div {
border-bottom: 1px solid @gray-lightest;
display: table-cell;
float: none;
padding: @padding-md; padding: @padding-md;
vertical-align: middle; vertical-align: middle;
} }
@ -114,6 +110,7 @@
} }
} }
.row:last-child { .row:last-child {
border: 0;
// parent container contains padding // parent container contains padding
div { div {
border: 0; border: 0;
@ -133,6 +130,18 @@
.university-claim-btn { .university-claim-btn {
text-align: center; text-align: center;
} }
@media only screen and (min-width: @screen-xs-min) {
display: table;
table-layout: fixed;
.row {
display: table-row;
div {
border-bottom: 1px solid @gray-lightest;
display: table-cell;
float: none;
}
}
}
} }
/* /*

View file

@ -3,6 +3,8 @@
Including: about, home, blog, /for/__, legal, contact, portals Including: about, home, blog, /for/__, legal, contact, portals
*/ */
.content-page { .content-page {
word-break: break-word;
a:not(.btn) { a:not(.btn) {
color: @link-color-alt; color: @link-color-alt;
&:hover { &:hover {