You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
92 lines
1.3 KiB
CSS
92 lines
1.3 KiB
CSS
5 years ago
|
/* Push the body down with margin-top*/
|
||
|
body {
|
||
|
margin-top: 40px;
|
||
|
/*background-color: pink;*/
|
||
|
}
|
||
|
|
||
|
/* CNN styling */
|
||
|
#cnn{
|
||
|
position: fixed;
|
||
|
width: calc(100% - 10px);
|
||
|
min-width: 420px;
|
||
|
height: 25px;
|
||
|
top:0;
|
||
|
left:0;
|
||
|
right: 0;
|
||
|
vertical-align: top;
|
||
|
padding: 6px;
|
||
|
font-size: 16px;
|
||
|
background-color: #f2f5f6;
|
||
|
background-image: -webkit-gradient(linear, left top, left bottom, from(yellow), to(gold));
|
||
|
}
|
||
|
|
||
|
#cnn .button_container {
|
||
|
display: inline-block;
|
||
|
width: calc(50% - 20px);
|
||
|
transform: scaleX(0.7);
|
||
|
transform-origin: 0 0;
|
||
|
}
|
||
|
|
||
|
#sitemap button:hover{
|
||
|
color: blue;
|
||
|
}
|
||
|
|
||
|
#sitemap button{
|
||
|
position: absolute;
|
||
|
top:0;
|
||
|
right:0;
|
||
|
margin:5px;
|
||
|
padding-top: 5px;
|
||
|
text-transform: uppercase;
|
||
|
color: black;
|
||
|
transform: scaleX(0.7);
|
||
|
transform-origin: 0 0;
|
||
|
}
|
||
|
|
||
|
.cnn-button{
|
||
|
padding-top: 5px;
|
||
|
}
|
||
|
|
||
|
#buttonA{
|
||
|
padding-left: 20px;
|
||
|
}
|
||
|
|
||
|
|
||
|
@media only screen and (max-width: 700px){
|
||
|
|
||
|
body {
|
||
|
margin-top: 40px;
|
||
|
/*background-color: yellow;*/
|
||
|
}
|
||
|
|
||
|
#cnn {
|
||
|
width: calc(100% - 10px);
|
||
|
height: 40px;
|
||
|
font-size: 12px;
|
||
|
padding-bottom: 12px;
|
||
|
}
|
||
|
|
||
|
#cnn .button_container {
|
||
|
width: calc(100% - 100px);
|
||
|
}
|
||
|
|
||
|
#sitemap button {
|
||
|
position: fixed;
|
||
|
right: 5px;
|
||
|
top: 1px;
|
||
|
margin-top: 2px;
|
||
|
}
|
||
|
|
||
|
#buttonA, #buttonB{
|
||
|
padding-left: 5px;
|
||
|
}
|
||
|
|
||
|
.cnn-button{
|
||
|
padding-top: 1px;
|
||
|
}
|
||
|
|
||
|
#cnn{
|
||
|
height: 25px;
|
||
|
|
||
|
}
|