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 images/gray.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/logo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/uxui.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
141 changes: 141 additions & 0 deletions index.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,141 @@
main
{
font-size: 13px;
text-align: justify;
-webkit-column-width: 300px;
-moz-column-width: 300px;
column-width: 300px;
-webkit-column-count: 3;
-moz-column-count: 3;
column-count: 3;
-webkit-column-gap: 30px;
-moz-column-gap: 30px;
column-gap: 30px;
column-rule: 2px solid black;
display: inline-block;
white-space: normal;
}

.news-header
{
font-size: 80px;
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

❗️ font-size и font-family можно объединить в одно правило font

text-align: left;
text-transform: uppercase;
font-family: 'Ultra', serif;
}

.news-header-small
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

❗️ Использование h1-h6 позволит избавиться от этих лишних классов

{
padding-top: 20px;
font-size: 30px;
text-align: left;
letter-spacing: 14px;
font-family: 'Oranienbaum', serif;
}

IMG.fig
{
float: left;
padding: 15px;
}

hr.main
{
border: none;
background-color: black;
color: black;
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

❗️ color можно не прописывать, поскольку текста в нем все равно нет)

height: 20px;
}

hr.secondary
{
border: none;
background-color: grey;
color: grey;
height: 3px;
}

.article-header
{
font-family: 'Playfair Display SC', serif;
font-size: 20px;
text-align: center;
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

❗️ Это правило не работает для второго заголовка
image

font-weight: bold;
text-transform: uppercase;
display: inline-block;
padding: 1%;
}

article
{
font-family: 'Roboto Slab', serif;
-webkit-column-width: 100px;
-moz-column-width: 100px;
column-width: 100px;
-webkit-column-count: 2;
-moz-column-count: 2;
column-count: 2;
-webkit-column-gap: 30px;
-moz-column-gap: 30px;
column-gap: 30px;
display: inline-block;
text-indent: 1.5em;
}

article:first-letter
{
font-family: 'Playfair Display SC', serif;
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

❗️ Все 3 правила объединяются в правило font

font-size: 60px;
font-weight: bold;
}

.footnote
{
background: #696969;
color: white;
display: inline-block;
float: right;
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

❗️ Зачем совмещать здесь разные способы построения колонок? Давай обойдемся здесь без float

padding-left: 7%;
padding-right: 7%;
font-size: 15px;
font-family: 'Oranienbaum', serif;
}

.block-1
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

❗️ По названию непонятно, чем хорош этот блок-1

{
margin-top: 5px;
padding: 5px;
width: 180px;
border: 7px double black;
font-size: 15px;
display: inline-block;
}

.block-2
{
margin-top: 5px;
padding: 5px;
width: 390px;
font-size: 17px;
border: 5px ridge darkgrey;
float: right;
text-align: justify;
margin-right: 10px;
font-family: 'Oranienbaum', serif;
}

aside
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

❗️ В html у тебя же нет aside?

{
float: right;
display: inline;
-webkit-column-count: 2;
-moz-column-count: 2;
column-count: 2;
}

li
{
font-weight: bold;
font-size: 17px;
}

Loading