-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle2.css
More file actions
144 lines (144 loc) · 3 KB
/
style2.css
File metadata and controls
144 lines (144 loc) · 3 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
144
html {
height: 100%;
background-image: url(background.jpg);
background-repeat: no-repeat;
background-position: center center;
background-attachment: fixed;
-webkit-background-size: cover;
-moz-background-size: cover;
-o-background-size: cover;
background-size: cover;
}
body {
margin: 0;
font-size: 20px;
font-family: Impact, Haettenschweiler, 'Arial Narrow Bold', sans-serif;
background-image: url(sources/backside.jpg);
height: 100%;
display: grid;
grid-gap: 10px;
grid-template-columns: 250px 0.5fr 200px;
grid-template-rows: 90px 0.4fr 0.2fr;
grid-template-areas:
"header header header"
"aside1 main aside2"
"footer footer footer";
justify-content: center;
}
ul {
list-style-type: none;
}
h2 {
font-family: 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
font-size: 25px;
color: #A1FAF6;
}
h3 {
font-family: 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
font-size: 23px;
color: #A1FAF6;
padding-left: 20px;
}
header {
grid-area: header;
background-color: CornflowerBlue;
margin-top: 15px;
display: flex;
border-radius: 10px;
}
header div.photo {
width: 100px;
margin-right: 0;
margin-left: 10px;
flex-grow: 0;
align-self: center;
}
header div.info {
width: 1fr;
margin-right: auto;
margin-left: auto;
align-self: center;
text-align: center;
}
aside {
background-color: SteelBlue;
border-radius: 10px;
}
aside.left-side{
grid-area: aside1;
display: flex;
flex-direction: column;
align-items: center;
padding: auto;
}
.left-side div.photo{
margin: auto;
border-radius: 15px;
border: 3px #4676D7 solid;
}
.left-side p.text{
text-align: center;
}
.left-side p.homeland{
display: block;
text-align: center;
}
main{
grid-area: main;
background-color: SkyBlue;
border-radius: 10px;
}
ul.list-grid {
display:block;
padding-top: 30px;
margin-left: auto;
margin-right: 40px;
width: 600px;
}
aside.right-side {
grid-area: aside2;
}
.right-side{
display: flex;
flex-direction: column;
align-items: center;
}
.menu{
text-align: center;
}
button.menu {
font-size: 25px;
font-weight: bold;
margin: 10px;
padding: 7px;
appearance: none;
border: 0;
border-radius: 10px;
background: steelblue;
color: #2BABCB;
}
footer {
grid-area: footer;
background-image: url(https://sopranoclub.ru/images/70-fonov-sinego-tsveta/file44985.png);
border-radius: 10px;
}
button.menu a:hover {
color: cornflowerblue;
border: 1px #67DFDF solid;
background-color: beige;
border-radius: 4px;
}
li.contact a:hover {
color:cornflowerblue;
border: 1px #67DFDF solid;
background-color: beige;
border-radius: 4px;
}
button.menu a {
color: cyan;
text-decoration: none;
}
li.contact a {
color: cyan;
text-decoration: none;
}