mastowall/styles.css

223 lines
No EOL
4 KiB
CSS

@charset "utf-8";
/* Add some custom CSS for the cards */
.card {
margin-bottom: 20px;
border-radius: 10px;
box-shadow: 0 4px 6px 0 rgba(0, 0, 0, 0.2);
background-color: rgb(240,255,240);
}
/* Position the avatar and username in the top left of the card */
.card-avatar {
height: 50px;
width: 50px;
border-radius: 50%;
position: absolute;
top: 10px;
left: 10px;
}
.card-username {
position: absolute;
top: 10px;
left: 70px;
}
.card-text.text-right {
text-align: right;
margin-top: -20px !important;
}
/* Add padding to the card body to prevent overlay with avatar and username */
.card-body {
padding-top: 40px;
padding-bottom: 10px;
}
/* Style the media image */
.card-img-top {
width: 100%;
height: auto;
}
.card-title {
font-weight: normal;
}
.card-text {
margin-bottom: 1px !important;
}
.carousel .card-text {
font-size: 1.4em;
}
.card {
font-size: 0.9em; /* adjust this value to get the desired text size */
}
/* Remove indent of URLs */
.invisible {
font-size: 0 !important;
line-height: 0 !important;
}
.hashtag {
margin-right: 0px !important;
}
/* Custom navbar styles */
.navbar {
min-height: 50px; /* reduce the height of the navbar */
background-color: rgb(0, 137, 57);
margin-bottom: 10px !important;
top: -10px !important;
padding-top: 14px !important;
}
.navbar-brand {
color: rgba(255, 255, 255, 0.8) !important; /* change the text color */
margin: 0 auto; /* center the brand name */
font-size: 1.8em;
}
.navbar-info {
color: rgba(255, 255, 255, 0.8) !important; /* change the text color */
margin: 0 auto; /* center the brand name */
font-size: 2.4em;
display: block !important;
}
.hashtag {
margin-right: 10px; /* add space between the hashtags */
}
.col-sm-3 {
padding-left: 0px !important;
padding-right: 0px !important;
}
/* Set the background color of the body */
body {
background-color: #cccccc;
margin-top: 00px !important;
margin-left: 20px !important;
margin-right: 20px !important;
}
@media (max-width: 1000px) {
.col-sm-3 {
flex: 0 0 50%;
max-width: 50%;
}
.navbar-brand {
display: none;
}
}
@media (max-width: 600px) {
.col-sm-3 {
flex: 0 0 100%;
max-width: 100%;
}
.navbar-brand {
display: none;
}
}
.avatar-img {
width: 50px;
height: 50px;
}
.avatar-img-big {
width: 100px;
height: 100px;
}
.avatar-name {
font-size:2em;
font-weight:600;
padding-top:0.3em
}
.user-name {
font-weight: normal;
opacity: 0.7;
}
.container {
max-width: 2000px !important;
}
.footer {
background-color: rgb(0, 137, 57);
color: #f2f2f2;
position: fixed;
left: 0;
bottom: 0;
width: 100%;
padding-top: 2px !important; /* reduce padding-top to half */
padding-bottom: 2px !important; /* reduce padding-bottom to half */
font-size: 0.9em;
}
.popover {
position: fixed;
top: 10%;
left: 10%;
width: 80%;
height: 80%;
max-height: 80%;
max-width: 80%;
background-color: rgba(255, 255, 255, .95);
background-clip: padding-box;
border: 0px solid rgba(0, 137, 57, .5);
box-shadow:0 .5rem 1rem rgba(0, 0, 0, .30); !important
border-radius:.8rem;
opacity: 0;
transition: opacity 0.5s linear;
}
.card-big {
font-size: 1.8em;
font-weight: 400;
margin-top: 20px !important;
margin-left: 40px !important;
margin-right: 40px !important;
margin-bottom: 20px !important;
}
.card-img-bottom {
max-width: 600px;
max-height: 500px;
width: auto;
text-align: center;
aspect-ratio: auto !important;
border-top-left-radius: calc(.25rem - 1px);
border-top-right-radius:calc(.25rem - 1px);
margin-top: 0px !important;
margin-bottom: 10px !important;
align-items: center;
}
.text-muted {
color:#6c757d !important;
font-size: 1.2em;
text-align: right;
}
.footer {
font-size: 2em;
}
.footer .text-muted {
color: rgba(255, 255, 255, 0.8) !important;
font-size: 0.8em;
}
.footer a {
color: rgba(255, 255, 255, 0.8) !important;
}