Difference between revisions of "Template:Linkoping Sweden/Style"

 
(7 intermediate revisions by the same user not shown)
Line 110: Line 110:
  
 
     text-align: center;
 
     text-align: center;
     width: 24.6%;
+
     width: 19.5%;
 
     box-sizing: border-box;
 
     box-sizing: border-box;
 
}
 
}
Line 181: Line 181:
 
}
 
}
  
#HQ_page .content h1, .content h2, .content h3, .content h4, .content h5 {
+
#HQ_page .content h1, #HQ_page .content h2, #HQ_page .content h3, #HQ_page .content h4, #HQ_page .content h5 {
 
     font-family: 'Playfair Display', serif;
 
     font-family: 'Playfair Display', serif;
    font-size: 187%;
 
 
     margin-top: 10px;
 
     margin-top: 10px;
 
     font-weight: 700;
 
     font-weight: 700;
 +
}
 +
 +
.content h1 span, .content h2 span, .content h3 span, .content h4 span {
 +
    font-size: 130%;
 
}
 
}
  
Line 199: Line 202:
 
}
 
}
  
#HQ_page .content p {
+
#HQ_page .content p, #HQ_page .content li {
 
     font-family: 'Raleway', sans-serif;
 
     font-family: 'Raleway', sans-serif;
 
     font-size: 110%;
 
     font-size: 110%;
Line 272: Line 275:
 
     position: relative;
 
     position: relative;
 
     left: 50%;
 
     left: 50%;
     transform: translateX(-50%);
+
     transform: translate3d(-50%,0,0);
 +
    -webkit-transform: translate3d(-50%,0,0);
 
     display: block; /* optional */
 
     display: block; /* optional */
  
Line 281: Line 285:
 
     filter: gray;
 
     filter: gray;
  
     -webkit-transition: -webkit-filter 0.4s, transform 0.4s;
+
     -webkit-transition: -webkit-filter 0.4s;
     -moz-transition: filter 0.4s, transform 0.4s;
+
     -moz-transition: filter 0.4s;
     -ms-transition: filter 0.4s, transform 0.4s;
+
     -ms-transition: filter 0.4s;
     -o-transition: filter 0.4s, transform 0.4s;
+
     -o-transition: filter 0.4s;
     transition: filter 0.4s, transform 0.4s;
+
     transition: filter 0.4s;
     transition: -webkit-filter 0.4s, transform 0.4s;
+
     transition: -webkit-filter 0.4s;
 
}
 
}
  
Line 410: Line 414:
 
     padding-top: 12px;
 
     padding-top: 12px;
 
     font-family: 'Raleway', sans-serif;
 
     font-family: 'Raleway', sans-serif;
 +
    font-size: 14px;
 +
}
 +
 +
#HQ_page .content #toc > ul li {
 
     font-size: 14px;
 
     font-size: 14px;
 
}
 
}
Line 483: Line 491:
 
     top: 0;
 
     top: 0;
 
     opacity: 0;
 
     opacity: 0;
 +
    max-width: 100%;
 
}
 
}
  
Line 503: Line 512:
 
     background: rgba(255, 255, 255, 0.8);
 
     background: rgba(255, 255, 255, 0.8);
 
}
 
}
 +
 +
/** Notebook **/
 +
 +
#notebook-content {
 +
    padding-top: 60px;
 +
}
 +
 +
#notebook-categories {
 +
    position: absolute;
 +
    background: #FFFFFF;
 +
    width: 1040px;
 +
    box-sizing: border-box;
 +
    white-space: nowrap;
 +
    font-size: 0;
 +
    z-index: 100;
 +
    border: 2px solid #000;
 +
}
 +
 +
#notebook-categories.notebook-fixed {
 +
    position: fixed;
 +
    top: 16px;
 +
}
 +
 +
#notebook-categories span{
 +
    display: inline-block;
 +
    width: 23%;
 +
    text-align: center;
 +
    line-height: 48px;
 +
    font-size: 13px;
 +
}
 +
 +
