feat(gws.fyi): Add some very light CSS
web-brutalism is so 3 years ago, bro but seriously, I'd like to start putting some actual stuff here, so let's make it look halfway-decent. Change-Id: Ic78d725b3755c2307c7ea155af8d0f90e287830c Reviewed-on: https://cl.tvl.fyi/c/depot/+/2697 Reviewed-by: glittershark <grfn@gws.fyi> Tested-by: BuildkiteCI
This commit is contained in:
parent
c3f35caefa
commit
8d094be9ce
4 changed files with 132 additions and 1 deletions
|
@ -90,6 +90,7 @@
|
|||
mdbook
|
||||
meson
|
||||
mime-types
|
||||
minify
|
||||
mkShell
|
||||
moreutils
|
||||
nano
|
||||
|
|
|
@ -5,9 +5,17 @@ let
|
|||
resume = import ../resume args;
|
||||
bucket = "s3://gws.fyi";
|
||||
distributionID = "E2ST43JNBH8C64";
|
||||
|
||||
css = runCommand "main.css" {
|
||||
buildInputs = [ pkgs.minify ];
|
||||
} ''
|
||||
minify --type css < ${./main.css} > $out
|
||||
'';
|
||||
|
||||
website =
|
||||
runCommand "gws.fyi" { } ''
|
||||
mkdir -p $out
|
||||
cp ${css} $out/main.css
|
||||
cp ${site.index} $out/index.html
|
||||
cp ${resume} $out/resume.pdf
|
||||
'';
|
||||
|
|
|
@ -1,5 +1,6 @@
|
|||
#+OPTIONS: title:nil
|
||||
#+OPTIONS: title:nil toc:nil num:nil
|
||||
#+HTML_HEAD: <title>griffin smith</title>
|
||||
#+HTML_HEAD: <link rel="stylesheet" href="./main.css">
|
||||
|
||||
my name is griffin ward smith (aka grfn, glittershark, gws) and i'm a software
|
||||
engineer and musician
|
||||
|
|
121
users/glittershark/gws.fyi/main.css
Normal file
121
users/glittershark/gws.fyi/main.css
Normal file
|
@ -0,0 +1,121 @@
|
|||
@import url(https://fonts.googleapis.com/css?family=Inconsolata|Inter&display=swap);
|
||||
|
||||
body {
|
||||
margin-top: 40px;
|
||||
margin-left: 150px;
|
||||
max-width: 900px;
|
||||
line-height: 1.6;
|
||||
font-size: 16px;
|
||||
background: #f8f3ff;
|
||||
color: #3a1616;
|
||||
padding: 0 10px;
|
||||
font-family: Inter, sans-serif;
|
||||
}
|
||||
|
||||
input {
|
||||
padding: 10px 16px;
|
||||
margin: 2px 0;
|
||||
box-sizing: border-box;
|
||||
border: 2px solid #dabebe;
|
||||
border-radius: 6px;
|
||||
background: #f8f3ff;
|
||||
color: #3a1616;
|
||||
font-size: 16px;
|
||||
-webkit-transition: 0.5s;
|
||||
transition: 0.5s;
|
||||
outline: 0;
|
||||
}
|
||||
|
||||
input:focus {
|
||||
border: 2px solid #3a1616;
|
||||
}
|
||||
|
||||
.button {
|
||||
background-color: #f8f3ff;
|
||||
border: none;
|
||||
color: #000;
|
||||
padding: 6px 14px;
|
||||
text-align: center;
|
||||
text-decoration: none;
|
||||
display: inline-block;
|
||||
font-size: 16px;
|
||||
margin: 4px 2px;
|
||||
transition-duration: 0.4s;
|
||||
cursor: pointer;
|
||||
border: 2px solid #3a1616;
|
||||
border-radius: 6px;
|
||||
}
|
||||
|
||||
.button:hover {
|
||||
background-color: #3a1616;
|
||||
color: #fff;
|
||||
}
|
||||
|
||||
.isa_error,
|
||||
.isa_info,
|
||||
.isa_success,
|
||||
.isa_warning {
|
||||
width: 90%;
|
||||
margin: 10px 0;
|
||||
padding: 12px;
|
||||
}
|
||||
|
||||
.isa_info {
|
||||
color: #00529b;
|
||||
background-color: #bde5f8;
|
||||
}
|
||||
|
||||
.isa_success {
|
||||
color: #4f8a10;
|
||||
background-color: #dff2bf;
|
||||
}
|
||||
|
||||
.isa_warning {
|
||||
color: #9f6000;
|
||||
background-color: #feefb3;
|
||||
}
|
||||
|
||||
.isa_error {
|
||||
color: #d8000c;
|
||||
background-color: #ffd2d2;
|
||||
}
|
||||
|
||||
h1,
|
||||
h2,
|
||||
h3 {
|
||||
line-height: 1.2;
|
||||
font-family: Inter, sans-serif;
|
||||
}
|
||||
|
||||
h2 {
|
||||
font-size: 18px;
|
||||
}
|
||||
|
||||
img {
|
||||
max-width: 750px;
|
||||
border-radius: 10px;
|
||||
}
|
||||
|
||||
a {
|
||||
cursor: pointer;
|
||||
color: #217ab7;
|
||||
line-height: inherit;
|
||||
}
|
||||
|
||||
a:hover {
|
||||
background-color: #e3d6ff;
|
||||
}
|
||||
|
||||
a:visited {
|
||||
color: #43458b;
|
||||
border-color: #43458b;
|
||||
}
|
||||
|
||||
pre {
|
||||
font-family: Inconsolata, monospace;
|
||||
}
|
||||
|
||||
::selection {
|
||||
color: #fff;
|
||||
background: #ff4081;
|
||||
}
|
Loading…
Reference in a new issue