-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
executable file
·108 lines (95 loc) · 1.66 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
html,
body {
height: 100%;
margin: 0;
padding: 0;
font-size: 14px;
font-family: Verdana, Geneva, sans-serif;
overflow: hidden;
}
.logotype {
display: flex;
align-items: center;
justify-content: center;
height: 100%;
opacity: 0.1;
position: fixed;
top: 0;
left: 0;
width: 100vw;
height: 100vh;
padding: 2rem;
box-sizing: border-box;
}
.logotype img {
max-width: 100%;
height: auto;
}
.projects {
width: 100vw;
padding: 2rem;
box-sizing: border-box;
display: flex;
flex-wrap: wrap;
justify-content: space-between;
height: calc(100vh - 70px);
overflow: auto;
}
.projects li {
width: 21%;
flex-basis: 21%;
display: block;
border: 1px solid #ccc;
box-shadow: 1px 1px 10px rgba(0, 0, 0, 0.4);
margin: 2rem 0;
padding: 10px 15px;
box-sizing: border-box;
z-index: 10;
position: relative;
background: #fff;
}
.projects li .title {
font-size: 1.2rem;
font-weight: 600;
text-align: center;
display: block;
color: #000;
text-decoration: none;
margin-bottom: 10px;
font-family: "Pacifico", cursive;
}
.icon {
background: url("./images/social_sprite.png") no-repeat;
background-size: 140px;
width: 40px;
height: 40px;
display: block;
position: absolute;
bottom: 0;
right: 0;
z-index: -1;
}
.icon-telegram {
background-position: -50px -50px;
}
.icon-youtube {
background-position: -50px 0px;
}
.icon-soundcloud {
background-position: -3px -50px;
}
.icon-facebook {
background-position: -3px -3px;
}
.icon-twitter {
background-position: -97px 0;
}
.copyright {
text-align: center;
}
@media screen and (max-width: 768px) {
.projects li {
width: 45%;
flex-basis: 45%;
}
}