feat: theme and resources
This commit is contained in:
51
themes/hugo-theme-m10c/assets/css/components/_app.scss
Normal file
51
themes/hugo-theme-m10c/assets/css/components/_app.scss
Normal file
@@ -0,0 +1,51 @@
|
||||
.app-header {
|
||||
padding: 2.5em;
|
||||
background: $darkest-color;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.app-header-avatar {
|
||||
width: 15rem;
|
||||
height: 15rem;
|
||||
border-radius: 100%;
|
||||
border: 0.5rem solid $primary-color;
|
||||
}
|
||||
|
||||
.app-container {
|
||||
padding: 2.5rem;
|
||||
}
|
||||
|
||||
.app-header-social {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
font-size: 2em;
|
||||
color: $lightest-color;
|
||||
|
||||
a:not(:last-child) {
|
||||
margin-right: 0.4em;
|
||||
}
|
||||
}
|
||||
|
||||
.app-header-title {
|
||||
color: $lightest-color;
|
||||
display: block;
|
||||
font-size: 2em;
|
||||
margin: 0.67em 0;
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
@media (min-width: 940px) {
|
||||
.app-header {
|
||||
position: fixed;
|
||||
top: 0;
|
||||
left: 0;
|
||||
width: 20rem;
|
||||
min-height: 100vh;
|
||||
}
|
||||
|
||||
.app-container {
|
||||
max-width: 65rem;
|
||||
margin-left: 20rem;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user