/* 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); } /* Position the avatar and username in the top left of the card */ .card-avatar { height: 80px; width: 80px; 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; text-align: left; } .card { font-size: 1.5em; /* 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 { height: 50px; /* reduce the height of the navbar */ background-color: rgb(227, 6, 19); 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: 0.9em; } .navbar-info { color: rgba(255, 255, 255, 0.8) !important; /* change the text color */ margin: 0 auto; /* center the brand name */ font-size: 1.2em; 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; } .container { max-width: 2000px !important; } .footer { background-color: rgb(200, 200, 200); 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; } .col-sm-2 { /*-ms-flex: 0 0 99%;*/ /*flex: 0 0 99%;*/ /*width: 99%;*/ /*max-width: 99%;*/ /*height: 80%;*/ /*max-height: 80%;*/ position: absolute; display: block top: 0; left: 0; width: 0; height: 0; visibility: hidden } .col-big { /*-ms-flex: 0 0 99%;*/ /*flex: 0 0 99%;*/ /*width: 99%;*/ /*max-width: 99%;*/ /*height: 80%;*/ /*max-height: 80%;*/ /*z-index: 2;*/ display: block; position: absolute; top: 10; left: 10; width: 100%; height: 400; transition: none } .card-img-bottom { max-width: 600px; max-height: 400px; border-top-left-radius: calc(.25rem - 1px); border-top-right-radius:calc(.25rem - 1px) }