smaller images/vids for blog
This commit is contained in:
parent
a77f93842a
commit
08774dd6f4
1 changed files with 4 additions and 3 deletions
|
@ -1,12 +1,13 @@
|
|||
/* Global settings for images and videos */
|
||||
img, video {
|
||||
display: block;
|
||||
width: 100%;
|
||||
width: 85%;
|
||||
height: auto;
|
||||
margin: 20px auto; /* Centers the image/video horizontally and adds space above and below */
|
||||
border-radius: 10px; /* Add rounded corners */
|
||||
margin-top: 20px; /* Add space above the image */
|
||||
margin-bottom: 20px; /* Add space below the image */
|
||||
}
|
||||
|
||||
|
||||
/* Exclude images inside the .icons class from global settings */
|
||||
ul.icons img {
|
||||
display: inline; /* Override display: block */
|
||||
|
|
Loading…
Reference in a new issue