diff --git a/index.css b/index.css index 5f4cfce..0bf495c 100644 --- a/index.css +++ b/index.css @@ -7,6 +7,33 @@ background: rgb(0,0,0); color: rgb(160,160,160); font-family: sans; } + +.tabs { +position: relative; +} +.tab { +float: left; +} +.tab input { +display: none; +} +.tab label { +background: rgb(128,0,128); +cursor: pointer; +text-decoration: underline; +} +.tab_content { +display: none; +left: 0; +position: absolute; +} +input:checked ~ label { +background: rgb(128,128,0); +} +input:checked ~ label ~ .tab_content { +display: block; +} + a { color: rgb(0,192,192); } diff --git a/index.html b/index.html index f490805..ea5e6a2 100644 --- a/index.html +++ b/index.html @@ -9,6 +9,26 @@