This commit is contained in:
Robin Appelman 2023-04-08 23:21:21 +02:00
commit 6e456a6596
6 changed files with 212 additions and 0 deletions

41
style/section.css Normal file
View file

@ -0,0 +1,41 @@
section > div.title {
overflow: hidden;
padding-left: 30px;
margin-left: -30px;
margin-right: -30px;
}
section > div > h3 {
font-size: 22px;
display: inline-block;
padding: 0 5px;
position: relative;
margin-left: 20px;
margin-bottom: 0;
min-width: 50px;
}
section > div > h3:before,
section > div > h3:after {
background: #888;
content: "";
display: block;
height: 2px;
position: absolute;
top: 45%;
}
section > div > h3:before {
width: 100%;
margin-left: -20px;
right: 100%;
}
section > div > h3:after {
left: 100%;
width: 9999%;
}
section > div > h3 + * {
margin-top: 10px;
}

View file

@ -1,6 +1,7 @@
@import 'header.css';
@import 'footer.css';
@import 'pure.css';
@import 'section.css';
@import 'pages/index.css';
@import 'pages/demo.css';