This repository has been archived by the owner on Oct 23, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 2
/
style.css
110 lines (97 loc) · 1.7 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
* {
box-sizing: border-box;
margin: 0;
padding: 0;
max-width: 100%;
}
header {
background-color: #075E54;
width: 100%;
font-size: 18pt;
color: #FFF;
padding: 10pt 8pt;
font-weight: normal;
}
body {
max-width: 100vw;
overflow-x: hidden;
background: #ECE5DD;
font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}
.thumbnail,
p {
display: inline-block;
background: #FFF;
max-width: 60%;
float: left;
clear: both;
margin: 8pt 5pt;
border-radius: 8pt;
}
p {
line-height: 18pt;
font-size: 15pt;
word-wrap: break-word;
padding: 8pt;
float: left;
}
p::before{
content: attr(data-from);
font-size: 12pt;
font-weight: bold;
color: #075E54;
display: block;
line-height: 1;
margin-bottom: 6pt
}
p::after {
content: attr(data-date);
font-size: 13pt;
color: #444;
display: inline-block;
float: right;
word-wrap: break-word;
margin-left: 5pt;
vertical-align: middle;
}
.host {
background-color: #DCF8C6;
float: right!important;
}
.system {
font-size: 12pt;
color: #AAA;
}
.system::after {
color: #AAA;
}
.thumbnail {
display: inline-block;
position: relative;
width: 300pt;
height: 300pt;
border-radius: 5pt;
padding: 8pt;
clear: both;
float: left;
overflow: hidden;
border: 4pt solid #FFF;
background-color: #000;
transition: all .3s ease-in-out .3s;
}
.thumbnail img,
.thumbnail video {
position: absolute;
left: 50%;
top: 50%;
height: 100%;
max-width: auto;
-webkit-transform: translate(-50%,-50%);
-ms-transform: translate(-50%,-50%);
transform: translate(-50%,-50%);
}
.thumbnail:hover {
width: 95%;
max-width: 95%;
height: 90vh;
}