pyfedi/app/templates/themes/card_shadow/styles.css

126 lines
3.9 KiB
CSS
Raw Normal View History

/* shadow for the button groups */
.btn-group {
/* rounded corners */
border-radius: 6px;
/* shadow horizontal-offset vertical-offset blur spread color */
box-shadow: 0 3px 5px 0 rgba(0,0,0,0.2);
transition: 0.3s;
}
/* setting the color for the "selected" button border */
.btn-primary {
/* border */
border: solid 1px rgb(0,123,255,0.2);
}
/* setting the "unselected" button border */
.btn-outline-secondary {
/* border */
border: solid 1px rgb(0,123,255,0.2);
}
/* shadow for the navbar */
.navbar {
/* shadow horizontal-offset vertical-offset blur spread color */
box-shadow: 0 3px 5px 0 rgba(0,0,0,0.2);
transition: 0.3s;
}
2024-08-31 14:26:05 -04:00
/* this is used in the big list of posts to browse */
2024-08-17 16:28:33 -04:00
.post_list .post_teaser {
2024-08-31 14:26:05 -04:00
/* outside space top right bottom left */
2024-08-30 19:14:01 -04:00
margin: 10px 2px 2px 2px;
2024-08-31 14:26:05 -04:00
/* inside space top right bottom left */
2024-08-17 16:28:33 -04:00
padding: 5px 5px 5px 5px;
/* border */
2024-08-30 19:14:01 -04:00
border-top: solid 1px rgb(0,123,255,0.2);
border-right: solid 1px rgba(0,123,255,0.2);
border-bottom: solid 1px rgba(0,123,255,0.2);
2024-08-31 14:26:05 -04:00
border-left: solid 1px rgba(0,123,255,0.2);
2024-08-30 19:14:01 -04:00
/* rounded corners */
2024-08-31 14:26:05 -04:00
border-radius: 5px;
2024-08-30 19:14:01 -04:00
/* shadow horizontal-offset vertical-offset blur spread color */
box-shadow: 0 3px 5px 0 rgba(0,0,0,0.2);
transition: 0.3s;
}
2024-08-31 14:26:05 -04:00
/* "Active Communities", "About PieFed", and "Rational Discourse Kit" use this */
2024-08-30 19:14:01 -04:00
.side_pane .card {
/* border */
/* border-top: solid 1px rgb(0,123,255,0.2); */
border-right: solid 1px rgba(0,123,255,0.2);
border-bottom: solid 1px rgba(0,123,255,0.2);
2024-08-31 14:26:05 -04:00
border-left: solid 1px rgba(0,123,255,0.2);
2024-08-30 19:14:01 -04:00
/* rounded corners */
2024-08-31 14:26:05 -04:00
border-radius: 5px;
2024-08-30 19:14:01 -04:00
/* shadow horizontal-offset vertical-offset blur spread color */
box-shadow: 0 3px 5px 0 rgba(0,0,0,0.2);
transition: 0.3s;
}
2024-08-31 14:26:05 -04:00
/* this adds some pixels to the bottom of the main pane */
/* this is really only needed so the side_pane "Active Communities" */
/* box has a buffer and does not collide with the main_pane */
/* holding the list of posts */
2024-08-30 19:14:01 -04:00
.main_pane {
2024-08-31 14:26:05 -04:00
/* outside space top right bottom left */
2024-08-30 19:14:01 -04:00
margin: 0 0 15px 0;
}
2024-08-31 14:26:05 -04:00
/* all posts except for image posts use this */
2024-08-30 19:14:01 -04:00
.post_type_normal {
/* outside space top right bottom left*/
margin: 0 5px 5px 5px;
/* inside space top right bottom left*/
2024-08-17 16:28:33 -04:00
padding: 5px 5px 5px 5px;
/* border */
2024-08-30 19:14:01 -04:00
border-top: solid 1px rgb(0,123,255,0.2);
2024-08-17 16:28:33 -04:00
border-right: solid 1px rgba(0,123,255,0.2);
2024-08-31 14:26:05 -04:00
border-bottom: solid 1px rgba(0,123,255,0.2);
border-left: solid 1px rgba(0,123,255,0.2);
2024-08-30 19:14:01 -04:00
/* rounded corners */
border-radius: 5px;
/* shadow horizontal-offset vertical-offset blur spread color */
box-shadow: 0 3px 5px 0 rgba(0,0,0,0.2);
transition: 0.3s;
2024-08-30 19:14:01 -04:00
}
2024-08-31 14:26:05 -04:00
/* image posts */
2024-08-30 19:14:01 -04:00
.post_type_image {
/* outside space top right bottom left*/
margin: 0 5px 5px 5px;
/* inside space top right bottom left*/
padding: 5px 5px 5px 5px;
/* border */
border-top: solid 1px rgb(0,123,255,0.2);
border-right: solid 1px rgba(0,123,255,0.2);
2024-08-31 14:26:05 -04:00
border-bottom: solid 1px rgba(0,123,255,0.2);
border-left: solid 1px rgba(0,123,255,0.2);
2024-08-30 19:14:01 -04:00
/* rounded corners */
border-radius: 5px;
/* shadow horizontal-offset vertical-offset blur spread color */
box-shadow: 0 3px 5px 0 rgba(0,0,0,0.2);
transition: 0.3s;
}
2024-08-31 14:26:05 -04:00
/* "tile" and "wide tile" community view items */
2024-08-30 19:14:01 -04:00
#masonry .item {
/* outside space top right bottom left*/
2024-08-31 14:26:05 -04:00
margin: 0 2px 6px 2px;
2024-08-30 19:14:01 -04:00
/* rounded corners */
border-radius: 5px;
}
2024-08-31 14:26:05 -04:00
/* post edit options card */
.p-6 {
2024-08-30 19:14:01 -04:00
/* border */
/* border-top: solid 1px rgb(0,123,255,0.2); */
2024-08-31 14:26:05 -04:00
border-right: solid 1px rgba(0,123,255,0.2);
border-bottom: solid 1px rgba(0,123,255,0.2);
border-left: solid 1px rgba(0,123,255,0.2);
2024-08-30 19:14:01 -04:00
/* rounded corners */
2024-08-31 14:26:05 -04:00
border-radius: 5px;
2024-08-30 19:14:01 -04:00
/* shadow horizontal-offset vertical-offset blur spread color */
2024-08-31 14:26:05 -04:00
box-shadow: 0 3px 5px 0 rgba(0,0,0,0.2);
transition: 0.3s;
}