mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-21 20:47:08 -05:00
Merge pull request #1038 from sharelatex/jel-style-improvements
Content pages style improvements GitOrigin-RevId: 6cb212deba561ebfa6349bdfcf16e309679be275
This commit is contained in:
parent
7a03fbeb06
commit
24a2cafc33
3 changed files with 17 additions and 5 deletions
|
@ -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;
|
||||
|
|
|
@ -94,15 +94,11 @@
|
|||
universities page
|
||||
*/
|
||||
#universities-container {
|
||||
display: table;
|
||||
padding: @padding-md;
|
||||
width: 100%;
|
||||
.row {
|
||||
display: table-row;
|
||||
border-bottom: 1px solid @gray-lightest;
|
||||
div {
|
||||
border-bottom: 1px solid @gray-lightest;
|
||||
display: table-cell;
|
||||
float: none;
|
||||
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;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
/*
|
||||
|
|
|
@ -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 {
|
||||
|
|
Loading…
Reference in a new issue