body
{
  font-family: "Trebuchet MS", Helvetica, sans-serif;
  background-color: #585858;
  color: LightGray;
  text-align: justify;
  font-size: 120%;
  padding-left: 3%;
  padding-right: 3%;
}

h1
{
  font-family: "Palatino Linotype", "Book Antiqua", Palatino, serif;
  font-size: 140%;
  text-align: left;
  padding: 0.5em 0em;
  text-shadow: 0.1em 0.1em 0.2em #888888;
  color: WhiteSmoke;
}

h2
{
  font-family: "Palatino Linotype", "Book Antiqua", Palatino, serif;
  padding: 0.2em 0.1em;
  font-size: 125%;
  text-align: left;
  text-shadow: 0 0 0.2em #888888;
  color: WhiteSmoke;
}

h3
{
  /*font-family: "Palatino Linotype", "Book Antiqua", Palatino, serif;*/
  font-size: 110%;
  text-align: left;
  color: WhiteSmoke;
}

strong
{
  color: WhiteSmoke;
}

nav::before
{
  content: "Содержание страницы";
  font-weight: bold;
}

.title
{
  background-color: #303030;
  text-align: center;
  padding: 1em 2em;
  font-size: 175%;
}

.author
{
  text-align: left;
  box-shadow: none;
  font-size: 120%;
}

.date
{
  text-align: left;
  font-size: 100%;
}

.nb
{
  background-color: #303030;
  font-size: 95%;
  padding: 0.2em 1.2em;
}

.def
{
  background-color: SlateBlue;
  padding: 0.1em 1.2em;
  border-radius: 0.8em;
}


.formula img
{
  border: 2em solid transparent;
  box-shadow: none;
}


pre
{
  border: 0.15em solid #a2a2a2;
  padding: 0.8em 0.8em;
}

code
{
/* <link rel="stylesheet" type="text/css" href="//fonts.googleapis.com/css?family=Droid+Sans+Mono" /> */
  font-family: "Droid Sans Mono", Monaco, monospace;  
  background-color: #303030; /*transparent;*/
}

blockquote
{
  text-align: right;
  quotes: "«" "»";
  font-style: italic;
}

figure
{
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

figcaption
{
  text-align: center;
}


table
{
  border-collapse: collapse;
  border: 0.15em solid GhostWhite;
  margin-left: auto;
  margin-right: auto;
}

th, td
{
  border: 0.15em solid DarkGrey;
  padding: 0.3em 1em;
  background-color: #303030;
}

table > caption
{
  border: 0.15em solid GhostWhite;
  padding: 0.3em 1em;
  box-shadow: 0 0 0.2em #888888;
  background-color: #303070;
}


img
{
  border: 0.5em solid Gray;
}


a:link
{
  color: MediumTurquoise;
}

a:visited
{
  color: Plum;
}

a:hover
{
  text-shadow: 0 0 0.3em PaleTurquoise;
}

a:active
{
  text-shadow: 0 0 0.3em Plum;
}
