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
112 lines (92 loc) · 1.34 KB
/
index.css
File metadata and controls
112 lines (92 loc) · 1.34 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
@import url('https://fonts.googleapis.com/css?family=Fascinate+Inline|IM+Fell+English|Jacques+Francois+Shadow');
html
{
margin: 0;
padding: 0;
position: relative;
background-color: #ffdab9;
}
input[id='small']:checked ~ main section
{
font-size: .8em;
}
input[id='small']:checked ~ main h3
{
font-size: .8em;
}
input[id='big']:checked ~ main section
{
font-size: 1.2em;
}
input[id='big']:checked ~ main h3
{
font-size: 1.2em;
}
input[id='sans']:checked ~ main h3
{
font-family: sans-serif;
}
input[id='sans']:checked ~ main section
{
font-family: sans-serif;
}
input[id='dark']:checked ~ main
{
background-image: url('black_old_paper.jpg');
color: white;
}
main,
section
{
font: 18px IM Fell English, sans-serif;
column-rule: 1px solid #000;
}
section
{
column-count: 2;
}
main
{
background-image: url('old_paper.jpg');
column-count: 3;
}
p:first-of-type::first-letter
{
font: bold 1.5em fantasy;
}
hr
{
column-span: all;
}
p
{
padding: 0;
margin: 0;
text-indent: 5%;
}
.top_head,
.head
{
column-span: all;
text-align: center;
}
.top_head
{
font: 100px Fascinate Inline, serif;
}
.head
{
font: 30px Jacques Francois Shadow, sans-serif;
}
.war,
.subway,
.congress
{
column-span: all;
}
.war img,
.subway img,
.congress img
{
width: 100%;
}