Fix image at wierd resolutions
This commit is contained in:
@@ -66,12 +66,23 @@
|
|||||||
max-width: 1115px;
|
max-width: 1115px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.cent {
|
||||||
|
display: flex;
|
||||||
|
justify-content: center; /* Centers horizontally */
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
@media screen and (max-width: 1175px) {
|
@media screen and (max-width: 1175px) {
|
||||||
.homeitem {
|
.homeitem {
|
||||||
|
width:100%;
|
||||||
max-width: 100%;
|
max-width: 100%;
|
||||||
padding: 18px;
|
padding: 18px;
|
||||||
margin: 4px;
|
margin: 4px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.homeitem img {
|
||||||
|
width: 100%;
|
||||||
|
max-width: 480px;
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
@@ -19,6 +19,7 @@ items:
|
|||||||
|
|
||||||
The main languages and technologies I know are C#, Java, Ruby and Linux.
|
The main languages and technologies I know are C#, Java, Ruby and Linux.
|
||||||
- "":
|
- "":
|
||||||
|
class: cent
|
||||||
content: |
|
content: |
|
||||||

|

|
||||||
- "Work":
|
- "Work":
|
||||||
|
|||||||
Reference in New Issue
Block a user