header: add invisible college icon
This commit is contained in:
parent
07bff9fed3
commit
63546ed395
@ -86,19 +86,15 @@ a.head-item {
|
||||
padding: 8px 12px;
|
||||
vertical-align: middle;
|
||||
|
||||
&.is-theme-switcher,
|
||||
&.is-settings {
|
||||
padding: 8px;
|
||||
}
|
||||
&.is-settings {
|
||||
font-size: 0;
|
||||
> svg {
|
||||
width: 18px;
|
||||
height: 18px;
|
||||
}
|
||||
}
|
||||
&.is-ic {
|
||||
color: $link-color;
|
||||
padding-right: 9px;
|
||||
|
||||
> svg {
|
||||
position: relative;
|
||||
top: -1px;
|
||||
margin-bottom: -5px;
|
||||
}
|
||||
}
|
||||
|
||||
&:hover, &.is-selected {
|
||||
|
@ -33,7 +33,7 @@
|
||||
<a class="head-item {% if render_options.head_sections == 'wiki' %} is-selected{% endif %}" href="/wiki/">wiki</a>
|
||||
<a class="head-item {% if render_options.head_sections == 'about' %} is-selected{% endif %}" href="/info/">about</a>
|
||||
{% if is_admin %}
|
||||
<a class="head-item is-ic" href="https://ic.4in1.ws">invisible college</a>
|
||||
<a class="head-item is-ic" href="https://ic.4in1.ws">invisible college {{ svgInPlace('college_20') }}</a>
|
||||
{% endif %}
|
||||
</div>
|
||||
</div>
|
||||
|
1
skin/svg/college_20.svg
Normal file
1
skin/svg/college_20.svg
Normal file
@ -0,0 +1 @@
|
||||
<path d="M10.98,14.38c.17,0,.3-.11.3-.24l-.23-6.44c0-.13-.14-.23-.3-.23h-1.54c-.16,0-.29.1-.3.23l-.23,6.44c0,.13.13.24.3.24h1.99ZM4.47,14.38c.28,0,.83,0,1.99,0,.17,0,.3-.11.3-.24l-.23-6.44c0-.13-.14-.23-.3-.23h-1.54c-.16,0-.29.1-.3.23l-.23,6.44c0,.13.13.24.3.24ZM15.49,14.38c.17,0,.3-.11.3-.24l-.23-6.44c0-.13-.14-.23-.3-.23h-1.54c-.16,0-.29.1-.3.23l-.23,6.44c0,.13.13.24.3.24h1.99ZM16.6,4.25l-6.54-1.76s-.08-.01-.12,0l-6.54,1.76c-.31.08-.53.37-.53.7v.29c0,.4.32.72.71.72h12.83c.39,0,.71-.32.71-.72v-.29c0-.33-.22-.62-.53-.7ZM15.73,16H4.23c-.49,0-1.32.4-1.32.9v.77c0,.17.13.3.3.3h13.54c.16,0,.3-.13.3-.3v-.77c0-.5-.82-.9-1.31-.9Z"/>
|
Loading…
x
Reference in New Issue
Block a user