-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathstyle.css
82 lines (79 loc) · 2.13 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
body {
margin: 0; }
header {
max-width: 100vw;
position: relative;
background: url(https://source.unsplash.com/1600x900/?people);
background-size: cover;
padding-top: 45%; }
header .page-info {
position: absolute;
left: 50%;
top: 75%;
transform: translateX(-50%);
background: white;
border-radius: 1rem;
padding: 3rem 3rem 1rem;
width: 70%;
box-shadow: 4px 4px 10px #001900; }
header .page-info h1 {
font-size: 3rem;
margin: 0; }
header .page-info h2 {
color: #a6a6a6;
font-size: 1.25rem; }
header .page-info .author-container {
display: flex;
border-top: 1px solid #838383;
padding-top: 1rem; }
header .page-info .author-container img {
height: 4rem;
border-radius: 50%; }
header .page-info .author-container .name-time {
margin: auto auto auto 1rem; }
header .page-info .author-container .name-time h3 {
margin: 0; }
header .page-info .author-container .name-time time {
color: #a6a6a6; }
header .page-info .author-container .tag {
margin: auto 0; }
header .page-info .author-container .tag a {
text-decoration: none;
font-size: 1.1rem;
color: white;
background: cadetblue;
padding: 0.5rem 1rem;
border-radius: 2rem;
margin: auto; }
main {
font-size: 1.2rem;
max-width: 70%;
margin: 12rem auto 0; }
main article {
border-bottom: 1px solid #a6a6a6; }
main .share-buttons {
width: max-content;
margin: 2rem auto; }
main .share-buttons a {
text-decoration: none;
color: #fdc500;
margin: 1rem;
position: relative; }
main .share-buttons a::before {
content: '';
position: absolute;
background: darkblue;
width: 3rem;
height: 3rem;
display: inline-block;
border-radius: 50%;
top: 0;
left: 0;
z-index: -1;
transform: translate(-32%, -32%); }
footer {
color: white;
background: black;
padding: 1rem; }
footer .footer-content-container {
text-align: center; }