Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- body {
- font-family: Arial, sans-serif;
- background-color: #ffffff;
- color: #000000;
- padding: 20px;
- margin: 0;
- display: flex;
- flex-wrap: wrap;
- justify-content: space-between;
- gap: 15px;
- max-width: 100%;
- }
- h1 {
- width: 100%;
- text-align: left;
- margin-bottom: 20px;
- }
- @media (max-width: 768px) {
- h1 {
- text-align: center;
- }
- }
- p {
- margin: 2px 0;
- }
- .comment-preview {
- width: 100%;
- padding: 10px;
- border-radius: 8px;
- text-decoration: none;
- color: inherit;
- overflow: hidden;
- background-color: transparent;
- }
- .comment-preview:hover {
- background-color: #f5f5f5;
- }
- .thumbnail {
- width: 100%;
- background-color: transparent;
- border-radius: 8px;
- display: flex;
- align-items: center;
- justify-content: center;
- margin-bottom: 10px;
- }
- .thumbnail img {
- width: 100%;
- height: auto;
- object-fit: cover;
- border-radius: 8px;
- }
- a {
- color: inherit;
- text-decoration: none;
- }
- a:hover {
- color: #007acc;
- }
- @media (prefers-color-scheme: dark) {
- body {
- background-color: #121212;
- color: #e0e0e0;
- }
- .comment-preview:hover {
- background-color: #333333;
- }
- a:hover {
- color: #87ceeb;
- }
- }
- @media (min-width: 1024px) {
- body {
- justify-content: flex-start;
- padding: 20px;
- }
- .comment-preview {
- margin: 15px;
- width: 300px;
- }
- }
- @media (max-width: 768px) {
- body {
- justify-content: center;
- padding: 10px;
- }
- .comment-preview {
- width: 100%;
- margin: 0;
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement