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

50 lines
629 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;
}
.container {
width: 1120px;
margin: 0 auto;
}
a {
&:hover {
text-decoration: none;
}
&:focus {
text-decoration: none;
box-shadow: none;
}
}
.navbar {
height: 2.4rem;
.navbar-section a {
display: flex;
align-items: center;
img {
width: 1.2rem;
}
span {
font-family: backset;
font-size: 1.2em;
padding-left: 0.5em;
color: #121212;
}
}
}