Template:Math theorem/sandbox/styles.css
/* {{pp-template}} */ .math_theorem { margin: 1em 0em; } /* Adjust the stypes when the screen width is 500 pixels or less */ @media (max-width: 500px) { /* Target elements with the class "math_theorem" */ .math_theorem { /* Add vertical margins of 1em above and below the element */ /* No horizontal margin (0em) on the left and right */ margin: 0.75em 0em; } }