﻿HTML CSS JS

Result

EDIT ON


  /*
  =====
  DEPENDENCES
  =====
  */

  /* The component will reset button browser styles */
*, *::before, *::after {
  box-sizing: border-box !important;
}

.r-button{
  --uirButtonBackgroundColor: var(--rButtonBackgroundColor, transparent);
  --uirButtonPadding: var(--rButtonPadding, var(--rButtonPaddingTop, 0) var(--rButtonPaddingRight, 0) var(--rButtonPaddingBottom, 0) var(--rButtonPaddingLeft, 0));
  --uirButtonBorderWidth: var(--rButtonBorderWidth, 0);
  --uirButtonBorderStyle: var(--rButtonBorderStyle, solid);
  --uirButtonBorderColor: var(--rButtonBorderColor, currentColor);
  --uirButtonFontFamily: var(--rButtonFontFamily, inherit);
  --uirButtonFontSize: var(--rButtonFontSize,  inherit);
  --uirButtonColor: var(--rButtonColor);

  background-color: var(--uirButtonBackgroundColor);
  padding: var(--uirButtonPadding);

  border-width: var(--uirButtonBorderWidth);
  border-style: var(--uirButtonBorderStyle);
  border-color: var(--uirButtonBorderColor);

  cursor: pointer;

  font-family: var(--uirButtonFontFamily);
  font-size: var(--uirButtonFontSize);
}

.r-button::-moz-focus-inner,
.r-button[type="button"]::-moz-focus-inner,
.r-button[type="reset"]::-moz-focus-inner,
.r-button[type="submit"]::-moz-focus-inner {

  /* Remove the inner border and padding in Firefox. */

  border-style: none;
  padding: 0;
}

/* The component will reset browser's styles of link */

.r-link{
  --uirLinkDisplay: var(--rLinkDisplay, inline-flex);
  --uirLinkTextColor: var(--rLinkTextColor);
  --uirLinkTextDecoration: var(--rLinkTextDecoration, none);

  display: var(--uirLinkDisplay) !important;
  color: var(--uirLinkTextColor) !important;
  text-decoration: var(--uirLinkTextDecoration) !important;
}

/* The component will reset browser's styles of list */

.r-list{
  --uirListPaddingLeft: var(--rListPaddingLeft, 0);
  --uirListMarginTop: var(--rListMarginTop, 0);
  --uirListMarginBottom: var(--rListMarginBottom, 0);
  --uirListListStyle: var(--rListListStyle, none);

  padding-left: var(--uirListPaddingLeft) !important;
  margin-top: var(--uirListMarginTop) !important;
  margin-bottom: var(--uirListMarginBottom) !important;
  list-style: var(--uirListListStyle) !important;
}

/* Basic styles of the hamburger component */

.m-hamburger{
  --uiHamburgerDisplay: var(--hamburgerDisplay, inline-flex);
  --uiHamburgerWidth: var(--hamburgerWidth, 28px);
  --uiHamburgerHeight: var(--hamburgerHeight, 20px);
  --uiHamburgerThickness: var(--hamburgerThickness, 4px);
  --uiHamburgerBorderRadius: var(--hamburgerBorderRadius, 5px);
  --uiHamburgerBgColor: var(--hamburgerBgColor, currentColor);

  display: var(--uiHamburgerDisplay);
  width: var(--uiHamburgerWidth);
  height: var(--uiHamburgerHeight);

  position: relative;
  text-indent: -9999px;
}

.m-hamburger::before,
.m-hamburger::after,
.m-hamburger__label{
  width: 100%;
  height: var(--uiHamburgerThickness);
  border-radius: var(--uiHamburgerBorderRadius);
  background-color: var(--uiHamburgerBgColor);

  position: absolute;
  left: 0;
}

.m-hamburger::before,
.m-hamburger::after{
  content:"";
}

.m-hamburger::before{
  top: 0;
}

.m-hamburger::after{
  bottom: 0;
}

.m-hamburger__label{
  /* The calculation of middle hamburger button line position */

  top: calc(50% - calc(var(--uiHamburgerThickness) / 2));
}

/*
=====
MENU STYLES
=====
*/

