Fix horizontal scrollbar (#347)
* Fixed scrollbar problems related to about section. * Fixed scrollbar problems related to skill section. * Making h1 fonts a little bit smaller on small devices. Co-authored-by: Emruz Hossain <hossainemruz@gmail.com>
This commit is contained in:
parent
65a429b664
commit
929a78837a
3 changed files with 35 additions and 1 deletions
|
@ -432,16 +432,29 @@ mark {
|
|||
code {
|
||||
padding: 0px;
|
||||
}
|
||||
|
||||
h1 {
|
||||
font-size: 2.2rem;
|
||||
}
|
||||
}
|
||||
|
||||
/* iPhoneX, iPhone 6,7,8 */
|
||||
@media only screen and (max-width: 375px) {
|
||||
h1 {
|
||||
font-size: 2rem;
|
||||
}
|
||||
}
|
||||
|
||||
/* Galaxy S5, Moto G4 */
|
||||
@media only screen and (max-width: 360px) {
|
||||
h1 {
|
||||
font-size: 1.8rem;
|
||||
}
|
||||
}
|
||||
|
||||
/* iPhone 5 or before */
|
||||
@media only screen and (max-width: 320px) {
|
||||
h1 {
|
||||
font-size: 1.5rem;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue