پرش به محتوا

مدیاویکی:Gadget-UserMessages.css: تفاوت میان نسخه‌ها

از دانشنامه علوم انسانی
imported>Dalba
استفاده از نمای flex تا در همهٔ نمایشگرها از پهنای صفحه استفاده کند
imported>Dalba
لازم نیست
خط ۶: خط ۶:
#p-warn .menu ul {
#p-warn .menu ul {
     display: flex;
     display: flex;
    position: relative;
     flex-direction: column;
     flex-direction: column;
     flex-wrap: wrap;
     flex-wrap: wrap;
    justify-content: space-around;
     justify-content: flex-start;
     justify-content: flex-start;
     max-height: 80vh;
     max-height: 80vh;

نسخهٔ ۹ نوامبر ۲۰۱۸، ساعت ۰۸:۲۲

#p-warn .menu {
    position: fixed;
    top: 5em;
}

#p-warn .menu ul {
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    justify-content: flex-start;
    max-height: 80vh;
    overflow-x: scroll;
}


#p-warn h3 span a {
  margin-top: 6px;
}

#p-warn .p-warn-param {
  margin-right: 3px;
  color: orange;
}

.p-warn-param { padding: 0!important; }