Features/index.css
2022-08-02 21:38:23 +02:00

134 Zeilen
2.2 KiB
CSS

html {
/* Scrolls for me */
scroll-behavior: smooth;
}
h1 {
font-size: 2.5rem;
font-weight: bold;
margin-bottom: 1rem;
}
h2 {
font-size: 2rem;
font-weight: bold;
margin-bottom: 1rem;
}
h3 {
font-size: 1.5rem;
font-weight: bold;
margin-bottom: 1rem;
}
h4 {
font-size: 1.25rem;
font-weight: bold;
margin-bottom: 1rem;
}
details {
cursor: pointer;
user-select: none;
-webkit-user-select: none;
-khtml-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
height: auto;
max-height: 3em;
transition: all 0.1s ease;
}
details[open] {
max-height: 99em;
transition: all 1s ease;
overflow: hidden;
}
summary > h4 {
display: inline;
}
details > ul {
cursor: auto;
user-select: text;
-webkit-user-select: text;
-khtml-user-select: text;
-moz-user-select: text;
-ms-user-select: text;
}
code {
font-family: monospace, monospace;
font-size: 1em;
padding: .2rem .4rem;
color: #bd4147;
background-color: #f7f7f9;
border-radius: .25rem;
}
body {
font-family: 'Roboto', sans-serif;
margin: 0;
padding: 0;
}
.center {
display: flex;
justify-content: center;
}
img {
width: 100%;
box-shadow: 0 10px 16px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
border-radius: 0.3rem;
}
#content {
width: clamp(60%, 60rem, 97%);
}
a {
color: black;
text-decoration: none;
}
.btn {
padding: .5rem 1rem;
background: rgb(0, 108, 255);
cursor: pointer;
border: rgba(0, 0, 0, 0.1) solid 1px;
border-radius: .3rem;
cursor: pointer;
user-select: none;
-webkit-user-select: none;
-khtml-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
}
header {
background: black;
color: white;
height: fit-content;
width: 100%;
display: flex;
}
#back-button {
margin-left: 15px;
display: flex;
align-items: center;
justify-content: center;
height: 100%;
color: white;
font-size: clamp(20px, 2.5vh, 100px);
user-select: none;
-webkit-user-select: none;
-khtml-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
}