VOOZH about

URL: https://minecraft.wiki/w/MediaWiki:Gadget-compactTabs.css

⇱ MediaWiki:Gadget-compactTabs.css – Minecraft Wiki


MediaWiki:Gadget-compactTabs.css

From Minecraft Wiki
Jump to navigation Jump to search
In other languages

Note: After saving, you have to bypass your browser's cache to see the changes.

Google Chrome, Firefox, Microsoft Edge, and Safari: Hold down the key and click the Reload toolbar button.
For details and instructions about other browsers, see Wikipedia:Bypass your cache.

/* Code from https://terraria.wiki.gg/ */
@mediascreenand(max-width:720px){
#mw-panel.portal.vector-menu-heading::after{
display:none;
}
#mw-head{
/* icons below are from https://tabler-icons.io/ */
--icon-addsection:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' stroke-width='2' stroke='currentColor' fill='none' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath stroke='none' d='M0 0h24v24H0z' fill='none'/%3E%3Cpath d='M9 12l6 0' /%3E%3Cpath d='M12 9l0 6' /%3E%3Cpath d='M4 6v-1a1 1 0 0 1 1 -1h1m5 0h2m5 0h1a1 1 0 0 1 1 1v1m0 5v2m0 5v1a1 1 0 0 1 -1 1h-1m-5 0h-2m-5 0h-1a1 1 0 0 1 -1 -1v-1m0 -5v-2m0 -5' /%3E%3C/svg%3E");
--icon-doc:url("data:image/svg+xml,%3#pt-notifications-noticeCsvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' stroke-width='2' stroke='currentColor' fill='none' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath stroke='none' d='M0 0h24v24H0z' fill='none'%3E%3C/path%3E%3Cpath d='M14 3v4a1 1 0 0 0 1 1h4'%3E%3C/path%3E%3Cpath d='M17 21h-10a2 2 0 0 1 -2 -2v-14a2 2 0 0 1 2 -2h7l5 5v11a2 2 0 0 1 -2 2z'%3E%3C/path%3E%3C/svg%3E");
--icon-edit:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' class='icon icon-tabler icon-tabler-keyboard' width='24' height='24' viewBox='0 0 24 24' stroke-width='2' stroke='currentColor' fill='none' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath stroke='none' d='M0 0h24v24H0z' fill='none'/%3E%3Cpath d='M2 6m0 2a2 2 0 0 1 2 -2h16a2 2 0 0 1 2 2v8a2 2 0 0 1 -2 2h-16a2 2 0 0 1 -2 -2z' /%3E%3Cpath d='M6 10l0 .01' /%3E%3Cpath d='M10 10l0 .01' /%3E%3Cpath d='M14 10l0 .01' /%3E%3Cpath d='M18 10l0 .01' /%3E%3Cpath d='M6 14l0 .01' /%3E%3Cpath d='M18 14l0 .01' /%3E%3Cpath d='M10 14l4 .01' /%3E%3C/svg%3E");
--icon-history:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' class='icon icon-tabler icon-tabler-timeline' width='24' height='24' viewBox='0 0 24 24' stroke-width='2' stroke='currentColor' fill='none' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath stroke='none' d='M0 0h24v24H0z' fill='none'/%3E%3Cpath d='M4 16l6 -7l5 5l5 -6' /%3E%3Cpath d='M15 14m-1 0a1 1 0 1 0 2 0a1 1 0 1 0 -2 0' /%3E%3Cpath d='M10 9m-1 0a1 1 0 1 0 2 0a1 1 0 1 0 -2 0' /%3E%3Cpath d='M4 16m-1 0a1 1 0 1 0 2 0a1 1 0 1 0 -2 0' /%3E%3Cpath d='M20 8m-1 0a1 1 0 1 0 2 0a1 1 0 1 0 -2 0' /%3E%3C/svg%3E");
--icon-more:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' stroke-width='2' stroke='currentColor' fill='none' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath stroke='none' d='M0 0h24v24H0z' fill='none'%3E%3C/path%3E%3Cpath d='M12 12m-1 0a1 1 0 1 0 2 0a1 1 0 1 0 -2 0'%3E%3C/path%3E%3Cpath d='M12 19m-1 0a1 1 0 1 0 2 0a1 1 0 1 0 -2 0'%3E%3C/path%3E%3Cpath d='M12 5m-1 0a1 1 0 1 0 2 0a1 1 0 1 0 -2 0'%3E%3C/path%3E%3C/svg%3E");
--icon-talk:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' stroke-width='2' stroke='currentColor' fill='none' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath stroke='none' d='M0 0h24v24H0z' fill='none'%3E%3C/path%3E%3Cpath d='M21 14l-3 -3h-7a1 1 0 0 1 -1 -1v-6a1 1 0 0 1 1 -1h9a1 1 0 0 1 1 1v10'%3E%3C/path%3E%3Cpath d='M14 15v2a1 1 0 0 1 -1 1h-7l-3 3v-10a1 1 0 0 1 1 -1h2'%3E%3C/path%3E%3C/svg%3E");
--icon-unwatch:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' stroke-width='2' stroke='currentColor' fill='none' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath stroke='none' d='M0 0h24v24H0z' fill='none'%3E%3C/path%3E%3Cpath d='M8.243 7.34l-6.38 .925l-.113 .023a1 1 0 0 0 -.44 1.684l4.622 4.499l-1.09 6.355l-.013 .11a1 1 0 0 0 1.464 .944l5.706 -3l5.693 3l.1 .046a1 1 0 0 0 1.352 -1.1l-1.091 -6.355l4.624 -4.5l.078 -.085a1 1 0 0 0 -.633 -1.62l-6.38 -.926l-2.852 -5.78a1 1 0 0 0 -1.794 0l-2.853 5.78z' stroke-width='0' fill='currentColor'%3E%3C/path%3E%3C/svg%3E");
--icon-veedit:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' stroke-width='2' stroke='currentColor' fill='none' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath stroke='none' d='M0 0h24v24H0z' fill='none'/%3E%3Cpath d='M4 20h4l10.5 -10.5a2.828 2.828 0 1 0 -4 -4l-10.5 10.5v4' /%3E%3Cpath d='M13.5 6.5l4 4' /%3E%3C/svg%3E");
--icon-view:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' stroke-width='2' stroke='currentColor' fill='none' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath stroke='none' d='M0 0h24v24H0z' fill='none'%3E%3C/path%3E%3Cpath d='M12 12m-2 0a2 2 0 1 0 4 0a2 2 0 1 0 -4 0'%3E%3C/path%3E%3Cpath d='M22 12c-2.667 4.667 -6 7 -10 7s-7.333 -2.333 -10 -7c2.667 -4.667 6 -7 10 -7s7.333 2.333 10 7'%3E%3C/path%3E%3C/svg%3E");
--icon-viewsource:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' stroke-width='2' stroke='currentColor' fill='none' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath stroke='none' d='M0 0h24v24H0z' fill='none'%3E%3C/path%3E%3Cpath d='M7 8l-4 4l4 4'%3E%3C/path%3E%3Cpath d='M17 8l4 4l-4 4'%3E%3C/path%3E%3Cpath d='M14 4l-4 16'%3E%3C/path%3E%3C/svg%3E");
--icon-watch:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' stroke-width='2' stroke='currentColor' fill='none' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath stroke='none' d='M0 0h24v24H0z' fill='none'%3E%3C/path%3E%3Cpath d='M12 17.75l-6.172 3.245l1.179 -6.873l-5 -4.867l6.9 -1l3.086 -6.253l3.086 6.253l6.9 1l-5 4.867l1.179 6.873z'%3E%3C/path%3E%3C/svg%3E");
/* OOUI icons */
--icon-createaccount:url("/load.php?image=userAdd&modules=oojs-ui.styles.icons-user");
--icon-login:url("/load.php?image=logIn&modules=oojs-ui.styles.icons-interactions");
--icon-logout:url("/load.php?image=logOut&modules=oojs-ui.styles.icons-interactions");
--icon-mycontris:url("/load.php?image=userContributions&modules=oojs-ui.styles.icons-user");
--icon-mytalk:url("/load.php?image=userTalk&modules=oojs-ui.styles.icons-user");
--icon-preferences:url("/load.php?image=settings&modules=oojs-ui.styles.icons-interactions");
--icon-watchlist:url("/load.php?image=watchlist&modules=oojs-ui.styles.icons-user");
--icon-size:14px;
--icon-margin:4px;
}
#mw-head.vector-menu-tabs.mw-list-itema{
align-items:center;
box-sizing:content-box;
display:flex;
flex-direction:column;
font-size:10px;
height:21px;
line-height:0.5;
margin:0;
padding:5px4px10px10px!important;
}
#mw-head.vector-menu-dropdown.vector-menu-heading{
width:calc(var(--icon-margin)*2+var(--icon-size));
box-sizing:content-box;
padding:15px4px010px!important;
color:transparent;
display:flex;
align-items:center;
height:21px;
margin:0;
}
#mw-head.vector-menu-tabs.mw-list-itema::before,
#mw-head.vector-menu-dropdown.vector-menu-heading::before{
content:"";
display:block;
position:unset;
background-image:none;
width:var(--icon-size);
height:var(--icon-size);
flex:00auto;
margin:var(--icon-margin);
--mask:var(--icon)no-repeat;
-webkit-mask:var(--mask);
mask:var(--mask);
-webkit-mask-size:100%100%;
mask-size:100%100%;
-webkit-mask-position:centercenter;
mask-position:centercenter;
background-color:#000;
}
body.wgl-theme-dark#mw-head.vector-menu-tabs.mw-list-itema::before,
body.wgl-theme-dark#mw-head.vector-menu-dropdown.vector-menu-heading::before{
background-color:#fff;
}
#mw-head.vector-menu-dropdown.vector-menu-headingspan,
#mw-head.vector-menu-dropdown.vector-menu-heading::after{
display:none;
}
.vector-menu-tabs#ca-watch.icona:hover:before,
.vector-menu-tabs#ca-watch.icona:focus:before,
.vector-menu-tabs#ca-unwatch.icona:hover:before,
.vector-menu-tabs#ca-unwatch.icona:focus:before{
background-image:unset;
}
/*#p-cactions-label::before {
		transform: rotate(90deg);
	}*/
