forked from kontur-web-courses/article-markup
-
Notifications
You must be signed in to change notification settings - Fork 0
/
styles.css
83 lines (75 loc) · 1.86 KB
/
styles.css
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
/* Тут пиши основные стили */
.main-content {
margin-left: 359px;
margin-right: 362px
}
nav img{
width: 97px;
margin: 10px auto 10px 38px;
}
li{
font-family:LucidaGrande;
font-size:24px;
color:#333333;
text-align:left;
line-height:36px;
margin-left: 30px;
display: inline;
}
.blog{
color: red;
}
h1 {
font-family: "Lucida Grande", "Lucida Sans Unicode", "Lucida Sans", Geneva, Arial, sans-serif;
font-size:42px;
color:rgba(0,0,0,0.84);
text-align:left;
line-height:44px;
}
h2 {
font-family: "Lucida Grande", "Lucida Sans Unicode", "Lucida Sans", Geneva, Arial, sans-serif;
font-size:34px;
color:rgba(0,0,0,0.84);
text-align:left;
line-height:39px;
}
p {
font-family: Georgia, Cambria, "Times New Roman", Times, serif;
font-size:21px;
color:rgba(0,0,0,0.84);
text-align:left;
line-height:33px;
}
.code {
font-family: "Courier New", monospace;
}
@media (max-width: 800px) {
/* Тут пиши стили для мобилки.
Стили применятся только когда страничка будет ≤800px шириной
*/
.main-content {
margin-left: 10%;
margin-right: 10%;
}
h1{
font-family:"Lucida Grande", "Lucida Sans Unicode", "Lucida Sans", Geneva, Arial, sans-serif;
font-size:26px;
color:rgba(0,0,0,0.84);
text-align:left;
line-height:28px;
}
h2{
font-family:"Lucida Grande", "Lucida Sans Unicode", "Lucida Sans", Geneva, Arial, sans-serif;
font-size:22px;
color:rgba(0,0,0,0.84);
text-align:left;
line-height:39px;
}
p{
font-family:Georgia, Cambria, "Times New Roman", Times, serif;
font-size:18px;
color:rgba(0,0,0,0.84);
text-align:left;
line-height:22px;
}
}