File tree Expand file tree Collapse file tree 1 file changed +91
-0
lines changed
Expand file tree Collapse file tree 1 file changed +91
-0
lines changed Original file line number Diff line number Diff line change @@ -49,6 +49,97 @@ $preview-height: 150px;
4949 }
5050}
5151
52+ .post {
53+ background-color : white ;
54+
55+ padding-top : 10px ;
56+ padding-bottom : 20px ;
57+ padding-left : 30px ;
58+ padding-right : 30px ;
59+ border-radius : 20px ;
60+
61+ * {
62+ color : black ;
63+ }
64+
65+ a {
66+ color : #9d68dc ;
67+ }
68+
69+ .post-title ,
70+ .post-date {
71+ margin : 0.1em 1ch 0.1em 0px ;
72+ display : inline ;
73+ }
74+
75+ .post-image {
76+ width : 100% ;
77+ height : auto ;
78+ }
79+
80+ /*
81+ * TODO: this would be nice to have as part of main.scss so that tables can
82+ * appear in textpages as well.
83+ */
84+ table {
85+ border-collapse : collapse ;
86+
87+ td ,
88+ th {
89+ border : 1px solid black ;
90+ padding : 0.4em ;
91+ }
92+
93+ thead {
94+ tr {
95+ background-color : rgba (0 , 0 , 0 , 0.1 );
96+ border-bottom : 2px solid black ;
97+ }
98+ }
99+
100+ tbody {
101+ tr :nth-child (even ) {
102+ background-color : rgba (0 , 0 , 0 , 0.1 );
103+ }
104+ tr :nth-child (odd ) {
105+ background-color : rgba (0 , 0 , 0 , 0.05 );
106+ }
107+ }
108+ }
109+
110+ .post-quote {
111+ display : flex ;
112+ border : solid 2px black ;
113+ border-radius : 20px ;
114+ padding-top : 10px ;
115+ padding-bottom : 0px ;
116+ padding-left : 15px ;
117+ padding-right : 20px ;
118+ margin-top : 10px ;
119+ margin-bottom : 10px ;
120+
121+ .post-quote-thumbnail {
122+ width : $preview-height ;
123+ height : $preview-height ;
124+ margin-right : 15px ;
125+ margin-bottom : 10px ;
126+ border-radius : 10px ;
127+ flex : 0 0 auto ;
128+ object-fit : cover ;
129+ }
130+ .post-quote-title {
131+ margin-top : 0.5em ;
132+ margin-bottom : 0.5em ;
133+ }
134+ .post-quote-subtitle {
135+ margin-top : 0.5em ;
136+ margin-bottom : 0.5em ;
137+ }
138+ .post-quote-excerpt {
139+ }
140+ }
141+ }
142+
52143.post-header {
53144 width : 100% ;
54145 height : auto ;
You can’t perform that action at this time.
0 commit comments