.menu{
  --uiMenuCircleSize: var(--menuCircleSize, 100px);
  --uiMenuCircleOffset: var(--menuCircleOffset, 10px);
  --uiMenuCircleBgColor: var(--menuCircleBgColor, currentColor);

  --hamburgerWidth: var(--menuHamburgerWidth, 28px);
  --hamburgerHeight: var(--menuHamburgerHeight, 20px);
  --hamburgerBgColor: var(--menuHamburgerBgColor, #fff);

  box-sizing: border-box;
  width: 100%;

  display: flex;
  flex-direction: column;
  align-items: center;

  position: fixed;
  bottom: 0;
  left: 0;
  z-index: 9998;
}

.menu__nav{
  box-sizing: border-box;
  width: 100%;
  height: 0;

  transition: opacity .2s ease-out;
  opacity: 0;

  display: flex;
  align-items: flex-end;
  z-index: 2;
}

.menu__list{
  width: 100%;
  max-height: 100%;
  display: none;

  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.menu__toggle{
  box-sizing: border-box;
  width: var(--uiMenuCircleSize);
  height: calc(var(--uiMenuCircleSize) / 2);
  padding: var(--uiMenuCircleOffset);

  flex: none;

  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.menu__toggle::before{
  /*
  1. The font-size property is used to simplify calculations of the element's sizes and position
  2. The negative value for the bottom property need for hiding half of circle.
  */

  content: "";
  width: 1em;
  height: 1em;
  font-size: var(--uiMenuCircleSize); /* 1 */

  background-color: var(--uiMenuCircleBgColor);
  border-radius: 50%;

  position: absolute;
  bottom: -.5em; /* 2 */
  left: calc(50% - .5em);

  will-change: width, height;
  transition: transform .25s cubic-bezier(0.04, -0.1, 0.29, 0.98),
  width .25s cubic-bezier(0.04, -0.1, 0.29, 0.98),
  height .25s cubic-bezier(0.04, -0.1, 0.29, 0.98);
}

.menu__hamburger::before{
  /* Increase of click button area   */

  content: "";
  width: 100%;
  height: 100%;

  position: absolute;
  top: 0;
  left: 0;
}

/* styles of hamburger's animation */

.m-hamburger::before,
.m-hamburger::after,
.m-hamburger__label{
  transition-timing-function: ease;
  transition-duration: .15s;
}

.m-hamburger::before,
.m-hamburger::after{
  transition-property: transform;
}

.m-hamburger__label{
  transition-property: transform, opacity;
}

/*
=====
MENU STATES
=====
*/

.menu__hamburger:focus{
  outline: none;
}

.menu_activated{
  height: 100%;
}

.menu_activated .menu__nav{
  height: 100%;
  opacity: 1;

  will-change: opacity;
  transition-duration: .2s;
  transition-delay: .3s;
}

.menu_activated .menu__toggle::before{
  width: 100vmax;
  height: 100vmax;
  transform: translate3d(-50vh, -50vh, 0) scale(5);
  transition-duration: 1s;
}

.menu_activated .menu__list{
  display: block;
}

.menu_activated .m-hamburger::before{
  top: 50%;
  transform: translate3d(0, -50%, 0) rotate(45deg);
}

.menu_activated .m-hamburger::after{
  transform: translate3d(0, -50%, 0) rotate(135deg);
  top: 50%;
}

.menu_activated .m-hamburger__label{
  transform: rotate(-45deg) translate3d(-.285em,-.3em, 0);
  opacity: 0;
}

/*
=====
SETTINGS
=====
*/

:root{
  --colorWhite: #fff;
  --colorMain: #4557bb;
  --rLinkTextColor: var(--colorMain);
  --menuCircleSize: 100px;
  --menuCircleBgColor: var(--colorMain);
  --menuHamburgerWidth: 28px;
  --menuHamburgerHeight: 20px;
  --menuHamburgerBgColor: var(--colorWhite);
}

/*
=====
DEMO
=====
*/

@media (min-width: 768px){

  html{
    font-size: 62.5%;
  }
}

@media (max-width: 767px){

  html{
    font-size: 50%;
  }
}

body{
  height: 100vh;
  margin: 0;
  font-size: 2rem;
}

.page{
  max-width: 380px;
  padding: 10px;
  margin: auto;
  text-align: center;
}

.page__name{
  display: block;
  font-size: 3rem;
  font-weight: 700;
}

.page__hint{
  display: block;
  line-height: 1.45;
  margin-top: 1rem;
}

.menu__group{
  --rLinkTextColor: var(--colorWhite);

  padding: .5rem 3rem;
  font-size: 3.2rem;
  font-weight: 700;
  text-transform: uppercase;
}

#logo {
  height: revert;
  display: flex;
}
#logo a {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  justify-content: flex-start;
  align-items: center;
}

#logo a::after {
  display: inline-block;
  content: 'ГрОб-Хроники';
  font-family: 'Open Sans';
  font-weight: 500;
  font-size: 3rem;
  font-style: normal;
  text-decoration: none;
  color: black;
}

#forIE6 {
  display: none;
}

#container {
  display: flex;
  flex-direction: column;
}

#right {
  float: revert;
  margin: 0;
  padding: 20px;
}

