-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
75 lines (72 loc) · 1.14 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
html {
padding: 0;
background: #000000;
color: #ffffff;
font-family: Consolas, monospace;
}
body {
margin: 0;
}
h1 {
padding-left: 20px;
}
a {
color: #2080ff;
text-decoration: none;
}
.section {
overflow: hidden;
height: 200px;
transition: 0.2s;
}
.section img {
height: 200px;
transition: 0.2s;
}
.section .description {
max-width: min(60%, calc(100% - 500px));
}
.section .description h2 {
display: inline-block;
}
.section .description p {
margin: 0;
}
.section .description a img {
height: 1em;
display: inline;
transform: translateY(3px);
}
.section:hover {
height: 240px;
}
.section:hover img {
height: 240px;
}
.right {
text-align: right;
padding-right: 20px;
background: #101010;
}
.right img {
float: left;
}
.right .description {
float: right;
}
.right .description a img {
margin-right: 5px;
}
.left {
text-align: left;
padding-left: 20px;
}
.left img {
float: right;
}
.left .description {
float: left;
}
.left .description a img {
margin-left: 5px;
}