Skip to content

Instantly share code, notes, and snippets.

@GrzegorzManiak
Created January 24, 2022 17:11
Show Gist options
  • Save GrzegorzManiak/05ed9f8b73429c3201bb53d092f7a50b to your computer and use it in GitHub Desktop.
Save GrzegorzManiak/05ed9f8b73429c3201bb53d092f7a50b to your computer and use it in GitHub Desktop.
Moodle css
@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');html{font-family:'Montserrat',sans-serif!important}H1,H2,H3,H4,H5,span,a,p,body{font-family:'Montserrat',sans-serif!important}::selection{color:#000;background-color:#d4d4d4}.dropdown-toggle:after{display:inline-block;margin-left:0!important;vertical-align:0!important;content:unset!important;border-top:unset!important;border-right:unset!important;border-bottom:unset!important;border-left:unset!important}.btn{all:unset;background-color:#00000033!important;padding:.5rem;border-radius:.3rem;transition:all .2s ease-in-out;display:flex!important;align-items:center;justify-content:center;gap:.5rem}.btn:hover{all:unset;background-color:#3a3a3a33!important;padding:.5rem;border-radius:.5rem;display:flex!important;align-items:center;justify-content:center;gap:.5rem}.btn:{all:unset}.dropdown-toggle{border:none}button,btn{all:unset;display:flex!important;align-items:center;justify-content:center;gap:.5rem}#page-header{position:absolute;height:0!important;top:-15rem}
.card{all:unset;border-radius:.3rem;outline-style:solid;outline-color:#b8b8b833;background-color:rgba(245,245,245,.81);transition:transform .3s ease-in-out}.card:hover{transform:scale(1.015)}.card-deck .card{margin:.4rem}.card-body{padding:.8rem!important}.card-img{border-radius:.3rem}.block{border-radius:.3rem}.block .header{background-color:#222}.block-hider-hide{padding:1rem}.card-deck{margin-top:.4rem}.card-body{background-color:#red!important}#above-header{background-color:#1e1e1e!important}#main-navbar{background-color:#e0e0e0!important}#main-navbar *{color:black!important}.navbar-toggler{position:absolute;top:-100rem}.nav-item,.nav-link{border-radius:.3rem;padding:.2rem}.nav-link:hover{background-color:rgba(0,0,0,.22)!important}#adaptable-page-header-wrapper #main-navbar .navbar-nav>li>a,#adaptable-page-header-wrapper #main-navbar .navbar-nav>li>div.nav-link{padding:.5rem;line-height:0;display:flex!important;align-items:center;justify-content:center}.navbar-nav{display:flex!important;align-items:center!important;justify-content:center!important}
#edittingbutton{position:absolute;top:555rem}footer .pagination-centered{height:0}footer .container2{margin:0}footer .my-2{display:flex;gap:.5rem;align-items:center;justify-content:center}#page-footer .validators,#page-footer .purgecaches,#page-footer .performanceinfo,#page-footer #load{padding:0;margin:0}.block>.content,#dockeditempanel .dockeditempanel_bd{background-color:#fff;border:unset}body:not(.zoomin) #page.fullin .dashboard-card-deck:not(.fixed-width-cards) .dashboard-card{width:calc(24%)}.header{border-radius:.3rem!important}#page-footer .info{border:none}.container2{margin:0!important}.dropdown-menu{outline-style:solid;outline-color:#b8b8b833;border-radius:.3rem!important;border:none;color:#363636}.dropdown-menu a{color:#363636 !important;background-color:none!important}.dropdown-menu a:hover{background-color:#ddd !important}.block .content a,.block .content li a,.block .content i{color:#484848!important}.jsenabled .block_settings .block_tree .tree_item.branch,.block_navigation .block_tree .tree_item.branch{color:#484848!important}
.jsenabled .block_settings .block_tree .tree_item.branch,.block_navigation .block_tree .tree_item.branch *{color:#727272!important}.block .content a,.block .content li a,.block .content td a{color:#363636!important}.calendar_event_course{background-color:rgba(0,152,255,.25)!important;border-radius:.3rem}.section{border:unset!important;background-color:#fafafa;border-radius:.4rem}.sectionname{color:#363636!important;background-color:#e4e4e4;border:unset;border-radius:.3rem}#page-navbar .breadcrumb{padding:.4rem!important;border-radius:.3rem!important;color:#363636!important;display:flex!important;align-items:center;justify-content:flex-start}#page-navbar .breadcrumb a{color:#363636!important}#page-navbar .breadcrumb .lastli *{color:#727272!important}strong{color:#363636!important}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment