Skip to content

Commit

Permalink
Add Nikki and a photo of both of us to About page
Browse files Browse the repository at this point in the history
  • Loading branch information
RussianCow committed Jan 11, 2025
1 parent ac7f709 commit 48456c8
Show file tree
Hide file tree
Showing 6 changed files with 56 additions and 0 deletions.
9 changes: 9 additions & 0 deletions website/sass/about.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
@import "./colors.scss";
@import "./utils.scss";
@import "./vars.scss";

.markdown-content {
figure + h2 {
margin-top: 0;
}
}
34 changes: 34 additions & 0 deletions website/sass/base.scss
Original file line number Diff line number Diff line change
Expand Up @@ -201,6 +201,40 @@ button {
}
}

figure {
margin: 0;
display: flex;
flex-direction: column;
align-items: flex-end;

img {
display: block;
width: 100%;
border: 4px solid $accent-color-primary;
border-radius: $border-radius-large;
box-sizing: border-box;
}

figcaption {
display: inline;
font-size: pixels-to-rem(13);
background-color: $accent-color-primary;
padding: 0.25em 0.5em;
margin-right: $border-radius-large;
border-bottom-left-radius: $border-radius-default;
border-bottom-right-radius: $border-radius-default;
color: $text-color-inverse;

a {
color: inherit;
text-decoration-thickness: 1px;
&:hover {
text-decoration-thickness: 3px;
}
}
}
}

.no-border-radius-top {
border-top-left-radius: 0;
border-top-right-radius: 0;
Expand Down
1 change: 1 addition & 0 deletions website/sass/colors.scss
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ $bg-color-primary: #0c5035;
// $bg-color-primary: #050505;
// $bg-color-primary: #23363a;
$text-color-primary: #eff7f8;
$text-color-inverse: #141414;
// $fg-color-primary: #577D86;
$fg-color-primary: #607a6f;
// $accent-color-primary: #fff157;
Expand Down
1 change: 1 addition & 0 deletions website/sass/vars.scss
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
$border-radius-default: 5px;
$border-radius-large: 20px;
$mobile-width: 640px;
Binary file added website/static/us.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
11 changes: 11 additions & 0 deletions website/templates/about.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
{% extends "base.html" %}

{% block head %}
<link rel="stylesheet" href="/about.css">
{% endblock %}

{% block content %}
<div class="markdown-content page">
{{ page.content | safe }}
</div>
{% endblock content %}

0 comments on commit 48456c8

Please sign in to comment.