Date: 2015-11-05 10:51 pm (UTC)From: [personal profile] skiesofpluto
skiesofpluto: (Default)
@media only screen and (max-device-width: 480px) {

}

lets you apply stuff to just on phone (there are different ways to write that out depending on what you're modifying stuff for but i'm not super worried about that here since it's mostly for my own use); whatever you write for @media tags overwrites other css when it applies to the device.

right now my custom css just looks like:

@media only screen and (max-device-width: 480px) {

#title{
font-size:2em;
}

#pagetitle{
font-size:1em;
text-align:left;
}

.entry-title{
font-size:1em;
}

}
This account has disabled anonymous posting.
If you don't have an account you can create one now.
HTML doesn't work in the subject.
More info about formatting

Profile

skiesofpluto: (Default)
skiesofpluto

November 2017

S M T W T F S
   1234
567891011
12131415161718
19202122232425
26272829 30  

Most Popular Tags

Style Credit

Expand Cut Tags

No cut tags
Page generated Jun. 29th, 2025 12:31 am
Powered by Dreamwidth Studios