#left, #leftwide {
  float: revert;
  width: 100%;
  margin: 0;
  z-index: 100;
  max-height: 76px;
  background: white;
  transition: all .1s ease-out;
}

.stickyHeader {
  position: fixed;
  box-shadow:
          0 1px 1px hsl(0deg 0% 0% / 0.075),
          0 2px 2px hsl(0deg 0% 0% / 0.075),
          0 4px 4px hsl(0deg 0% 0% / 0.075),
          0 8px 8px hsl(0deg 0% 0% / 0.075)
;
}

.stickyHeader ~ #right, .stickyHeader ~ #rightwide {
  margin-top: 76px;
}

#wrapper600 {
  min-width: auto;
  max-width: 100%;
  margin-bottom: -60px;
  min-height: 100%;
}

body.sidebar-open {
  overflow: visible;
  position: fixed;
}

#sidebar {
  display: none;
  width: auto;
  top: 76px;
  left: 0;
  bottom: 0;
  right: 0;
  position: fixed;
  z-index: 100;
  overflow-y: auto;
}

.leftsidebar li {
  font-size: 2rem;
}

.lsgroupnorm a {
  display: inline-block;
  padding: 5px 8px;
}

.leftsidebar > li {
  font-size: 2.2rem;
  /*padding: 10px;*/
}

.leftsidebar > li >  a {
  display: block;
  padding: 10px;
}

li.lschild {
  line-height: 20px;
  margin: 10px 0;
}

.sidebarVisible {
  display: block !important;
  position: absolute;
  top: revert;
}

#footer {
  float: revert;
  display: flex;
  flex-wrap: nowrap;
  flex-direction: column;
  padding: 0 10px;
  height: 64px;
  margin-top: -64px;
}

#copyright {
  margin-left: 0;
  order: 2;
  margin-bottom: 10px;
  font-size: 1.8rem;
  display: inline-flex;
  justify-content: space-between;
}

#copyright br{
  content: "";
}
#copyright br:after {
  content: " ";
}

#search {
  order: 1;
  float: revert;
  margin-right: revert;
}
#searchbar {
  text-align: left;
  margin-bottom: 10px;
  width: 100%;
  display: flex;
  flex-flow: row nowrap;
}

#searchbar input {
  font-size: 1em;
}

.search-input{
  flex-basis: 100%;
  /*width: 100%;*/
}

#header {
  display: none;
}

.leftsidebar {
  width: auto;
  padding-left: 20px;
  padding-right: 20px;
}

#right .topdiv {
  height: 50px;
}

/*
кнопка меню и её анимация
 */

.menuButton {
  display: block;
  background: none;
  color: inherit;
  border: none;
  padding: 10px;
  font: inherit;
  cursor: pointer;
  outline: inherit;
}
#nav-icon {
  display: block;
  width: 30px;
  height: 30px;
  position: relative;
  margin: 5px 5px -5px 5px;
  -webkit-transform: rotate(0deg);
  -moz-transform: rotate(0deg);
  -o-transform: rotate(0deg);
  transform: rotate(0deg);
  -webkit-transition: .5s ease-in-out;
  -moz-transition: .5s ease-in-out;
  -o-transition: .5s ease-in-out;
  transition: .5s ease-in-out;
  cursor: pointer;
}

#nav-icon span {
  display: block;
  position: absolute;
  height: 4px;
  width: 100%;
  background: black;
  opacity: 1;
  left: 0;
  -webkit-transform: rotate(0deg);
  -moz-transform: rotate(0deg);
  -o-transform: rotate(0deg);
  transform: rotate(0deg);
  -webkit-transition: .25s ease-in-out;
  -moz-transition: .25s ease-in-out;
  -o-transition: .25s ease-in-out;
  transition: .25s ease-in-out;
}

#nav-icon span:nth-child(1) {
  top: 0px;
}

#nav-icon span:nth-child(2),#nav-icon span:nth-child(3) {
  top: 10px;
}

#nav-icon span:nth-child(4) {
  top: 20px;
}

#nav-icon.open span:nth-child(1) {
  top: 10px;
  width: 0%;
  left: 50%;
}

#nav-icon.open span:nth-child(2) {
  -webkit-transform: rotate(45deg);
  -moz-transform: rotate(45deg);
  -o-transform: rotate(45deg);
  transform: rotate(45deg);
}

#nav-icon.open span:nth-child(3) {
  -webkit-transform: rotate(-45deg);
  -moz-transform: rotate(-45deg);
  -o-transform: rotate(-45deg);
  transform: rotate(-45deg);
}

#nav-icon.open span:nth-child(4) {
  top: 10px;
  width: 0%;
  left: 50%;
}

#wrapper700 {min-width: revert;}
#wrapper750 {min-width: revert;}
#wrapper800 {min-width: revert;}
#wrapper850 {min-width: revert;}





