jekyll-theme-fibonacci 0.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,146 @@
1
+ main {
2
+ &.post-detail {
3
+ article {
4
+ .title-and-meta {
5
+ h1 {
6
+ margin-bottom: $lg-size;
7
+ text-align: center;
8
+ }
9
+
10
+ .post-meta {
11
+ position: relative;
12
+ margin: auto;
13
+ width: fit-content;
14
+ margin-bottom: 1em;
15
+
16
+ @media only screen and (min-width: 1100px) {
17
+ .author {
18
+ top: -6rem;
19
+ }
20
+ }
21
+ }
22
+
23
+ @media only screen and (min-width: $breakpoint1) {
24
+ top: -1.8rem;
25
+ }
26
+ }
27
+ }
28
+
29
+ // https://css-tricks.com/examples/hrs/
30
+ hr {
31
+ overflow: visible; /* For IE */
32
+ padding: 0;
33
+ border: none;
34
+ border-top: medium double $body-color;
35
+ color: $body-color;
36
+ text-align: center;
37
+ margin-top: $xl-size;
38
+ margin-bottom: $xl-size;
39
+ }
40
+
41
+ hr:after {
42
+ content: "§";
43
+ display: inline-block;
44
+ position: relative;
45
+ top: -0.7em;
46
+ font-size: 1.5em;
47
+ padding: 0 0.25em;
48
+ background: white;
49
+ }
50
+
51
+ .related-posts {
52
+ margin-bottom: $xl-size;
53
+
54
+ h3 {
55
+ margin-left: 0.5rem;
56
+ }
57
+
58
+ ul {
59
+ list-style: none;
60
+ margin-top: 1.5rem;
61
+
62
+ li {
63
+ margin-left: 0.5rem;
64
+ margin-bottom: 0.5rem;
65
+ padding: 0;
66
+ }
67
+ }
68
+ }
69
+
70
+ .comments {
71
+ margin-bottom: $xl-size;
72
+
73
+ .user {
74
+ margin-right: 0.5rem;
75
+ display: flex;
76
+ flex-direction: column;
77
+ justify-content: center;
78
+ align-items: center;
79
+
80
+ img {
81
+ border-radius: 50%;
82
+ }
83
+
84
+ span {
85
+ font-family: $heading-font-family;
86
+ text-transform: uppercase;
87
+ letter-spacing: 1px;
88
+ background-color: $dim-gray;
89
+ padding: 1px 5px;
90
+ font-size: 0.58rem;
91
+ border-radius: 3px;
92
+ margin-top: 0.25rem;
93
+ text-align: center;
94
+ }
95
+ }
96
+
97
+ form {
98
+ margin-top: 1.5rem;
99
+
100
+ .new-comment {
101
+ display: flex;
102
+
103
+ .form-control {
104
+ flex: 1;
105
+
106
+ textarea {
107
+ min-height: 75px;
108
+ }
109
+ }
110
+ }
111
+ }
112
+
113
+ .comments-list {
114
+ margin: 1.5rem 0 0 0;
115
+ list-style: none;
116
+ padding: 0;
117
+
118
+ li {
119
+ padding-bottom: 1rem;
120
+
121
+ .comment {
122
+ display: flex;
123
+
124
+ .comment-info {
125
+ .commented-date {
126
+ text-align: right;
127
+ font-family: $heading-font-family;
128
+ text-transform: uppercase;
129
+ letter-spacing: 1px;
130
+ font-size: 0.58rem;
131
+ color: $light-gray;
132
+ }
133
+ }
134
+
135
+ button {
136
+ padding: 0.25rem 0.75rem;
137
+ font-size: 0.58rem;
138
+ background-color: transparent;
139
+ color: $body-color
140
+ }
141
+ }
142
+ }
143
+ }
144
+ }
145
+ }
146
+ }