Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Кужелев Евгений #45

Open
wants to merge 23 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from 22 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 cloisterblack-webfont.ttf
Binary file not shown.
Binary file added cloisterblack-webfont.woff
Binary file not shown.
Binary file added cloisterblack-webfont.woff2
Binary file not shown.
Binary file added david_leitch.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
226 changes: 226 additions & 0 deletions index.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,226 @@
@font-face
{
font-family: Cloister Black;
src: local('Cloister Black')
, url(cloisterblack-webfont.woff2) format('woff2')
, url(cloisterblack-webfont.woff) format('woff')
, url(cloisterblack-webfont.ttf) format('truetype');
}

@font-face
{
font-family: Roland;
src: local('Roland')
, url(roland-webfont.woff2) format('woff2')
, url(roland-webfont.woff) format('woff')
, url(roland-webfont.ttf) format('truetype');
}

@font-face
{
font-family: Black Label;
src: local('Black Label')
, url(vtks_black_label_normal-webfont.woff2) format('woff2')
, url(vtks_black_label_normal-webfont.woff) format('woff')
, url(vtks_black_label_normal-webfont.ttf) format('truetype');
}

body,
h1,
h3,
header,
div,
section,
p
{
padding: 0;
margin: 0;
}

html
{
font-size: 16px;
}

body
{
margin: 0 20px 20px;
}

.rate thead
{
text-align: center;
}

.info div,
.info h1
{
display: inline-block;

Choose a reason for hiding this comment

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

Зачем делать info и subinfo - display: inline-block, если визуально они выглядят как блочные и им еще руками приходится задавать ширину?

margin-bottom: 15px;
}

.dateinfo
{
margin-bottom: 15px;
}

.weather
{
width: 20%;
}

.weather h4
{
font: italic 1rem Arial, sans-serif;
}

.weather p
{
font: .8rem Arial, sans-serif;
}

.info h1
{
width: 59%;
font: 5rem Cloister Black, sans-serif;
text-align: center;
}

.rate
{
margin-top: 20px;
width: 20%;
font-size: 1rem;
}

.rate table
{
width: 100%;
border: .2rem solid black;
border-spacing: 0;
}

.rate th
{
border-top: 1px solid black;
border-bottom: 1px solid black;
}

.rate th,
.rate td
{
padding: .2rem;
margin: 0;
border-right: 1px solid black;
}

.date
{
width: 100%;
border-top: 2px solid black;
border-bottom: 2px solid black;
padding: .2rem;
}

.date p
{
text-align: center;
border-top: 2px solid black;
border-bottom: 2px solid black;
text-transform: uppercase;
font-size: 1.3rem;
}

main
{
-webkit-column-count: 3;
-moz-column-count: 3;
column-count: 3;
-webkit-column-rule: 2px solid black;
-moz-column-rule: 2px solid black;
column-rule: 2px solid black;
}

.vertical-text
{
float: left;

Choose a reason for hiding this comment

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

Нельзя

font-size: 1.2rem;
font-family: Times New Roman;
text-align: center;
text-transform: uppercase;
word-wrap: break-word;
width: 1ch;

Choose a reason for hiding this comment

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

Очень редкая единица размера. Может лучше em?

border: 3px solid black;
padding: 5px;
}

.paper
{
-webkit-column-count: 2;
-moz-column-count: 2;
column-count: 2;
margin: 15px 0;
}

.three-columns-text
{
-webkit-column-count: 3;
-moz-column-count: 3;
column-count: 3;
}

.paper h3
{
text-align: center;
font-size: 1.1rem;
}

.paper p
{
font-size: .9rem;
}

.big-text p
{
font-size: 1.1rem;
font-style: oblique;
}

.img-block
{
padding: 4px;
border-top: 2px solid black;
break-inside: avoid-column;
border-bottom: 2px solid black;
margin: 2px 0;
font-family: Black Label, sans-serif;
text-align: center;
}

.img-block img
{
width: 100%;
height: 100%;
}

.img-block p
{
font-size: 1rem;
}

.allcols
{
column-span: all;
}

.paper p:first-of-type:first-letter
{
font-family: Roland, serif;
font-size: 1.5rem;
}

.excrete-name
{
font-size: 1.5rem;
font-family: Cloister Black, serif;
}
Loading