@charset "utf-8"; @textColor: #333; @undertextColor: #004e6d; .lightfont(@size){ font-family: Roboto,Arial,sans-serif; font-weight: 300; font-size: @size; line-height: @size * 1.25; color: @textColor; } .fulltransform(@value, @origin){ -webkit-transform-origin: @origin; -moz-transform-origin: @origin; -o-transform-origin: @origin; -ms-transform-origin: @origin; transform-origin: @origin; -moz-transform: @value; /* Для Firefox */ -ms-transform: @value; /* Для IE */ -webkit-transform: @value; /* Для Safari, Chrome, iOS */ -o-transform: @value; /* Для Opera */ transform: @value; } .columncount(@count,@gap:1em){ -webkit-column-count: @count; -moz-column-count: @count; column-count: @count; -webkit-column-gap:@gap; -moz-column-gap:@gap; column-gap:@gap; -webkit-column-fill:auto; } .gradient(@origin: left, @start: #ffffff, @stop: #000000){ background: -webkit-linear-gradient(@origin, @start, @stop); background: -moz-linear-gradient(@origin, @start, @stop); background: -ms-linear-gradient(@origin, @start, @stop); background: -o-linear-gradient(@origin, @start, @stop); background: linear-gradient(@origin, @start, @stop); } .gradient1(@origin: left, @start: #ffffff, @stop: #000000){ background: -webkit-linear-gradient(@origin, @start, @stop, @start); background: -moz-linear-gradient(@origin, @start, @stop, @start); background: -ms-linear-gradient(@origin, @start, @stop, @start); background: -o-linear-gradient(@origin, @start, @stop, @start); background: linear-gradient(@origin, @start, @stop, @start); } .stdbackground { .gradient(top, #f4fafe, #d9e6f4); } html,body { .lightfont(14px); background: #fff; box-sizing: border-box; } body { .wrapper { display: block; position: relative; margin: 0 auto; width: 100%; box-shadow: 0px 0px 10px rgba(0,0,0,0.1); @media (min-width: 576px) { max-width: 540px; } @media (min-width: 768px) { max-width: 720px; } @media (min-width: 992px) { max-width: 960px; } @media (min-width: 1200px) { max-width: 1140px; } @media (min-width: 1452px) { max-width: 1360px; } } section { //.gradient(top, rgba(255,255,255,0.9), #f4fafe); .stdbackground; } .sf-arrow { width: 7px; height:7px; display: inline-block; float:right; margin-left:6px; margin-top:5px; background-color:#090; background: url(/uiLib/images/arrows-black.png) no-repeat 0 0; overflow: hidden; /* making sure IE6 doesn't overflow and expand the box */ font-size: 1px; opacity:0.3; } .mainmenu { display: flex; list-style:none; ul, li { list-style:none; padding: 0; margin: 0; justify-content: space-between; &:before { display: none; } a { text-decoration: inherit; color: inherit; } } ul { display: flex; } li { display: inline-flex; flex-grow: 1; position: relative; & > *:first-child { .stdbackground; padding: 1em 2em; height: 3em; box-sizing: border-box; display: inline-flex; flex-grow: 1; justify-content: space-between; align-items: center; text-align: left; } &.active { & > *:first-child { color: #888; } } &.subactive { & > *:first-child { color: blue; } } &:hover, &.hover { & > *:first-child { .gradient(bottom, #f4fafe, #d9e6f4); } } } & > li { //outline: 1px solid blue; &:not(:first-child) { border-left: 1px solid #ccc; } & > ul { display: none; } &:hover, &.hover { //flex-direction: column; & > ul { position: absolute; top: 3em; display: flex; flex-direction: column; & > li { border-top: 1px solid #ccc; } } } } } .download { display:block; padding:6px 2px; padding-left:16px; color:#fff !important; border-radius:2px; border:1px solid #000; background: #777 !important; font-size: 1.2rem; text-decoration: none !important; em { font-style: italic; } &:hover { box-shadow: inset 1px 1px 0px #fff; } & > span { display: inline-block; & > * { display: block; } } small { font-size: 0.7em; } @iconsize:40px; &:before { content: ""; display: inline-block; color: #fff !important; position: relative; background-image: url(/uiLib/images/downloading.png); background-size: contain; background-repeat: no-repeat; background-position: left center !important; vertical-align: middle; width: @iconsize; height: @iconsize; margin-right: 12px; } &.windows, &.win32 { &:before { background-image: url(/uiLib/images/win32.png); } } &.android:before { background-image: url(/uiLib/images/android.png); } &.win64:before { background-image: url(/uiLib/images/windows64.png); } & + .download { border-top: none; margin-top: 0 !important; } } #content { .section { & > p { &:first-child { text-indent: 0em; &:first-letter { display:block; float:left; //color:#600; font-size:2.4em; line-height: 1em; margin: 0px; margin-right: 0.1em; padding: 0px; font-weight: 700; font-family:Georgia; } } } @media (min-width: 1200px) { .columncount(2,14px); & > *:first-child { margin-top: 0; } & + .section { @supports not (column-span: all) { position: relative; margin-top: 2.5em; } &:before { content: ""; display: block; width:30%; height: 1px; margin-top: 0.9em; margin-bottom: 0.9em; margin-left: auto; margin-right: auto; background: #ccc; @supports(column-span: all) { column-span: all; } @supports not (column-span: all) { position: absolute; top:-2em;right:0;left:0; } } } } } a.ibox { display: inline-block; position: relative; &:before { content: ""; display: block; position: absolute; left: 0; top: 0; bottom: 0; right: 0; background-image: url(/uiLib/css/images/icon_zoom.png); background-repeat: no-repeat; background-position: right top; } .thumb { min-height: 30px; background-repeat: no-repeat; background-position: center; background-size: cover; } } } } html.desktop { min-height: 100vh; } html body.home-page { min-height: 100vh; display: flex; flex-direction: row; justify-content: center; align-items: center; .logo { background-image: url(/uiLib/images/CoatOfArmsMiddle.png); background-repeat: no-repeat; background-position: center center; width: 300px; height: 300px; margin-right: 24px; } footer { position: fixed; bottom: 0; left: 0; right: 0; } } html.desktop body { @space: 24px; &.internal-page { min-height: 100vh; display: flex; flex-direction: column; justify-content: space-between; & > .wrapper { flex-grow: 1; display: flex; flex-direction: column; justify-content: space-between; position: relative; box-sizing: border-box; & > section { flex-grow: 1; display: block; height: 100%; display: flex; flex-direction: column; justify-content: space-between; & > .main { flex-grow: 1; } } } header { .stdbackground; position: relative; opacity: .99; & > .wrapper { position: relative; padding: @space / 3; opacity: .99; box-sizing: border-box; .gradient(top, transparent, rgba(255,255,255,0.5)); & > * { margin: 0; } display: flex; } .splash { display: block; position: absolute; width: 100%; height: 45vh; background-image: url(/uiLib/images/bg_1.jpg); background-size: cover; background-repeat: no-repeat; background-position: center; z-index: -1; } .logo { background-image: url(/uiLib/images/CoatOfArmsMiddle.png); background-repeat: no-repeat; background-position: center center; background-size: contain; width: 206px; height: 200px; } .underconstruction { background-image: url(/uiLib/images/underconstruct.png); background-repeat: no-repeat; background-position: center center; background-size: contain; } .heading { flex-grow: 1; display: flex; flex-direction: column; justify-content: space-between; align-items: flex-end; margin-left: @space; & > * { //outline: 1px solid yellow; display: inline-flex; } h1 { //margin: 0; display: block; width: 100%; color:#00542a; font-size:4rem; text-shadow: 0px 0px 2px #fff, 0px 0px 3px #fff, 0px 0px 5px #fff, 0px 0px 10px #fff; &:before { content:""; width:10px; height:10px; margin-right:6px; display:inline-block; background-color:#00542a; box-shadow: 0px 0px 2px #fff, 0px 0px 3px #fff, 0px 0px 5px #fff, 0px 0px 10px #fff; } } .note { font-size: 1.3em; font-style: italic; font-family: Times; font-weight: bold; background-color: khaki; border-left: 12px solid rgb(64,128,0); padding: @space / 2 @space; } } .column { &:empty { display: none; } min-width: 220px; margin-left: @space; display: flex; flex-direction: column; justify-content: flex-end; & > * { //flex-grow: 1; flex-grow: 1; display: flex; flex-direction: column; justify-content: center; border-radius: 0; border: 1px solid #000; &:not(:first-child) { border-top: none !important; } @rounded: 5px; &:first-child { border-top-left-radius: @rounded; border-top-right-radius: @rounded; } &:last-child { border-bottom-left-radius: @rounded; border-bottom-right-radius: @rounded; } } .underconstruction { background-color: #fff; flex-grow: 1; & ~ * { flex-grow: 0; } } .version { padding: 6px 2px; color: #fff !important; border: 1px solid #000; background: #444; text-align: center; & > * { display: block; } big { margin-top: 0.5em; margin-bottom: 0.1em; font-size: 2em; font-weight: bolder; } } .download { flex-shrink: 1; white-space: nowrap; flex-direction: row; align-items: center; padding: 6px 12px; } } } } #content { padding: @space / 3; box-sizing: border-box; } .main { display: flex; flex-direction: row-reverse; align-items: stretch; justify-content: space-between; //outline: 1px solid green; & > * { & > *:first-child { margin-top: 0; } //outline: 1px solid blue; &.leftblock { padding-right: @space / 2; margin-right: @space / 2; border-right: 1px solid #a0afc3; flex-grow: 1; } } .rightblock { min-width: 220px; & > * { &:not(:first-child){ margin-top: @space / 2; } &:last-child { margin-bottom: @space / 2; } } .screenshots { & > * { display: block; background: #333; width: 100%; border: 1px solid #444; &:not(:first-child) { //margin-top: 0.1em; border-top: none; } .thumb { width: 100%; height: 130px; background-size: contain; } } } .version { display: block; padding: 6px 2px; padding-left: 16px; color: #fff !important; border-top-left-radius: 7px; border-top-right-radius: 7px; border: 1px solid #000; background: #444; text-align: center; & > * { display: block; } big { margin-top: 0.5em; margin-bottom: 0.5em; font-size: 2em; font-weight: bolder; } & + .download { margin-top: 0; border-top: none; } } .freesoft + .freesoft { text-align: center; margin-top: 4px; display: flex; justify-content: space-between; } } .leftblock { .screenshots { display: flex; justify-content: center; .ibox { border: 1px solid #444; &:not(:first-child) { margin-left: 0.1em; } } .thumb { min-width: 30px; width:160px; height: 90px; } } } } footer { .stdbackground; border-top: 1px solid rgba(0,0,0,0.1); overflow: hidden; .wrapper { display: flex; flex-direction: row-reverse; align-items: center; justify-content: space-between; & > * { //outline: 1px solid blue; & > * { display: inline-block; } &.text { font-size: 12px; padding-left: 1em; a { text-decoration: inherit; color: inherit; } .nick { font-family:"Times New Roman", Times, serif; font-style:italic; &:before {content: "(";} &:after {content: ")";} } } } } } .yashare-auto-init { margin: 0px; position: fixed; left: 0px; bottom:64px; width:28px; padding: 8px; padding-top: 14px; border: 1px solid #999; border-left:none; border-top-right-radius: 12px; border-bottom-right-radius: 12px; .gradient(right, #f4fafe, #d9e6f4); .b-share, .b-share > * { display: block; float: none; text-align: center; } .b-share > * { &:first-child { height:114px; } &:first-child > *:first-child { .fulltransform(rotate(90deg) translateY(-16px), left top); } } } }