#right .topdiv {height: revert;}
div.topdiv {height: revert;}
div.toptitle {position: revert;transform: revert;max-height: revert;word-wrap: break-word;}

div.pathtop {float:revert;margin:2em 0 0 0;}
#pagelocation {float:revert;margin-top:1em;font-size:10px;}




/* IMAGES */

.imgborder {width:100px;height:100px;margin:10px 5px 0 0;}
.imgborder img {max-width:90px;max-height:90px;}





/*
Таблицы
 */
 
table {display: block !important;overflow-x: auto !important;}
table tbody, table thead, table tfoot {width: 100% !important;}
.fg-toolbar {display: flex;flex-direction: column;}
.ui-state-default {width: revert!important;}





/*BLOCKQUOTE*/

blockquote {padding:0.8em 2em 1em 2em;font-family:'Open Sans';font-weight:normal;font-style:normal;color:#5b5b5b;font-size:0.8em;border-left:solid 3px#f6ee9e;-moz-box-shadow:0 0 0 rgba(0,0,0,0.2);-webkit-box-shadow:0 0 0 rgba(0,0,0,0.2);box-shadow:0 0 0 rgba(0,0,0,0.2);}





/*
Релизы
 */
 
table.release {white-space: normal !important;}
.release_y {display: block;padding: revert;margin: revert;min-height: revert;}
.release_y * {float: revert;}
.release_y .cover {display: flex;width: 100%;justify-content: center;float: revert;margin: revert;}
.release_y .content {float: revert;width: revert;margin-left: revert;}.release_y {display: block;padding: revert;margin: revert;min-height: revert;}
.release_n * {float: revert;}
.release_n .cover {display: flex;width: 100%;justify-content: center;float: revert;margin: revert;}
.release_n .content {float: revert;width:revert;margin-left:revert;}

div.relinfo td.track_artists, div.relinfocom td.track_artists {width:auto;}
div.relinfo td.track_pos {padding-right:10px;font-size:0.7em;font-weight:400;}
div.relinfo td.track_duration {padding-left:12px;}






/*
Live
 */
 
 .live_n {margin:1em 0 2em 0;}
 
.livecover{display:none}

table.live {}
.live td {}
.live .bold {}
.live strong {}





/*
Статьи
 */

table.article {white-space:normal!important;}
.article td {font-size:14px;}
.article td:first-child {color:#aaaaaa;white-space:nowrap;padding-right:10px;font-variation-settings:'wdth' 95;}
.artcover_y {display:block;padding:revert;margin:revert;min-height:revert;margin-bottom:1.2em;}
.artcover_n {display:block;padding:revert;margin:revert;min-height:revert;margin-bottom:1.2em;}
.artcover_y * {float:revert;}
.artcover_n * {float:revert;}
.artcover_y .cover {display:flex;width:100%;justify-content:center;float:revert;margin:revert;}
.artcover_n .cover {float:revert;margin:revert;}
.artcover_n .content {float:revert;width:revert;margin-left:revert;white-space:normal;}
.artcover_y .content {float:revert;width:revert;margin-left:revert;}


/*
Статьи по изданиям
 */
#rightwide {margin: revert;float: revert;padding: 10px;}

div.pathbottom {padding: revert;float:revert;padding: 2em 0 0 0;}
div.artblockfirst {display:none;}
div.arttitle {width:auto;float:none;}
div.artcontent {margin-left:0;padding:0 1em 1em 1em;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}


/*
Новости
 */
 
div.ndate, div.ncontent {float: revert;margin: revert;}
.imgleft {max-width: 80%;float: revert;display: block;}
p {overflow-wrap: break-word !important;}


/*
----------------------------------------------------------------------------------------------------
[2.3.4 Evolution]
----------------------------------------------------------------------------------------------------
*/

.toc{border:1px solid #ddd;float:none;padding:1em 1em 1em 2em;margin:2em 0 2em 0;background-color:#fff;min-width:85%;width:auto;font-size:94%;}
.shadow {-moz-box-shadow:0 3px 5px rgba(0,0,0,0.4);-webkit-box-shadow:0 3px 5px rgba(0,0,0,0.4);box-shadow:0 3px 5px rgba(0,0,0,0.4);}

div.poemblock {margin:0;padding:0;line-height:1.4em;}
div.poemblockind {float:none;color:#aaa;font-size:0.8em;width:auto;padding:1.5em 1em 0 0;}
div.poemblockcont {margin-left:0;}
div.poemblock50px {margin:0;padding:0;line-height:1.4em;}
div.poemblockind50px {float:none;color:#aaa;font-size:0.8em;width:auto;padding:0 1em 0 0;}
div.poemblockcont50px {margin-left:50px;}
