Homepage/assets/stylesheets/header.scss
Naoki Rinmous a23a8de3d6 update
2017-06-21 19:15:14 +08:00

65 lines
1.1 KiB
SCSS

.header {
background: #385068;
padding-top: 1.6em;
}
.header .greeting {
color: #f5f5f5;
font-weight: 300;
line-height: 1.6em;
margin: 0;
text-shadow: 2px 2px 4px rgba(0,0,0,.25);
}
.header .labels {
margin: 0.8em 0;
}
.header .labels .label {
background: #333;
box-shadow: 0 0 0.15em 0.15em rgba(0, 0, 0, 0.15);
color: #fff;
display: inline-block;
font-weight: 300;
padding: .5em .75em;
position: relative;
margin: 1.2em 0;
vertical-align: bottom;
}
.header .labels a.label {
text-decoration: none;
}
.header .labels .label::before {
color: #ddd;
content: attr(alt);
font-size: .5em;
left: 0;
position: absolute;
text-shadow: 2px 2px 4px rgba(0,0,0,.25);
top: -1.75em;
}
.header .labels .label>* {
margin-right: .25em;
}
.header .labels .label .content {
color: #ccc;
}
.header .picture {
background: white;
border-radius: 50%;
box-shadow: 0 0 0.15em 0.15em rgba(0, 0, 0, 0.15);
box-sizing: content-box;
display: block;
padding: 3%;
width: 94%;
}
.header .picture-container {
padding: 2em;
}