This repository was archived by the owner on Apr 19, 2021. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +27
-22
lines changed Expand file tree Collapse file tree 1 file changed +27
-22
lines changed Original file line number Diff line number Diff line change @@ -45,15 +45,15 @@ interface BlogTemplateProps {
45
45
46
46
const StyledBlogTemplate = styled . div `
47
47
max-width: 80rem;
48
- margin: 12rem auto;
48
+ margin: 8rem auto;
49
49
box-shadow: ${ shadows . light } ;
50
50
51
51
.contents {
52
52
padding: 5rem 3rem;
53
53
}
54
54
55
55
img {
56
- display: inline- block;
56
+ display: block;
57
57
max-width: 100%;
58
58
max-height: 50rem;
59
59
margin-bottom: 2rem;
@@ -63,32 +63,37 @@ const StyledBlogTemplate = styled.div`
63
63
margin: 6rem 0 2.5rem;
64
64
}
65
65
66
- li + li {
66
+ h2 + p {
67
+ margin: 2rem 0;
68
+ }
69
+
70
+ li + li,
71
+ p + p {
67
72
margin-top: 2rem;
68
73
}
69
74
75
+ table {
76
+ font-size: 90%;
77
+ background-color: ${ colors . offWhite } ;
78
+ border: 1px solid rgba(0,0,0, .1);
79
+ border-collapse: collapse;
80
+ overflow-x: scroll;
81
+ box-shadow: ${ shadows . light } ;
82
+ border-radius: 3px;
83
+ }
70
84
71
- table {
72
- font-size: 90%;
73
- background-color: ${ colors . offWhite } ;
74
- border: 1px solid rgba(0,0,0, .1);
75
- border-collapse: collapse;
76
- overflow-x: scroll;
77
- box-shadow: ${ shadows . light } ;
78
- border-radius: 3px;
79
- }
80
- th {
81
- padding: 1rem;
82
- }
83
- td {
84
- text-align: center;
85
- border: 1px solid rgba(0,0,0, .1);
86
- &:last-child {
87
- text-align: left;
88
- padding: 3rem;
85
+ th {
86
+ padding: 1rem;
89
87
}
90
- }
91
88
89
+ td {
90
+ text-align: center;
91
+ border: 1px solid rgba(0,0,0, .1);
92
+ &:last-child {
93
+ text-align: left;
94
+ padding: 3rem;
95
+ }
96
+ }
92
97
`
93
98
94
99
You can’t perform that action at this time.
0 commit comments