web-backset.cn/apps/server/view/less/common.less
2023-02-25 23:43:44 +08:00

62 lines
927 B
Plaintext

@import '~normalize.css';
@import './var.less';
@font-face {
font-family: backset;
src: url('../assets/font/backset.woff');
}
* {
box-sizing: border-box;
}
html,
body {
margin: 0;
padding: 0;
font-size: 14px;
}
.container {
width: 1120px;
margin: 0 auto;
height: 100%;
}
a {
text-decoration: none;
}
.nav {
height: 60px;
background: var(--bs-primary-color);
.container {
display: grid;
grid-template-columns: 1fr 2fr 1fr;
align-items: center;
.nav-start a {
display: flex;
align-items: center;
color: var(--bs-font-color-1);
svg {
width: 28px;
}
span {
font-family: backset;
font-size: 20px;
padding-left: 10px;
}
}
.nav-middle {
text-align: right;
}
.nav-end {
text-align: right;
a {
margin-left: 20px;
color: var(--bs-font-color-1);
}
}
}
}