| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250 |
- /*
- v2
- CMS Generated Pages,
- including About and Blog
- */
- .cms-page {
- padding-bottom: 0;
- img {
- height: auto;
- max-width: 100%;
- }
- .btn-description {
- margin-right: @margin-sm;
- }
- /*
- Tabs
- */
- .tab-content {
- padding-left: 0;
- padding-right: 0;
- width: 100%;
- }
- /*
- When on preview mode
- */
- .cms-preview {
- background-color: @blue;
- color: white;
- font-weight: bold;
- height: @navbar-padding-vertical;
- left: 0;
- line-height: @navbar-padding-vertical;
- opacity: 0.8;
- position: fixed;
- text-align: center;
- top: 0;
- width: 100%;
- z-index: 1;
- &:after {
- content: 'Preview';
- width: 100%;
- top: 0;
- left: 0;
- }
- }
- .tab-pane {
- .row:first-child {
- margin-top: 0;
- }
- }
- /*
- quotes
- */
- blockquote {
- margin: 0;
- /*
- type.less sets <p> inline, so that quotation mark is inline
- but sometimes we have multiple <p>,
- so hide quotation mark from type.less and add one here
- */
- &:before {
- /* hide quotation from type.less */
- display: none;
- }
- p {
- display: block;
- }
- p:first-child {
- /* below copied from type.less */
- &:before {
- content: open-quote;
- font-size: @blockquote-font-size * 3;
- color: @blockquote-border-color;
- margin-right: 0.25em;
- vertical-align: -0.4em;
- line-height: 0.1em;
- }
- }
- }
- .quote-full-width {
- img {
- margin-right: @margin-sm;
- margin-bottom: @margin-sm;
- }
- }
- /*
- Tables
- */
- .table-styled {
- overflow: hidden;
- overflow-x: auto;
- table {
- background: white;
- max-width: none;
- th,
- td {
- border: 1px solid @gray-lighter;
- padding: @padding-sm;
- text-align: center;
- word-break: normal;
- }
- }
- }
- .table-styled,
- .features-table {
- .fa-check-square,
- .fa-check {
- color: @ol-green;
- }
- }
- .features-table {
- max-width: none;
- th,
- td {
- border: 1px solid @gray-lighter;
- hyphens: auto;
- padding: @padding-sm;
- text-align: center;
- }
- th,
- td {
- width: 20%;
- }
- .btn {
- max-width: 100%;
- white-space: pre-wrap;
- word-wrap: break-word;
- }
- &.left-align-first-col {
- td,
- th {
- text-align: left;
- }
- td + td,
- th + th {
- text-align: center;
- }
- }
- .hidden-row-above-xs {
- display: none;
- }
- @media screen and (max-width: @screen-xs-max) {
- tbody,
- thead {
- display: block;
- }
- tr {
- display: flex;
- flex-flow: row wrap;
- justify-content: space-around;
- }
- td,
- th {
- display: block;
- width: 25%;
- }
- tr:first-child {
- th {
- width: 50%;
- }
- th:first-child {
- width: 100%;
- }
- }
- td:first-child {
- text-align: center;
- width: 100%;
- }
- .hidden-row-xs {
- display: none;
- }
- .hidden-row-above-xs {
- display: flex;
- }
- .table-header {
- text-align: center;
- }
- }
- }
- /*
- universities page
- */
- #universities-container {
- padding: @padding-md;
- width: 100%;
- .row {
- border-bottom: 1px solid @gray-lightest;
- div {
- padding: @padding-md;
- vertical-align: middle;
- }
- }
- .row:first-child {
- // parent container contains padding
- div {
- padding-top: 0;
- }
- }
- .row:last-child {
- border: 0;
- // parent container contains padding
- div {
- border: 0;
- padding-bottom: 0;
- }
- }
- p {
- margin: 0 auto;
- width: 100%;
- }
- // Logos
- .uni-logo {
- margin: 0 auto;
- max-height: 55px;
- min-width: 55px;
- }
- .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;
- }
- }
- }
- }
- /*
- videos
- */
- video {
- height: auto;
- max-width: 100%;
- }
- }
|