@import "normalize.less"; @import "font.less"; @import "header.less"; @headerH : 50px; @footerH : 50px; @mainW : 60%; @sidebarW : calc(~"100% - @{mainW}"); @margin : 32px; @pitchLinkColor : #ffff94; html { font-size: 20px; } * { box-sizing: border-box; font-weight: normal; font-style: normal; } body { font-family: 'Alfphabet-III', Arial, Helvetica, sans-serif; margin: auto; padding: @margin * 2; padding-top: 0px; max-width: 1440px; } h1 { font-size: 4rem; margin: 0px; line-height: 90%; margin-bottom: @margin * 2; .second-line { margin-left: 6ch; } } details { margin-bottom: @margin / 3; summary { cursor: pointer; font-size: 1.25rem; &:hover { background-color: @pitchLinkColor; } } >*:not(summary) { margin-left: 1.4rem; } } p.pitch { font-size: 2.4rem; line-height: 135%; a { background-color: @pitchLinkColor; color: inherit; text-decoration: none; padding: 0 0.5ch; &:hover { text-decoration: underline !important; } } } .main__wrapper { // padding: @margin; padding-top: @margin; } .block { margin-bottom: @margin * 2; a { color: inherit; &:hover { background-color: @pitchLinkColor; } } } .block-with-sidebar { display: flex; > div { // padding : @margin; flex-shrink: 0; &.block-sidebar { width: @sidebarW; overflow: auto; } &.block-main { position: relative; width: @mainW; img { width: 100%; } } } &.sidebar-right .block-sidebar { padding-left: @margin / 2; border-left: 1px solid #000; } &.sidebar-left .block-sidebar { padding-right: @margin / 2; border-right: 1px solid #000; } &.sidebar-right .block-main { padding-right: @margin / 2; } &.sidebar-left .block-main { padding-left: @margin / 2; } } #mapList, #FAQ { border: 1px solid #000; border-radius: @margin * 2; padding: @margin * 2; padding-top: @margin; } .heart { transform: rotate(90deg); transform-origin: right top; position: fixed; right: 5px; bottom: @margin; font-size: 0.8rem; }