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/CloisterBlack.ttf
Binary file not shown.
Binary file added base/fonts/TimesNewRoman.ttf
Binary file not shown.
103 changes: 99 additions & 4 deletions base/index.css
Original file line number Diff line number Diff line change
@@ -1,4 +1,14 @@
/*Ссылка на шрифты кроме основного 'https://fonts.googleapis.com/css?family=Farsan|Hind+Siliguri|Racing+Sans+One|Six+Caps|Space+Mono:700'*/
@font-face {
font-family: 'Cloister Black';
src: url('./fonts/CloisterBlack.ttf');
}

@font-face {
font-family: 'Times New Roman';
src: url('./fonts/TimesNewRoman.ttf');
}

body
{
width: 1200px;
Expand All @@ -22,7 +32,7 @@ body
.header__info
{
float: left;

text-align: center;
box-sizing: border-box;
width: 200px;
padding: 25px 10px;
Expand All @@ -32,25 +42,35 @@ body

.header__weather
{

float: right;

width: 200px;
}

.header__weather-title
{
font-family: 'Space Mono', monospace;
font-weight: bold;
font-size: 1.17em;
margin: 0;
text-align: center;
}

.header__weather-text
{
text-align: justify;
font-size: 0.8em;
line-height: 1.1;
margin: 0;
}

.header__title
{
font-family: 'Cloister Black';
overflow: visible;

text-align: center;
font-size: 85px;
margin: 0;
}

Expand All @@ -67,7 +87,7 @@ body
.sub-header__copyright
{
display: inline-block;

font-size: 0.6em;
margin: 0 30px;
}

Expand All @@ -86,10 +106,27 @@ body
/*––––––––––––––––––Блок статьи–––––––––––––––––––––*/
.article__title
{
font-family: 'Six Caps', sans-serif;
font-weight: bold;
font-size: 3.2em;
margin-top: 0;
margin-bottom: 10px;
}

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

.article__title_font_farsan {
font-family: 'Farsan';
font-style: italic;
font-weight: bold;
font-size: 2.2em;

}

.article__help
{
margin-top: 10px !important;
Expand All @@ -99,19 +136,59 @@ body

.article__add-text
{
text-align: justify;
font-size: 0.8em;
font-style: oblique;
margin-top: 10px;
margin-bottom: 4px;
}

.article__author
{
display: block;

margin-top: 10px;
text-align: center;
font-size: 0.8em;
font-weight: bold;
}
.article__content p {
text-indent: 2ch;
text-align: justify;
font-size: 0.8em;
margin: 0;
}

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

-webkit-column-count: 2;
-webkit-column-gap: 15px;

-moz-column-count: 2;
-moz-column-gap: 15px;

}

.multicolumn .article__author {
column-span: all;

-webkit-column-span: all;
-moz-column-span: all;
}

.multicolumn .article__content span {
column-span: all;

-webkit-column-span: all;
-moz-column-span: all;
}

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

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

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

.article__image.article__image_align_right
{
float: right;
Expand All @@ -130,7 +212,12 @@ body

.article__subtitle
{
font-family: 'Times New Roman', serif;
font-weight: bold;
font-size: 1.17em;
margin: 10px 0;
text-align: center;

}

/*––––––––––––––––––Блок главной фотографии–––––––––*/
Expand All @@ -146,11 +233,19 @@ body

.main-photo__title
{
font-weight: bold;
margin: 0;
}

.main-photo__caption {
text-transform: uppercase;
font-size: 0.8em;
text-align: right;
}

.main-photo__desc
{
font-size: 0.8em;
margin-bottom: 20px;
}

Expand Down
5 changes: 5 additions & 0 deletions base/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,11 @@
<meta charset="UTF-8">
<title>Newspaper</title>
<link rel="stylesheet" href="index.css">
<link href="https://fonts.googleapis.com/css?family=Space+Mono:400,700" rel="stylesheet">
<link href="https://fonts.googleapis.com/css?family=Racing+Sans+One" rel="stylesheet">
<link href="https://fonts.googleapis.com/css?family=Six+Caps" rel="stylesheet">
<link href="https://fonts.googleapis.com/css?family=Farsan" rel="stylesheet">

</head>
<body>
<header class="header clear-fix">
Expand Down