forked from urfu-2017/markup-task-3
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.css
More file actions
143 lines (121 loc) · 2.1 KB
/
index.css
File metadata and controls
143 lines (121 loc) · 2.1 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
@font-face
{
font-family: 'Bikham Cyr Script';
src: url(bikham-cyr-script_[allfont.ru].ttf);
}
@font-face
{
font-family: 'Carolina';
src: url(carolina_[allfont.ru].ttf);
}
@font-face
{
font-family: 'Mon Amour Two Medium';
src: url(mon-amour-two-medium_[allfont.ru].ttf);
}
.newspaper
{
margin: 60px;
border: 2px solid black; /* Параметры рамки */
padding: 20px; /* Поля вокруг текста */
background-color: #eecfb1;
text-align: justify;
position: relative;
}
.newspaper_name
{
font: 48px 'Mon Amour Two Medium';
text-align: center;
text-shadow: 4px 4px 4px #aaa;
}
.newspaper_name::first-letter
{
font-size: 75px;
text-shadow: -4px -4px 4px #f13b3b;
}
h2
{
font-family: 'Carolina';
text-align: center;
font-size: 35px;
}
.advertisement h2
{
font-family: 'Bikham Cyr Script';
font-size: 30px;
text-align: center;
}
.newspaper_release
{
position: absolute;
top: 0;
right: 0;
font-size: 25px;
width: 400px;
}
hr
{
border: none;
background-color: #0a0a0a;
height: 2px;
}
.article_name
{
column-count: 4;
column-gap: 40px;
column-rule: 1.5px solid #070707;
font-family: Arial, Helvetica, sans-serif;
hyphens: manual;
letter-spacing: 1px;
}
article p
{
text-indent: 20px;
}
.pioneers
{
background: #d9dabb;
width: 150px;
}
mark
{
letter-spacing: 10px;
background: #d2e28b;
}
.text_with-border
{
border: 1px solid rgb(36, 34, 34);
padding: 10px;
}
footer
{
font-family: 'Carolina';
text-align: center;
font-size: 30px;
}
input[class='big']:checked ~ .newspaper
{
font-size: 20px;
}
input[class='small']:checked ~ .newspaper
{
font-size: 10px;
}
input[class='courierNew']:checked ~ .newspaper article
{
font-family: 'Courier New';
}
input[class='msSerif']:checked ~ .newspaper article
{
font-family: 'MS Serif';
}
input[class='black']:checked ~ .newspaper
{
color: white;
background-color: black;
}
input[class='white']:checked ~ .newspaper
{
color: black;
background-color: white;
}