MediaWiki:Common.css: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 155: | Line 155: | ||
text-align: left; | text-align: left; | ||
} | } | ||
.suggestions { | .suggestions { | ||
display: none!important; | |||
} | } | ||
#simpleSearch { | #simpleSearch { | ||
position: relative; | position: relative; | ||
} | } | ||
#searchform { | #searchform { | ||
padding-left: 6.2%; | |||
padding-bottom: 2%; | |||
} | } | ||
Line 176: | Line 176: | ||
width: 200%; | width: 200%; | ||
height: 400%; | height: 400%; | ||
background-color: rgba(255, 255, 255, 0.7); | background-color: rgba(255, 255, 255, 0.7); | ||
z-index: -1; | z-index: -1; | ||
margin-left: -10%; | margin-left: -10%; | ||
} | } | ||
Line 183: | Line 183: | ||
#searchInput, | #searchInput, | ||
.closing-bracket { | .closing-bracket { | ||
display: none; | |||
border: none; | |||
} | } | ||
#simpleSearch:hover #searchInput { | #simpleSearch:hover #searchInput { | ||
display: inline; | |||
border-bottom: 1px solid black; | |||
margin-left: -8px; | |||
} | } | ||
#simpleSearch:hover .closing-bracket { | #simpleSearch:hover .closing-bracket { | ||
display: inline; | |||
} | } | ||
.nrs { | .nrs { | ||
margin-left: 40%; | margin-left: 40%; | ||
} | |||
#searchInput { | |||
position: absolute; /* Set the search input to absolute position */ | |||
right: 0; /* Align it to the right within #simpleSearch */ | |||
} | } |
Revision as of 15:21, 22 December 2023
/* CSS placed here will be applied to all skins */ /* White background in body */ @font-face { font-family: 'HALColant-TextRegular'; src: url('/fonts/HALColant-TextRegular.woff2') format('woff2'), url('/fonts/HALColant-TextRegular.woff') format('woff'); font-weight: normal; font-style: normal; } body { font-family: 'HALColant-TextRegular', sans-serif; background-color: white; transition: background-color 1s ease; } /* Mediawiki horizontal navigation styles */ #mw-head { background-color: white; transition: background-color 1s ease; display: none; } #mw-page-base { background-color: white; transition: background-color 1s ease; background-image: none; } .mw-body, #mw-head-base, #left-navigation, #mw-data-after-content, .mw-footer { margin-left: 0!important; } .mw-body { border: none; } #p-logo a { display: none; } .mw-footer { display: none; } .list { display: flex; flex-wrap: wrap; max-width: 90%; margin: 0 auto; } .card { width: calc(20% - 2px); box-sizing: border-box; border: 1px solid black; height: fit-content; padding: 7px; margin-bottom: 30px; font-size: 12pt; } .card:not(:first-child) { margin-left: -1px; } .card:nth-child(5n + 1) { margin-left: 0; transform: none; } .card:last-child { margin-right: 0; border-right: 1px solid black; } .mw-body .firstHeading { display: none; } #mw-panel { display: none; } .people { text-decoration: underline; border-top: 1px solid black; } .type { border-top: 1px solid black; } /* Modal */ /* ---- Modal How to record ---- */ .modal { display: none; /* Hidden by default */ position: fixed; /* Stay in place */ z-index: 1; /* Sit on top */ padding-top: 100px; /* Location of the box */ left: 0; top: 0; width: 100%; /* Full width */ height: 100%; /* Full height */ overflow: scroll!important; /* Enable scroll if needed */ background-color: rgb(0,0,0); /* Fallback color */ background-color: rgba(0,0,0,0.4); /* Black w/ opacity */ } /* Modal Content */ .modal-content { max-width: 40%!important; background-color: red; text-align: left; margin-left: auto; } /* The Close Button */ .close1 { color: magenta; float: right; font-size: 35px; font-weight: normal; padding-bottom: 10px; } .close1:hover, .close1:focus { color: pink; text-decoration: none; cursor: pointer; } #aboutBtn button{ background-color: transparent; text-decoration: underline; border: none; font-weight: normal!important; } #aboutBtn button:hover { color: magenda; background-color: transparent; text-decoration: underline; cursor: pointer; } /* End Style for modals<------ */ .footer { position: fixed; left: 0; bottom: 0; width: 100%; background-color: transparent; text-align: left; } .suggestions { display: none!important; } #simpleSearch { position: relative; } #searchform { padding-left: 6.2%; padding-bottom: 2%; } #simpleSearch:before { content: ""; position: absolute; top: 0; left: 0; width: 200%; height: 400%; background-color: rgba(255, 255, 255, 0.7); z-index: -1; margin-left: -10%; } #searchInput, .closing-bracket { display: none; border: none; } #simpleSearch:hover #searchInput { display: inline; border-bottom: 1px solid black; margin-left: -8px; } #simpleSearch:hover .closing-bracket { display: inline; } .nrs { margin-left: 40%; } #searchInput { position: absolute; /* Set the search input to absolute position */ right: 0; /* Align it to the right within #simpleSearch */ }