#left-navigationli,
#right-navigationli:not(:last-of-type){
margin-right:-6px;
}
#left-navigationli:not(:first-of-type),
#right-navigationli:not(:first-of-type){
clip-path:polygon(100%0,100%100%,6px100%,6px6px,00);
}
/* Personal menu */
#p-personalli:not(#pt-userpage):not(#pt-notifications-alert):not(#pt-notifications-notice):not(#pt-dm-toggle)aspan{
visibility:hidden;
}
#p-personalli:not(#pt-userpage):not(#pt-notifications-alert):not(#pt-notifications-notice):not(#pt-dm-toggle):not(#pt-fw-enable):not(#pt-fw-disable)a{
position:relative;
display:block;
--mask:var(
--icon)no-repeat;
-webkit-mask:var(--mask);
mask:var(--mask);
-webkit-mask-size:100%100%;
mask-size:100%100%;
-webkit-mask-position:centercenter;
mask-position:centercenter;
background-color:#e3e3e3;
height:14px;
width:14px;
opacity:0.51;
}
#p-personalli:not(#pt-userpage):not(#pt-notifications-alert):not(#pt-notifications-notice)a:hover{
opacity:1;
}
#pt-userpagespan{
visibility:hidden;
}
#pt-userpagea{
width:14px;
height:14px;
padding:0!important;
}
/* Global menu */
#left-navigationli[id^=ca-nstab-]{--icon:var(--icon-doc)}
#ca-view,#ca-view-foreign{--icon:var(--icon-view)}
#ca-talk{--icon:var(--icon-talk)}
#ca-viewsource{--icon:var(--icon-viewsource)}
#ca-ve-edit{--icon:var(--icon-veedit)}
#ca-edit{--icon:var(--icon-edit)}
#ca-addsection{--icon:var(--icon-addsection)}
#ca-history{--icon:var(--icon-history)}
#ca-watch{--icon:var(--icon-watch)}
#ca-unwatch{--icon:var(--icon-unwatch)}
#p-cactions{--icon:var(--icon-more)}
/* Personal menu */
#pt-createaccount{--icon:var(--icon-createaccount)}
#pt-mytalk{--icon:var(--icon-mytalk)}
#pt-preferences{--icon:var(--icon-preferences)}
#pt-watchlist{--icon:var(--icon-watchlist)}
#pt-mycontris{--icon:var(--icon-mycontris)}
#pt-login{--icon:var(--icon-login)}
#pt-logout{--icon:var(--icon-logout)}
}
Retrieved from "https://minecraft.wiki/w/MediaWiki:Gadget-compactTabs.css?oldid=2842186"

Navigation menu