/** CSS RESET **/ * { margin: 0; padding: 0; } /* HTML5 display-role reset for older browsers */ article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section { display: block; } ul, ol { list-style-type: none; } blockquote, q { quotes: none; } blockquote:before, blockquote:after, q:before, q:after { content: ''; content: none; } /*************************************************************************** DEFAULT CSS ***/ h1, h2, h3, h4, h5, h6 { font-size: inherit; } .hide { display: none; } .clear { clear: both; } strong, b { font-weight: bold; } em { font-style: italic; } #default-article-style { //font-size: 18px; h1, h2, h3, h4, h5, h6 { margin-bottom: 10px; } h1 { font-size: 150%; } h2, h3 { font-size: 130%; } p, ul, ol, hr { margin: 0px 0px 10px 0px; } ul, ol { padding: 0px 0px 0px 30px; } ul { list-style-type: disc; } ol { list-style-type: number; } hr { height: 1px; background: #E4E4E4; } blockquote { background-color: #e5f3df; color: #333; padding: 15px; margin-bottom: 10px; p:last-of-type { margin-bottom: 0px; } } a { color: #C97171; &:hover { color: #994415; } } } /********************************************************************************** BODY ***/ /* FONTS OPENSANS */ @font-face { font-family: 'Proxima'; src: url('../fonts1/ProximaNova-Reg.otf'); font-weight: normal; font-style: normal; } @font-face { font-family: 'Proximabold'; src: url('../fonts1/ProximaNova-Bold.otf'); font-weight: normal; font-style: normal; } @full-width: 1920px; @site-width: 1090px; html { background-color: #fefefe; background-image: url(../img/bg01.png); min-height: 100%; } body { clear: both; font-family: Proxima, sans-serif; width: @site-width; margin: 0 auto; background: #fff; } header:not(.diafan-admin-panel) { padding: 5px; text-align: center; .header__title { width: 100%; padding: 5px; box-sizing: border-box; background-color: #3C8BFD; background: -webkit-linear-gradient(bottom, #0F6FFF, #ACD1FA); background: -o-linear-gradient(bottom, #0F6FFF, #ACD1FA); background: linear-gradient(to top, #0F6FFF, #ACD1FA); font-size: 29px; a { text-decoration: none; display: block; color: rgb(255, 255, 255); } .title__firstlink { font-size: 20px; } } .header__img { margin: 5px 0px; width: 100%; } .menu { background-color: #3C8BFD; background: linear-gradient(to top, #0F6FFF, #ACD1FA); text-align: center; font-size: 0; width: 100%; display: table; li { display: table-cell; a { line-height: 27px; padding: 5px 16px; color: #fefefe; font-size: 18px; text-decoration: none; display: block; &:hover { background-color: #E27146; } } &.active { background-color: #E27146; } } } } .content { margin: 10px 0 10px 0; .content__left { width: 300px; display: inline-block; vertical-align: top; padding: 0 10px; .lang-container { a { font-size: 14px; color: #1081C5; margin: 2px 0px 2px 40px; padding-left: 20px; &:first-of-type { background-image: url('../img/ru.png'); background-repeat: no-repeat; } &:last-of-type { background-image: url('../img/gb.png'); background-repeat: no-repeat; } } } .menutitle { font-size: 16px; text-decoration: underline; padding: 10px 0px 10px 0px; font-weight: bold; } .menu { li { &:not(.active) { a { border-bottom: 1px solid #fff; color: #fff; display: block; font-weight: normal; padding: 10px 10px 10px 28px; text-decoration: none; background-color: #3C8BFD; background: linear-gradient(to top, #0F6FFF, #ACD1FA); &:hover { background: #E27146; } } } &.active { color: #fff; padding: 10px 10px 10px 28px; background: #E27146; border-bottom: 1px solid #fff; } &.active.parent { color: #fff; padding: 10px 0 0 0; text-indent: 28px; background: url(../img/graphite_arrow_down.png) no-repeat 0 0 #000; a { color: #fff; text-decoration: none; } ul { margin: 10px 0 0 0; li { a { background: none repeat scroll 0% 0% #ccc; color: #333; text-indent: 0; &:hover { background: #E27146; } } &.active { text-indent: 0; } } } } } } } .content__right { width: 720px; display: inline-block; vertical-align: top; margin: 0 20px 0 20px; overflow: hidden; ul, ol { list-style-type: disc; margin: 1em 0; padding-left: 40px; } .feedback_form { input { border: 1px solid #c6c6c6; padding: 10px; font-size: 16px; font-family: inherit; display: block; max-width: 400px; min-width: 300px; width: 50%; box-sizing: border-box; &[type="submit"] { margin: 10px 0 0 0; } } textarea { width: 50%; min-height: 180px; max-height: 500px; height: 180px; border: 1px solid #c6c6c6; padding: 10px; box-sizing: border-box; display: block; font-size: 16px; } .infofield { margin: 10px 0 0 0; } } } .breadcrumb { padding: 10px; box-sizing: border-box; background-color: #e4e4e4; color: #1081c5; a { color: #1081c5; text-decoration: none; &:hover { text-decoration: underline; } } } h1 { font-size: 22px; margin: 10px 0; } &.no_menu { padding: 10px 25px; box-sizing: border-box; } table { border-collapse: collapse; border-spacing: 0; width: 100%; margin: 8px 0px 8px; td { border: 1px solid #333; padding: 5px; } } } footer { width: 100%; color: #fefefe; background: linear-gradient(to top, #0F6FFF, #ACD1FA); padding: 20px 20px 30px; overflow: auto; box-sizing: border-box; .footer__info { font-size: 14px; line-height: 16px; width: 100%; display: inline-block; margin-bottom: 10px; a { color: #fff; text-decoration: none; } } .footer_menu { width: 100%; text-align: right; .menu { li { padding: 10px; background: #f3f3f3; text-decoration: underline; display: inline-block; margin: 3px 4px; a { color: #1081C5; } } } } }