-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
121 lines (101 loc) · 2.28 KB
/
style.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
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
body {
font-family: 'Roboto', sans-serif;
font-size: 16px;
color: #333;
}
span{
font-size: 14px;
color: #000;
transition: 0.3s;
}
img{
width: 70px;
border-radius: 35px;
margin: 10px 15px 0 0;
}
table {
margin: 0;
float: right;
}
table tr td:first-child {
padding-right: 5px;
}
a {
text-decoration: none;
color: #000;
font-weight: bold;
transition: 0.3s;
}
a:hover {
color: #1A6DBB;
transition: 0.3s;
}
::-moz-selection {
color: white;
background: #1A6DBB;
}
::selection {
color: white;
background: #1A6DBB;
}
.content {
max-width: 70%;
margin: 0 auto;
}
.intro {
margin: 150px 0 90px 0;
text-align: center;
}
.intro span {
margin-bottom: 10px;
font-size: 22px;
line-height: 40px;
}
.intro span.highlight {
background-color: #333;
color: white;
}
.intro span.highlight-red {
background-color: darkred;
color: white;
transition: 0.3s;
}
.intro span.highlight-red:hover {
background-color: red;
color: white;
transition: 0.3s;
}
.hovergallery img{
-webkit-transform:scale(0.9); /*Webkit: уменьшаем размер до 0.8*/
-moz-transform:scale(0.9); /*Mozilla: масштабирование*/
-o-transform:scale(0.9); /*Opera: масштабирование*/
-webkit-transition-duration: 0.5s; /*Webkit: длительность анимации*/
-moz-transition-duration: 0.5s; /*Mozilla: длительность анимации*/
-o-transition-duration: 0.5s; /*Opera: длительность анимации*/
opacity: 0.9; /*Начальная прозрачность изображений*/
margin: 0 20px 10px 0; /*Интервалы между изображениями*/
}
.hovergallery img:hover{
-webkit-transform:scale(2); /*Webkit: увеличиваем размер до 2x*/
-moz-transform:scale(2); /*Mozilla: масштабирование*/
-o-transform:scale(2); /*Opera: масштабирование*/
box-shadow:0px 0px 30px gray; /*CSS3 тени: 30px размытая тень вокруг всего изображения*/
-webkit-box-shadow:0px 0px 30px gray; /*Webkit: тени*/
-moz-box-shadow:0px 0px 30px gray; /*Mozilla: тени*/
opacity: 1;
}
@media (max-width: 360px) {
.intro {
margin: 50px 0 50px 0;
}
.intro span {
font-size: 18px;
line-height: 28px;
}
img{
display: none;
}
table {
float: none;
}
}