/* your custom css */ @media only screen and (min-device-width: 360px) and (max-device-width: 736px) { } @media only screen and (min-width: 1024px) { } @media only screen and (max-width: 1023px) { } @media only screen and (min-width: 1400px) { } @media only screen and (min-width: 1500px) { } ul { max-width: 350px; margin: 0 auto; text-align: left; } .projectTitle small { max-width: 500px; text-align: center; margin: 0 auto; margin-top: 0.7em; }