tiptap/docs/src/layouts/App/style.scss

78 lines
1.2 KiB
SCSS
Raw Normal View History

2020-04-17 23:06:55 +08:00
.app {
display: flex;
flex-direction: column;
min-height: 100%;
2020-04-18 05:18:18 +08:00
&__logo {
font-weight: 700;
font-size: 1.4rem;
}
2020-04-18 18:48:20 +08:00
&__link-group {
margin-bottom: 2rem;
}
&__link-group-title {
font-weight: 700;
2020-04-18 23:05:29 +08:00
letter-spacing: 0.025rem;
2020-04-18 18:48:20 +08:00
font-size: 0.75rem;
text-transform: uppercase;
color: rgba($colorBlack, 0.4);
margin-bottom: 0.5rem;
}
2020-04-18 05:18:18 +08:00
&__link {
display: block;
padding: 0.1rem 0.5rem;
border-radius: 5px;
font-weight: 500;
color: rgba($colorBlack, 0.7);
margin-bottom: 0.2rem;
margin-left: -0.5rem;
&.active,
&:hover {
color: $colorBlack;
background-color: rgba($colorBlack, 0.05);
}
}
2020-04-19 04:35:29 +08:00
&__header,
&__content {
display: flex;
width: 100%;
max-width: 62rem;
margin: 0 auto;
padding-left: 2rem;
padding-right: 2rem;
}
2020-04-17 23:06:55 +08:00
&__header {
flex: 0 0 auto;
2020-04-19 04:35:29 +08:00
align-items: center;
justify-content: space-between;
padding-top: 2rem;
padding-bottom: 2rem;
2020-04-17 23:06:55 +08:00
}
&__content {
flex: 1 1 auto;
}
&__sidebar {
flex: 0 0 auto;
width: 18rem;
2020-04-18 05:18:18 +08:00
padding-right: 3rem;
2020-04-17 23:06:55 +08:00
}
&__main {
flex: 1 1 auto;
min-width: 0;
}
&__inner {
max-width: 62rem;
margin: 0 auto;
2020-04-18 05:18:18 +08:00
padding: 0 2rem;
2020-04-17 23:06:55 +08:00
}
}