web-backset.cn/apps/server/view/less/common.less

62 lines
927 B
Plaintext
Raw Permalink Normal View History

2023-02-22 11:09:54 +08:00
@import '~normalize.css';
@import './var.less';
2023-02-11 13:21:06 +08:00
@font-face {
font-family: backset;
src: url('../assets/font/backset.woff');
}
* {
box-sizing: border-box;
}
html,
body {
margin: 0;
padding: 0;
2023-02-25 23:43:44 +08:00
font-size: 14px;
2023-02-11 13:21:06 +08:00
}
.container {
width: 1120px;
margin: 0 auto;
2023-02-25 23:43:44 +08:00
height: 100%;
2023-02-11 13:21:06 +08:00
}
a {
2023-02-25 23:43:44 +08:00
text-decoration: none;
2023-02-11 13:21:06 +08:00
}
2023-02-25 23:43:44 +08:00
.nav {
height: 60px;
background: var(--bs-primary-color);
.container {
display: grid;
grid-template-columns: 1fr 2fr 1fr;
2023-02-11 13:21:06 +08:00
align-items: center;
2023-02-25 23:43:44 +08:00
.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;
2023-02-11 13:21:06 +08:00
}
2023-02-25 23:43:44 +08:00
.nav-end {
text-align: right;
a {
margin-left: 20px;
color: var(--bs-font-color-1);
}
2023-02-11 13:21:06 +08:00
}
}
}