@tanggoat/pack-start
Version:
基于webpack的前端脚手架工具
69 lines (60 loc) • 1.13 kB
CSS
/* 全局样式重置 */
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen',
'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue',
sans-serif;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
line-height: 1.6;
color: #333;
}
code {
font-family: source-code-pro, Menlo, Monaco, Consolas, 'Courier New',
monospace;
background-color: #f4f4f4;
padding: 2px 4px;
border-radius: 3px;
font-size: 0.9em;
}
/* 链接样式 */
a {
color: #007acc;
text-decoration: none;
}
a:hover {
text-decoration: underline;
}
/* 按钮样式 */
button {
cursor: pointer;
border: none;
background: none;
font-family: inherit;
}
/* 输入框样式 */
input, textarea, select {
font-family: inherit;
font-size: inherit;
}
/* 图片样式 */
img {
max-width: 100%;
height: auto;
}
/* 容器样式 */
.container {
max-width: 1200px;
margin: 0 auto;
padding: 0 20px;
}
/* 响应式设计 */
@media (max-width: 768px) {
.container {
padding: 0 15px;
}
}