Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file added base/fonts/TrueGothicCyr.eot
Binary file not shown.
Binary file added base/fonts/TrueGothicCyr.ttf
Binary file not shown.
Binary file added base/fonts/TrueGothicCyr.woff
Binary file not shown.
100 changes: 100 additions & 0 deletions base/index.css
Original file line number Diff line number Diff line change
@@ -1,4 +1,18 @@
/*Ссылка на шрифты кроме основного 'https://fonts.googleapis.com/css?family=Farsan|Hind+Siliguri|Racing+Sans+One|Six+Caps|Space+Mono:700'*/
@import url('https://fonts.googleapis.com/css?family=Farsan|Hind+Siliguri|Racing+Sans+One|Six+Caps|Space+Mono:700');

@font-face {
font-family: 'True Gothic Cyr';
src: url('fonts/TrueGothicCyr.eot');
src: local('True Gothic Cyr'), local('TrueGothicCyr'),
url('fonts/TrueGothicCyr.eot?#iefix') format('embedded-opentype'),
url('fonts/TrueGothicCyr.woff') format('woff'),
url('fonts/TrueGothicCyr.ttf') format('truetype');
font-weight: normal;
font-style: normal;
}


body
{
width: 1200px;
Expand Down Expand Up @@ -28,6 +42,7 @@ body
padding: 25px 10px;

border: 1px solid;
text-align: center;
}

.header__weather
Expand All @@ -40,18 +55,30 @@ body
.header__weather-title
{
margin: 0;
font-family: 'Space Mono', monospace;
font-weight: 700;
font-size: 117%;
text-align: center;
}

.header__weather-text
{
margin: 0;
text-align: justify;
font-size: 80%;
line-height: 110%;
}

.header__title
{
overflow: visible;

margin: 0;
font-family: 'True Gothic Cyr', serif;
float: left;
font-size: 570%;
padding-left: 15px;

}


Expand All @@ -69,6 +96,7 @@ body
display: inline-block;

margin: 0 30px;
font-size: 60%;
}

.sub-header__price
Expand All @@ -81,13 +109,17 @@ body
.content
{
display: flex;

}

/*––––––––––––––––––Блок статьи–––––––––––––––––––––*/
.article__title
{
margin-top: 0;
margin-bottom: 10px;
font-family: 'Six Caps', sans-serif;
font-size: 320%;
font-weight: bold;
}

.article__help
Expand All @@ -101,18 +133,35 @@ body
{
margin-top: 10px;
margin-bottom: 4px;
text-align: justify;
text-indent: 2em;
font-size: 80%;
font-style: oblique;
}

.article__author
{
display: block;

margin-top: 10px;
font-weight: bold;
font-size: 80%;
text-align: center;
}

.article__content {
text-align: justify;
text-indent: 2em;
font-size: 80%;

}

.article__continue
{
display: block;
font-size: 80%;
font-style: oblique;
text-align: center;
}

.article__image
Expand All @@ -121,6 +170,11 @@ body
text-indent: 0;
}

.article__image-caption {
font-size: 0.8rem;
text-decoration: underline;
}

.article__image.article__image_align_right
{
float: right;
Expand All @@ -131,6 +185,22 @@ body
.article__subtitle
{
margin: 10px 0;
font-family: 'Times New Roman', serif;
text-align: center;
font-size: 117%;
font-weight: bold;
}

.article__title_font_racing {
font-family: 'Racing Sans One', cursive;
font-size: 200%;
font-weight: bold;
}

.article__title_font_farsan {
font-family: 'Farsan', cursive;
font-size: 230%;
font-weight: bold;
}

/*––––––––––––––––––Блок главной фотографии–––––––––*/
Expand All @@ -152,6 +222,13 @@ body
.main-photo__desc
{
margin-bottom: 20px;
font-size: 80%;
}

.main-photo__caption {
font-size: 0.7rem;
text-transform: uppercase;
text-align: right;
}

/*––––––––––––––––––Линия разделения––––––––––––––––*/
Expand Down Expand Up @@ -222,6 +299,29 @@ body
flex-grow: 2;
}

.multicolumn .article__content {
-webkit-column-count: 2;
-webkit-column-gap: 15px;
-moz-column-count: 2;
-moz-column-gap: 15px;
column-count: 2;
column-gap: 15px;


}

.multicolumn .article__author {
-webkit-column-span: all;
-moz-column-span: all;
column-span: all;
}

.multicolumn .article__continue {
-webkit-column-span: all;
-moz-column-span: all;
column-span: all;
}

/*––––––––––––––––––Второстепенные колонки газеты––––––––––––––––––*/
.left-column
{
Expand Down