Skip to content

Commit

Permalink
update css for mobile view
Browse files Browse the repository at this point in the history
  • Loading branch information
prchapagain committed Aug 3, 2024
1 parent 896bcb2 commit fbebb45
Showing 1 changed file with 98 additions and 0 deletions.
98 changes: 98 additions & 0 deletions style.css
Original file line number Diff line number Diff line change
Expand Up @@ -363,3 +363,101 @@ button:hover {
font-size: 1rem;
}
}

@media (max-width: 420px) {
.quote-content {
padding: 8px;
}

.quote-text {
font-size: 16px;
}

.quote-author {
font-size: 10px;
}

button {
font-size: 9px;
padding: 3px 10px;
}

.fa {
font-size: 18px;
width: 25px;
padding: 4px;
}

#nhour, #min, #sec {
font-size: 1.8rem;
letter-spacing: 0.3rem;
}

.nmin, .nsec {
font-size: 1.8rem;
letter-spacing: 0.3rem;
}

#nampm {
font-size: 1rem;
}

.nepali-date {
font-size: 0.9rem;
width: 140px;
height: 30px;
}

.greeting {
font-size: 0.9rem;
}
}

@media (max-width: 320px) {
.quote-content {
padding: 6px;
}

.quote-text {
font-size: 14px;
}

.quote-author {
font-size: 8px;
}

button {
font-size: 8px;
padding: 2px 8px;
}

.fa {
font-size: 16px;
width: 20px;
padding: 3px;
}

#nhour, #min, #sec {
font-size: 1.5rem;
letter-spacing: 0.2rem;
}

.nmin, .nsec {
font-size: 1.5rem;
letter-spacing: 0.2rem;
}

#nampm {
font-size: 0.8rem;
}

.nepali-date {
font-size: 0.8rem;
width: 120px;
height: 25px;
}

.greeting {
font-size: 0.8rem;
}
}

0 comments on commit fbebb45

Please sign in to comment.