mirror of
https://codeberg.org/rimu/pyfedi
synced 2025-01-23 19:36:56 -08:00
inital work on card style
This commit is contained in:
parent
465790ed41
commit
7d8abd0b80
2 changed files with 43 additions and 0 deletions
3
app/templates/themes/card_shadow/card_shadow.json
Normal file
3
app/templates/themes/card_shadow/card_shadow.json
Normal file
|
@ -0,0 +1,3 @@
|
|||
{
|
||||
"name": "Card Shadow"
|
||||
}
|
40
app/templates/themes/card_shadow/styles.css
Normal file
40
app/templates/themes/card_shadow/styles.css
Normal file
|
@ -0,0 +1,40 @@
|
|||
|
||||
.post_list .post_teaser h3 {
|
||||
font-size: 14px;
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
.post_body a, .comment_body a {
|
||||
text-decoration: underline;
|
||||
}
|
||||
|
||||
.post_list .post_teaser {
|
||||
/* top right bottom left*/
|
||||
margin: 10px 5px 5px 5px;
|
||||
/* top right bottom left*/
|
||||
padding: 5px 5px 5px 5px;
|
||||
/* box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2); */
|
||||
box-shadow: 0 4px 8px 0 rgba(0,123,255,0.2);
|
||||
transition: 0.3s;
|
||||
/* border: solid 1px rgba(0,0,0,0.2); */
|
||||
border-left: solid 2px rgba(0,0,0,0.2);
|
||||
border-bottom: solid 2px rgba(0,0,0,0.2);
|
||||
border-right: solid 1px rgba(0,0,0,0.2);
|
||||
border-radius: 5px; /* 5px rounded corners */
|
||||
}
|
||||
|
||||
[data-bs-theme="dark"] .post_list .post_teaser {
|
||||
/* top right bottom left*/
|
||||
margin: 10px 5px 5px 5px;
|
||||
/* top right bottom left*/
|
||||
padding: 5px 5px 5px 5px;
|
||||
box-shadow: 0 4px 8px 0 rgba(0,123,255,0.2);
|
||||
/* box-shadow: 0 4px 8px 0 #007bff; */
|
||||
transition: 0.3s;
|
||||
/* border: solid 1px rgba(0,123,255,0.2); */
|
||||
border-left: solid 2px rgba(0,123,255,0.2);
|
||||
border-bottom: solid 2px rgba(0,123,255,0.2);
|
||||
border-right: solid 1px rgba(0,123,255,0.2);
|
||||
border-radius: 5px; /* 5px rounded corners */
|
||||
|
||||
}
|
Loading…
Add table
Reference in a new issue