AstroJS/botanjs/src/Astro/Blog/Components/ControlPanel.css
2015-08-14 21:06:23 +08:00

51 lines
693 B
CSS

.control_panel {
height: 100%;
margin-top: 0.2em;
}
.control_panel > a {
display: inline-block;
position: relative;
overflow: hidden;
width: 80px;
height: 80px;
}
.control_panel > a:after {
content: attr(data-desc);
font-family: custom-sans;
background-color: rgba(0, 0, 0, 0.6);
color: white;
position: absolute;
width: 100%;
padding: 0 0.2em;
left: 0;
bottom: 0;
-moz-box-sizing: border-box;
-webkit-box-sizing: border-box;
box-sizing: border-box;
}
.control_panel > a > span {
padding: 0.2em 0.5em;
background-color: orange;
color: white;
}
.control_panel > div {
font-size: 0.8em;
font-family: custom-sans;
}
.control_panel > div > a {
color: #222;
}