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;
display: inline-block;
margin: 0 auto @margin-sm 0;
max-width: 100%;
padding: @padding-sm;
.figure-caption {
padding-top: @padding-sm;

View file

@ -94,15 +94,11 @@
universities page
*/
#universities-container {
display: table;
padding: @padding-md;
width: 100%;
.row {
display: table-row;
div {
border-bottom: 1px solid @gray-lightest;
display: table-cell;
float: none;
div {
padding: @padding-md;
vertical-align: middle;
}
@ -114,6 +110,7 @@
}
}
.row:last-child {
border: 0;
// parent container contains padding
div {
border: 0;
@ -133,6 +130,18 @@
.university-claim-btn {
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
*/
.content-page {
word-break: break-word;
a:not(.btn) {
color: @link-color-alt;
&:hover {