~ubuntu-it-wiki/wiki-ubuntu-it/wiki-repo

« back to all changes in this revision

Viewing changes to htdocs/light/css/common.css

  • Committer: Jeremie Tamburini
  • Date: 2019-02-28 17:58:26 UTC
  • Revision ID: jeremie.tamburini@gmail.com-20190228175826-bdn3qnmrkx6l56cx
New media queries for <pre> - Search box positioning

Show diffs side-by-side

added added

removed removed

Lines of Context:
799
799
    float: left;
800
800
    width: auto;
801
801
        margin-left: 0px;
802
 
}
 
802
    }
803
803
 
804
804
/* page_info and the rest won't be squashed together*/
805
805
h1 {
806
806
        clear: both;
807
 
}
 
807
    }
808
808
 
809
809
/* fixed table for Hardware/Notebook */
810
810
table.notebook_width {
811
811
    width: auto;
812
 
}
 
812
    }
813
813
 
814
814
table.notebook_width td:first-child {
815
815
    width: 50%;
816
 
}
 
816
    }
817
817
 
818
818
#page img.inline_left {
819
819
    width: 100%;
845
845
    max-width: 400px;
846
846
    }
847
847
 
 
848
li pre {
 
849
    max-width: 300px;
 
850
    }
 
851
 
848
852
.bug img {
849
853
    max-width: 14px;
850
854
    }
851
 
 
852
855
}
853
856
 
854
857
@media screen and (max-width: 450px) {
855
858
pre {
856
 
    max-width: 350px;
 
859
    max-width: 330px;
 
860
    }
 
861
li pre {
 
862
    max-width: 250px;
857
863
    }
858
864
}
859
865
 
862
868
    max-width: 300px;
863
869
    }
864
870
 
 
871
li pre {
 
872
    max-width: 240px;
 
873
    }
865
874
}
 
875
 
866
876
@media screen and (max-width: 350px) {
867
877
pre {
868
878
    max-width: 250px;
869
879
    }
 
880
 
 
881
li pre {
 
882
    max-width: 200px;
 
883
    }
870
884
}