#notebook-categories div {
 +
    display: inline-block;
 +
    width: 8%;
 +
}
 +
 +
#notebook-content {
 +
    font-size: 0;
 +
}
 +
 +
.nb-row {
 +
    height: 48px;
 +
    width: 100%;
 +
}
 +
 +
.nb-row-small {
 +
    height: 14px;
 +
    width: 100%;
 +
}
 +
 +
.nb-month {
 +
    line-height: 34px;
 +
    width: 100%;
 +
    font-size: 14px;
 +
    text-align: center;
 +
}
 +
 +
.nb-empty {
 +
    display: inline-block;
 +
    width: 23%;
 +
    height: 100%;
 +
}
 +
 +
.nb-mid-l {
 +
    display: inline-block;
 +
    width: 4%;
 +
    height: 100%;
 +
    border-right: 1px solid #000;
 +
    box-sizing: border-box;
 +
}
 +
 +
.nb-mid-r {
 +
    display: inline-block;
 +
    width: 4%;
 +
    height: 100%;
 +
    border-left: 1px solid #000;
 +
    box-sizing: border-box;
 +
}
 +
 +
.nb-mid-line-l {
 +
    display: inline-block;
 +
    width: 4%;
 +
    height: 100%;
 +
    border-right: 1px solid #000;
 +
    border-bottom: 2px solid #000;
 +
    box-sizing: border-box;
 +
}
 +
 +
.nb-mid-line-r {
 +
    display: inline-block;
 +
    width: 4%;
 +
    height: 100%;
 +
    border-left: 1px solid #000;
 +
    border-bottom: 2px solid #000;
 +
    box-sizing: border-box;
 +
}
 +
 +
.nb-line, .nb-line-l, .nb-line-r {
 +
    position: relative;
 +
    display: inline-block;
 +
    width: 23%;
 +
    height: 100%;
 +
    border-bottom: 2px solid #000;
 +
    box-sizing: border-box;
 +
}
 +
 +
.nb-line-l > span {
 +
    position: absolute;
 +
    text-align: left;
 +
    font-size: 12px;
 +
    bottom: -10px;
 +
    background: #FFF;
 +
    padding-right: 10px;
 +
    padding-left: 20px;
 +
}
 +
 +
.nb-line-r > span {
 +
    position: absolute;
 +
    text-align: right;
 +
    font-size: 12px;
 +
    right: 0;
 +
    bottom: -10px;
 +
    background: #FFF;
 +
    padding-left: 10px;
 +
    padding-right: 20px;
 +
}
 +
 +
.nb-line-l > span span, .nb-line-r > span span {
 +
    display: inline-block;
 +
    background: #000;
 +
    color: #FFF;
 +
    line-height: 18px;
 +
    width: 18px;
 +
    text-align: center;
 +
    border-radius: 9px;
 +
}
 +
 +
span.with-content {
 +
    cursor: pointer;
 +
}
 +
 +
span.with-content:hover {
 +
    color: #019966;
 +
}
 +
 +
span.with-content:hover span {
 +
    background-color: #019966;
 +
}
 +
 +
.nb-details {
 +
    margin-top: -2px;
 +
    border-top: 2px solid #000;
 +
    border-bottom: 2px solid #000;
 +
    font-size: 12px;
 +
    padding: 20px;
 +
    display: none;
 +
}
 +
 +
.nb-details img {
 +
    float: left;
 +
    max-width: 300px;
 +
    margin-right: 20px;
 +
}
 +
 +
.nb-details > br {
 +
    clear: both;
 +
}
 +
  
  
Line 531: Line 708:
 
     .content.toc-exist {
 
     .content.toc-exist {
 
         padding-left: 30px;
 
         padding-left: 30px;
 +
    }
 +
 +
    #header-video {
 +
        display: none;
 
     }
 
     }
 
}
 
}
Line 678: Line 859:
 
         padding: 20px;
 
         padding: 20px;
 
     }
 
     }
 
 
 
}
 
}
 
</style>
 
</style>
 
</html>
 
</html>

Latest revision as of 18:40, 19 October 2016