Fix chrome bug.

This commit is contained in:
Ceda EI 2018-08-26 11:19:15 +05:30
parent a6388c30be
commit 59264f6258
2 changed files with 11 additions and 6 deletions

View File

@ -27,13 +27,16 @@ a:hover {
font-size: 1.2em; font-size: 1.2em;
} }
.container img { .container .img {
display: block; display: block;
width: 20%; width: 20vw;
border-radius: 50%;
margin: 1em; margin: 1em;
} }
.img img {
border-radius: 50%;
}
.links { .links {
display: flex; display: flex;
width: 100%; width: 100%;
@ -48,8 +51,8 @@ h1 {
} }
@media (max-width: 720px) { @media (max-width: 720px) {
.container img { .container .img {
width: 30%; width: 35vw;
margin: 0.5em; margin: 0.5em;
} }
.links { .links {

View File

@ -10,7 +10,9 @@
</head> </head>
<body> <body>
<div class="container"> <div class="container">
<img src="images/ceda.jpg"> <div class="img">
<img src="images/ceda.jpg">
</div>
<h1>Ceda EI</h1> <h1>Ceda EI</h1>
<p>I am an 18-year old student from India who has an interest in system administration and programming. I am a Linux user who likes to rice his desktop and have some experience managing servers.</p> <p>I am an 18-year old student from India who has an interest in system administration and programming. I am a Linux user who likes to rice his desktop and have some experience managing servers.</p>
<div class="links"> <div class="links">