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

Line 504: Line 504:
 
     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;
 +
}
 +
  
  

Revision as of 20:07, 17 October 2016