added style.css

main
Sara 2023-05-25 18:34:45 +02:00
parent 8fb52457b3
commit 1c4eefba35
1 changed files with 132 additions and 0 deletions

132
style.css Normal file
View File

@ -0,0 +1,132 @@
html {
font: 100% monospace, sans-serif;
color: black;
background-color: #DDDF;
}
body {
max-width: 1040px;
margin-left: auto;
margin-right: auto;
padding-bottom: 50px;
}
h1 {
font-size: 3.5em;
}
h3 {
font-size: 2em;
margin: 0.1em auto;
}
h2 {
font-size: 2.5em;
margin: 1px auto;
}
a.internal {
text-decoration: none;
color: black;
}
a:hover {
color: #99FF;
}
.operating-system-card {
background-color: #FFFF;
border-radius: 3px;
padding: 2em 2em;
margin: 1em 1em;
}
.distro-columns {
display: grid;
left:0;right:0;
grid-gap: 10px 5px;
grid-template-columns: repeat(3, 33%);
margin-top: 1em;
}
.star-columns {
display: grid;
left:0;right:0;
grid-gap: 10px 5px;
grid-template-columns: repeat(3, 33%);
margin-top: 1em;
}
.star-columns > span {
padding: 0.5em 2em;
border-width: 0;
border-left: 1px;
border-right: 1px;
border-color: gray;
border-style: inset;
border-radius: 3px;
}
.distro-columns > span {
padding: 0.5em 1em;
border-width: 0;
border-left: 1px;
border-right: 1px;
border-color: gray;
border-style: inset;
border-radius: 3px;
}
li[p] {
color: green;
list-style-image: url("assets/icons_positive.svg");
}
li[n] {
color: red;
list-style-image: url("assets/icons_negative.svg");
}
h2.score {
text-align: right;
padding: 0.3em 3em;
}
img.star {
min-width: 2em;
min-height: 2em;
margin: 0;
padding: 0;
}
div.distro-header {
display: grid;
grid-template-columns: 90% 0em
}
img.distro-icon {
max-width: 3em;
max-height: 3em;
padding:0;
margin:0;
display: inline;
}
div.distro-links {
margin-top: 20px;
}
div.distro-links > a {
display: inline;
color: white;
background-color: #44AF;
border-color: black;
margin: 0;
margin-right: 1em;
text-decoration: underline;
padding: 2px 6px;
border-radius: 4px;
width: fit-content;
line-height: 2em;
}