UNPKG

jsonresume-theme-elegant

Version:
146 lines (121 loc) 2.71 kB
@import "variables"; @import "mixins"; @import "icon"; body { font-family: 'Lato'; background: @theme-bg; color: @theme-font-color; } .main { padding: 5px; } .card { background: @card-bg; border: 1px solid @card-border-color; border-radius: @card-border-radius; min-height: 300px; padding: 10px 0; } .card-nested { .clearfix(); min-height: 0; border-width: 1px 0 0 0; @media (max-width: @screen-phone) { padding: 5px 0; } } .background-card { padding: 10px 20px; } .card-wrapper { padding: 5px; @media (max-width: @screen-desktop) { float: none !important; } } .background-details { .detail { display: table; .icon { min-width: 45px; max-width: 45px; text-align: center; } .info { width: 100%; } .title, .icon { color: @icon-color; } .mobile-title { display: none; @media (max-width: @screen-phone) { display: inline-block; margin-left: 5px; font-weight: bold; text-transform: uppercase; vertical-align: middle; } } .icon, .info { display: table-cell; padding: 0 10px; } @media (max-width: @screen-phone) { display: block; .icon { max-width: inherit; min-width: inherit; text-align: left; } .icon, .info { display: block; padding: 10px 0; } .title { display: none; } } } } .info { .content.has-sidebar { width: 80%; box-sizing: border-box; float: left; padding: 0 10px; border-right: 1px solid darken(@card-border-color, 10%); @media (max-width: @screen-desktop) { width: 100%; border-right: 0; } @media (max-width: @screen-phone) { padding: 0 2px; } } .sidebar { margin-left: 80%; box-sizing: border-box; padding: 10px; } } ul { @media (max-width: @screen-phone) { padding-left: 25px; } } .current-event { font-size: 8px; color: #5ACE24; position: absolute; right: 100%; top: 4px; left: -10px; } .mop-wrapper { //mardown output wrapper > p { // markdown outputs the result wrapped in a <p> tag, bootstrap has default margin for this tag, so negating it &:last-child { margin: 0; } } }