website/css/style.css

137 lines
2.2 KiB
CSS
Raw Normal View History

2019-10-28 14:59:32 +01:00
:root {
2019-10-28 22:06:15 +01:00
--code-color: #eee8d5; /* gray (base2) */
2019-10-28 14:59:32 +01:00
}
2014-02-01 17:11:40 +01:00
body {
2019-10-28 22:06:15 +01:00
max-width: 800px;
font-family: sans-serif;
font-size: 12pt;
line-height: 1.4;
padding-left: 2ch;
padding-right: 3ch; /* for scrollbar */
margin: 0 auto;
2014-02-01 17:11:40 +01:00
background-color: #fdf6e3;
color: #586e75; /*base01*/
}
h1 {
color: #d33682; /* magenta */
}
h2 {
color: #d33682; /* magenta */
}
h3 {
color: #cb4b16; /* orange */
}
div#banner {
height: 50px;
/*background-color: #2aa198;*/ /* cyan */
background-color: #268bd2; /* blue */
}
a {
color: #268bd2; /* blue */
text-decoration: none;
}
div#navigation {
background-color: #268bd2; /* blue */
2019-10-28 22:06:15 +01:00
text-align: center;
border-bottom: 4px solid black;
2014-02-01 17:11:40 +01:00
text-transform: uppercase;
margin-bottom: 30px;
}
div#navigation a {
2019-10-28 22:06:15 +01:00
color: white;
text-decoration: none;
background-color: black;
padding: 3px 10px 3px 10px;
margin: 0px 10px 0px 10px;
2014-02-01 17:11:40 +01:00
}
2019-10-28 13:36:28 +01:00
p.date {
2019-10-28 22:06:15 +01:00
font-style: italic;
2019-10-28 13:36:28 +01:00
}
p.repository {
2019-10-28 22:06:15 +01:00
background-color: var(--code-color);
padding: 10px 10px 10px 10px;
2019-10-28 14:59:32 +01:00
}
pre {
2019-10-28 22:06:15 +01:00
background-color: var(--code-color);
padding: 10px 10px 10px 10px;
font-size: 11pt;
2019-10-28 14:59:32 +01:00
}
blockquote {
2019-10-28 22:06:15 +01:00
background-color: var(--code-color);
padding: 10px 10px 10px 10px;
2019-10-28 14:59:32 +01:00
}
code {
2019-10-28 22:06:15 +01:00
background-color: var(--code-color);
}
2019-10-29 23:56:37 +01:00
ul.projects {
2019-10-28 22:06:15 +01:00
display: grid;
grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
grid-auto-rows: minmax(100px, auto);
gap: 10px;
grid-gap: var(gap); /* fallback */
list-style: none;
padding-left: 0;
2019-10-29 23:56:37 +01:00
font-size: 13pt;
2019-10-28 22:06:15 +01:00
}
2019-10-29 23:56:37 +01:00
ul.projects a {
2019-10-28 22:06:15 +01:00
display: grid;
align-items: center;
border: 1pt solid #ddd;
height: 100%;
2019-10-29 23:56:37 +01:00
text-align: center;
2019-10-28 22:06:15 +01:00
text-transform: uppercase;
2019-10-29 23:56:37 +01:00
font-weight: bold;
text-shadow: 0 0 0.4em black;
color: white;
background-size: cover;
background-position: center;
2014-02-01 17:11:40 +01:00
}
2019-10-29 23:56:37 +01:00
ul.screenshots {
2019-10-28 22:06:15 +01:00
display: grid;
2019-10-29 23:56:37 +01:00
grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
grid-auto-rows: minmax(150px, auto);
2019-10-28 22:06:15 +01:00
gap: 10px;
2019-06-13 13:56:15 +02:00
2019-10-28 22:06:15 +01:00
list-style: none;
padding-left: 0;
2014-02-01 17:11:40 +01:00
}
2019-10-29 23:56:37 +01:00
ul.screenshots a {
2019-10-28 22:06:15 +01:00
display: grid;
align-items: center;
border: 1pt solid #ddd;
height: 100%;
background-size: cover;
background-position: center;
2014-02-01 17:11:40 +01:00
}
#footer {
2019-06-11 13:18:29 +02:00
max-width: 800px;
2014-02-01 17:11:40 +01:00
margin: 0 auto;
padding-top: 40px;
padding-bottom: 20px;
color: #93a1a1;
text-align: center;
font-size: small;
}