gancio-upstream/assets/style.less
2020-01-15 23:13:43 +01:00

126 lines
No EOL
2.1 KiB
Text

:focus {outline:none;}
::-moz-focus-inner {border:0;}
blockquote {
border-left: 3px solid grey;
font-style: italic;
color: #666;
padding-left: 1em;
}
code {
font-family: sans-serif;
display: inline-block;
padding: 0 .4rem;
border-radius: 5px;
font-size: .8rem;
font-weight: 700;
background: rgba(0,0,0,.1);
color: rgba(0,0,0,.8);
}
html, body {
font-family: sans-serif;
scroll-behavior: smooth;
text-rendering: optimizeSpeed;
background-color: #333;
overflow-y: auto;
scrollbar-width: thin;
}
#__nuxt, #__layout {
min-height: 100vh;
display: flex;
flex-direction: column;
}
#main {
min-height: 200px;
scrollbar-width: thin;
transition: all .3s;
background-color: white;
&.dark {
background-color: #333;
color: white;
}
}
#content {
flex-grow: 1;
max-width: 1000px;
width: 100%;
margin: 0 auto;
}
#header, #footer {
color: white;
background-color: #222;
font-size: 18px;
// > *{
// max-width: 1200px;
// margin: 0 auto;
// }
}
#footer {
a {
color: orangered;
transition: color .4s;
&:hover {
text-decoration: none;
color: orange;
}
}
#links a {
margin-left: 15px;
}
min-height: 6em;
padding-top: 2em;
font-size: 1em;
}
#header .el-menu--horizontal {
background-color: #222;
color: white;
.el-menu-item, .el-submenu__title {
color: white;
}
.el-menu-item:not(.is-disabled):focus,
.el-menu-item.is-active,
.el-menu-item:not(.is-disabled):hover,
.el-submenu:focus > .el-submenu__title,
.el-submenu:hover > .el-submenu__title,
.el-submenu.is-active > .el-submenu__title,
.el-submenu.is-opened {
color: white;
background-color: #333
}
}
.page-enter-active, .page-leave-active {
transition: opacity .2s, transform .2s;
}
.page-enter, .page-leave-active {
transition: opacity .2s, transform .2s;
opacity: 0;
transform: translateX(30px);
}
.el-card {
max-width: 700px;
margin: 0 auto;
}
.el-menu-item {
a {
color: #303133;
display: block;
text-decoration: none;
text-overflow: ellipsis;
overflow: hidden;
}
}