-
Notifications
You must be signed in to change notification settings - Fork 5
Expand file tree
/
Copy pathstyle.js
More file actions
135 lines (114 loc) · 2.2 KB
/
style.js
File metadata and controls
135 lines (114 loc) · 2.2 KB
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
122
123
124
125
126
127
128
129
130
131
132
133
134
135
import styled from 'styled-components'
import { Link } from 'react-router'
export const Container = styled.div`
border-top: 1px solid #979797;
padding: 48px 0;
@media (max-width: 768px) {
border: 0;
padding: 0;
}
@media (max-width: 414px) {
padding: 0 5px;
}
`
export const BlogItem = styled.div`
padding-top: 28px;
`
export const Title = styled.div`
color: #2d1454;
font-size: 24px;
line-height: 31px;
font-weight: bold;
text-transform: uppercase;
`
export const ItemDate = styled.span`
font-size: 14px;
line-height: 18px;
color: #7d8080;
display: block;
padding-bottom: 8px;
`
export const ItemTitle = styled.span`
font-size: 32px;
line-height: 40px;
color: #3a3b3b;
display: block;
padding-bottom: 8px;
`
export const ItemDesc = styled.span`
font-size: 14px;
line-height: 24px;
color: #575959;
`
export const ViewMore = styled(Link)`
display: inline-block;
font-size: 14px;
color: #000;
line-height: 17px;
margin-left: 5px;
margin-right: 3px;
border: 0;
background: transparent;
position: relative;
padding-right: 20px;
:before,
:after {
border-right: 2px solid;
content: '';
display: block;
height: 8px;
margin-top: -6px;
position: absolute;
transform: rotate(135deg);
right: 10px;
top: 50%;
width: 0;
}
:after {
margin-top: -1px;
transform: rotate(45deg);
}
&:hover {
border-bottom: none;
}
`
export const Authors = styled.div`
flex-direction: row;
display: flex;
flex-wrap: wrap;
> a {
flex-basis: 40%;
padding-top: 16px;
margin-right: 10%;
}
@media (max-width: 414px) {
flex-direction: column;
> a {
flex-basis: 100%;
margin-right: 0px;
}
}
`
export const Author = styled.div`
display: flex;
flex-wrap: nowrap;
align-items: center;
`
export const Avatar = styled.img`
border-radius: 50%;
width: 60px;
height: 60px;
padding: 4px;
background-color: #ffffff;
border: 1px solid #dddddd !important;
`
export const Details = styled.div`
display: flex;
flex-direction: column;
padding-left: 12px;
`
export const Name = styled.span``
export const Contribution = styled.span`
font-size: 90%;
color: #7d8080;
`