:tools: Scheduled maintenance

Heads up! Downtime for the Forums, related to the NodeBB upgrade, is planned for Thursday, December 14, starting from 10:00 UTC.
Please make sure to finish all your posts before this time. The downtime should only last for a few minutes.

Opera CSS font-size

  • Hello,

    i have question about CSS Styling for opera.

    I use:

    body {
    font-size: 100%;
    }

    h1 to h3 become from 130 to 110% but they not really has diffrence from normal p segments.

    For bigger padding in some links i use

    @media screen and (max-width: 600px) {
    aside.blog ul li a {
    line-height: 3em;
    }
    }

    but opera ignore it.

    Has someone advice to fix the stuff?

    Thank you & Nice day
    Silvio

  • Opera Mini ignores line-height property. You can achieve similar effect with display: inline-block; padding: 20px;. I know it's not the best way to do it but it should do the work. Eventually if it's some standalone link (like in menu), then it's best to set display: block; padding: 20px; - this way it will take all available width, what makes it easier to click:) I hope this helps.

Log in to reply
 

Looks like your connection to Opera forums was lost, please wait while we try to reconnect.