[hideprofile]
[html]
<style>
.tabs-wrapper {
width: 100%;
margin: 0 auto;
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
box-sizing: border-box;
}
/* Component Needs */
.tabs-container>input,
.tabs-content>div {
display: none;
}
#tab1:checked~.tabs-content .tab1,
#tab2:checked~section .tab2,
#tab3:checked~.tabs-content .tab3 {
display: block;
}
.tabs-container {
width: 100%;
max-width: 600px;
margin: 0 auto;
}
.tabs-labels-list {
list-style: none;
margin: 0;
padding: 0;
}
.tabs-labels-name {
font-family: 'Noto Serif', serif;
font-size: 1.2rem;
float: left;
padding: 8px 25px;
border: 1px solid #ddd;
border-bottom: 0;
background: #eeeeee;
color: #444;
border-top-right-radius: 10px;
border-top-left-radius: 10px;
}
.tabs-labels-name:hover {
background: #dddddd;
}
.tabs-labels-name:active {
background: #ffffff;
}
.tabs-labels-name:not(:last-child) label {
border-right-width: 0;
}
.tabs-content {
clear: both;
}
.content-block {
padding: 20px;
width: 100%;
border: 1px solid #ddd;
background: #fff;
line-height: 1.5em;
letter-spacing: 0.3px;
color: #444;
box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.15);
}
.tabs_content-title {
margin: 0;
font-family: 'Noto Serif', serif;
font-size: 1.5rem;
letter-spacing: 1px;
color: #34495e;
}
#tab1:checked~nav .tab1 label,
#tab2:checked~nav .tab2 label,
#tab3:checked~nav .tab3 label {
background: white;
color: #111;
position: relative;
}
#tab1:checked~nav .tab1 label:after,
#tab2:checked~nav .tab2 label:after,
#tab3:checked~nav .tab3 label:after {
content: "";
display: block;
position: absolute;
height: 2px;
width: 100%;
background: #ffffff;
left: 0;
bottom: -1px;
}
.tabs-content-subtitle {
font-weight: 500;
font-size:1.1rem;
display: inline-block;
padding-top: 5px;
color: #34495e;
}
.tabs-content-subtitle::before {
content:'§';
color: #34495e;
margin-right:5px;
vertical-align:text-bottom;
}
.tabs-content-list {
list-style-type: none;
}
.tabs-content-list > li:before {
content: '✦';
padding-right:5px;
}
</style>
<div class="tabs-wrapper">
<div class="tabs-container">
<input checked="checked" id="tab1" type="radio" name="pct" />
<input id="tab2" type="radio" name="pct" />
<input id="tab3" type="radio" name="pct" />
<nav>
<ul class="tabs-labels-list">
<li class="tabs-labels-item tab1">
<label class="tabs-labels-name tab1" for="tab1">Правила</label>
</li>
<li class="tabs-labels-item tab2">
<label class="tabs-labels-name" for="tab2">F.A.Q.</label>
</li>
<li class="tabs-labels-item tab3">
<label class="tabs-labels-name" for="tab3">Третья вкладка</label>
</li>
</ul>
</nav>
<section class="tabs-content">
<div class="content-block tab1">
<div class="tabs_content-title">First</div>
<p>Lorem ipsum dolor sit amet, consectetur adipisicing elit. Repellendus itaque quidem minus nostrum,
voluptatem accusamus aspernatur quia harum ratione, officia laudantium inventore autem doloribus atque
labore numquam non. Hic, animi.</p>
<span class="tabs-content-subtitle">Пункт 1</span>
<p>Lorem ipsum dolor sit amet, consectetur adipisicing elit. Repellendus itaque quidem minus nostrum,
voluptatem accusamus aspernatur quia harum ratione, officia laudantium inventore autem doloribus atque
labore numquam non. Hic, animi.</p>
<span class="tabs-content-subtitle">Пункт 1</span>
<p>Lorem ipsum dolor sit amet, consectetur adipisicing elit. Repellendus itaque quidem minus nostrum,
voluptatem accusamus aspernatur quia harum ratione, officia laudantium inventore autem doloribus atque
labore numquam non. Hic, animi.</p>
<p>Lorem ipsum dolor sit amet, consectetur adipisicing elit. Repellendus itaque quidem minus nostrum,
voluptatem accusamus aspernatur quia harum ratione, officia laudantium inventore autem doloribus atque
labore numquam non. Hic, animi.</p>
<p>
<ul class="tabs-content-list">
<li>accusamus aspernatur quia</li>
<li>accusamus aspernatur quia</li>
<li>accusamus aspernatur quia</li>
<li>Praesentium eaque</li>
<li>Praesentium eaque</li>
<li>Praesentium eaque</li>
</ul>
</p>
</div>
<div class="content-block tab2">
<div class="tabs_content-title">Second</div>
<p>Lorem ipsum dolor sit amet, consectetur adipisicing elit. Laborum nesciunt ipsum dolore error repellendus
officiis aliquid a, vitae reprehenderit, accusantium vero, ad. Obcaecati numquam sapiente cupiditate.
Praesentium eaque, quae error!</p>
<p>Lorem ipsum dolor sit amet, consectetur adipisicing elit. Perferendis, maiores.</p>
<p>Lorem ipsum dolor sit amet, consectetur adipisicing elit. Repellendus itaque quidem minus nostrum,
voluptatem accusamus aspernatur quia harum ratione, officia laudantium inventore autem doloribus atque
labore numquam non. Hic, animi.</p>
<div class="tabs_content-title">Second</div>
<p>Lorem ipsum dolor sit amet, consectetur adipisicing elit. Repellendus itaque quidem minus nostrum,
voluptatem accusamus aspernatur quia harum ratione, officia laudantium inventore autem doloribus atque
labore numquam non. Hic, animi.</p>
<div class="tabs_content-title">Second</div>
<p>Lorem ipsum dolor sit amet, consectetur adipisicing elit. Repellendus itaque quidem minus nostrum,
voluptatem accusamus aspernatur quia harum ratione, officia laudantium inventore autem doloribus atque
labore numquam non. Hic, animi.</p>
</div>
<div class="content-block tab3">
<div class="tabs_content-title">Third</div>
<p>Lorem ipsum dolor sit amet, consectetur adipisicing elit. Optio, nobis culpa rem, vitae earum aliquid.</p>
</div>
</section>
</div>
</div>
[/html]