Skip to content

Instantly share code, notes, and snippets.

@mohemohe
Created September 28, 2015 09:20
Show Gist options
  • Save mohemohe/078bc119b239cfea7092 to your computer and use it in GitHub Desktop.
Save mohemohe/078bc119b239cfea7092 to your computer and use it in GitHub Desktop.
はすはす大学
@namespace url(http://www.w3.org/1999/xhtml);
@-moz-document domain("navi.hus.ac.jp") {
@media screen and (min-width:1200px) {
#box-calendar > h2:nth-child(1) > img:nth-child(1),
#box-btm > h3:nth-child(1) {
display: none !important;
}
#box-calendar > h2:nth-child(1) {
padding-bottom: 5px !important;
}
#box-calendar > h2:nth-child(1)::before{
margin: 0 5px 0 10px;
content: " ";
display: inline-block;
width: 24px;
height: 24px;
background: url(http://navi.hus.ac.jp/img/contents/top/icon_tab.png);
background-size: contain;
}
#box-calendar > h2:nth-child(1)::after {
content: "カレンダー";
color: #22A3CF;
font-size: 22px;
}
#cal-tab-1 > span:nth-child(1) {
padding: 0 !important;
}
#cal-tab-1 > span:nth-child(1)::before {
content: none !important;
}
#box-calendar {
width: 50% !important;
min-width: 0 !important;
background: white !important;
}
#gakka-news-box-w > div:nth-child(1) {
display: none !important;
}
div.title-box:nth-child(2) {
border-top: none !important;
}
div.title-box:nth-child(2) > p.title {
color: #22A3CF;
font-size: 22px;
margin-top: -4px !important;
}
div.title-box:nth-child(2) > p.title::before {
margin: 0 10px 4px 0;
content: " ";
display: inline-block;
width: 28px;
height: 24px;
background: url(http://navi.hus.ac.jp/img/contents/top/title_gakka.png);
vertical-align: middle;
}
.box-btm-i2 {
position: absolute !important;
top: 98px;
left: 50%;
width: 50%;
height: 822px !important;
}
#page-top {
position: fixed !important;
top: unset !important;
bottom: -20px !important;
transition: .2s ease-in-out;
}
#page-top:hover {
bottom: 0px !important;
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment