fenix-fox/html_resources/main.css

96 lines
2.2 KiB
CSS
Raw Normal View History

2020-06-01 17:24:22 +00:00
body{background-color: rgb(60,50,70); color: silver; margin: 0px }
#ui{ display: flex; }
#site{ height: 100vh; overflow-y: auto; flex: 1 }
2020-06-01 17:24:22 +00:00
2020-07-18 05:39:34 +00:00
.categoryList{
2020-06-01 17:24:22 +00:00
padding-block: 1em;
box-sizing: border-box;
border-inline-end: 1px solid gold;
background-color: rgb(60,60,70);
max-height: 100vh;
overflow-y: auto;
min-width: 18ch
}
2020-07-19 10:51:44 +00:00
.categoryList.blurred{
2020-07-19 10:51:44 +00:00
background-color: rgb(20,20,30);
opacity: 0.5;
margin-inline-end: -13ch;
}
#secondaryCategories{
position: relative;
z-index:1;
}
.categoryList:hover{
position: relative;
z-index: 2;
background-color: rgb(60,60,70);
opacity: 1;
}
2020-06-01 17:24:22 +00:00
a{ color: rgb(100,150,200); margin-inline-start: 1ch }
pre a{ margin: 0 }
2020-06-01 17:24:22 +00:00
a:visited{ color: rgb(150,100,200) }
a:hover{ color: rgb(200,150,100) }
pre:empty{ display: none }
2020-07-18 05:39:34 +00:00
.category{ padding: 0.2em 1em; cursor: pointer; text-transform: capitalize }
#categories > .category[data-value]::after{ content: " (" attr(data-value) ")"; float: right}
2020-06-01 17:24:22 +00:00
.currentCategory,
.category:hover{ background-color: grey }
2020-07-18 05:39:34 +00:00
.currentCategory::before{ content: "»" }
2020-06-01 17:24:22 +00:00
.target{
2020-06-05 10:38:44 +00:00
margin: 0.1em;
2020-06-01 17:24:22 +00:00
background-color: rgb(60,60,70);
2020-06-05 10:38:44 +00:00
padding: 0.3em;
2020-06-01 17:24:22 +00:00
border: 1px solid rgb(40,40,40);
border-radius: 4px;
max-width: 50ch;
cursor: pointer
2020-06-05 10:38:44 +00:00
}
.target > a{
content: "";
width: 1.2em;
height: 1.3em;
background-image: url("ext.svg");
background-repeat: no-repeat;
background-size: contain;
2020-06-01 17:24:22 +00:00
}
.target:hover{ background-color: rgb(80,80,90) }
.target > a:hover{ filter: drop-shadow(0 0 3px fuchsia) }
2020-07-19 10:51:44 +00:00
/*#targets{ display: grid; grid-template-columns: 1fr 1fr 1fr }*/
#targets{
display: flex;
flex-direction: column;
flex-wrap: wrap;
max-height: calc(var(--grid-rows) * 2.4rem);
}
2020-06-01 17:24:22 +00:00
pre{
white-space: pre-wrap;
margin: 1em;
border: 2px inset;
padding: 0.5em;
background-color: rgb(40,50,50)
}
.categoryList:not(.blurred)+.categoryList,
2020-06-01 17:24:22 +00:00
.hidden{ display: none !important }
2020-09-02 08:42:30 +00:00
.target{ display: flex; justify-content: space-between }
.comment{ color: rgb(50,180,20) }
.selector{ color: violet }
.pseudo{ color: silver }
.id{ color: lightcoral }
.class{ color: lightgreen }
.attribute{ color: cyan }
2020-09-03 09:07:52 +00:00
.atrule{ color: royalblue }
.atvalue{ color: lightblue }
2020-09-02 08:42:30 +00:00
.property{ color: orange }
2020-09-03 09:07:52 +00:00
.value{ color: skyblue }
.curly{ color: orangered }