scripting.css

mail@pastecode.io avatar
unknown
css
2 years ago
1.2 kB
1
Indexable
Never
##############################################################3
# Global styles

html, body { 
    font-family: Lucida Console, Lucida Sans Typewriter, monaco, Bitstream Vera Sans Mono,monospace;
}

.parent {
    width: 100%;
    height: 100%;
    display: table;
    text-align: center;
}

.parent > .child {
    display: table-cell;
    vertical-align: middle;
}



##############################################################3
# Various box colors for different languages


.bash {
    resize: true;
    border: 5px solid #6e2c00;
}

.perl {
    resize: true;    
    border: 5px solid #f5b041;
}

.c {
    resize: true;    
    border: 5px solid #229954;
}

##############################################################3
# The Next / revious buttons. 
# although currently other links are also affected

a {
  text-decoration: none;
  display: inline-block;
}

a:hover {
  background-color: #ddd;
  color: black;
}

.prev {
    float: left;
    width: 128px;
    padding-top: 8px;
    padding-bottom: 10px;    
    background-color: #f1f1f1;
    color: black;
}

.next {
    float: right;
    width: 128px;
    padding-top: 8px;
    padding-bottom: 10px;
    background-color: #04AA6D;
    color: white;
}