summaryrefslogtreecommitdiff
path: root/static/style.css
diff options
context:
space:
mode:
Diffstat (limited to 'static/style.css')
-rw-r--r--static/style.css174
1 files changed, 174 insertions, 0 deletions
diff --git a/static/style.css b/static/style.css
new file mode 100644
index 0000000..74332eb
--- /dev/null
+++ b/static/style.css
@@ -0,0 +1,174 @@
+* {
+ margin: 0;
+ padding: 0;
+}
+
+body {
+ width: 100%;
+ min-height: 100vh;
+ display: flex;
+ justify-content: center;
+}
+
+main {
+ width: 50%;
+ display: flex;
+ flex-direction: column;
+ gap: 32px;
+ margin-top: 32px;
+}
+
+a {
+ color: black;
+}
+
+a.gray {
+ background: lightgray;
+}
+
+a.green {
+ background: lime;
+}
+
+a:hover {
+ color: white;
+ background: black;
+ text-decoration: line-through;
+}
+
+p img {
+ vertical-align: bottom;
+}
+
+.status {
+ display: flex;
+ flex-direction: column;
+ justify-content: center;
+ align-items: center;
+}
+
+.main-links {
+ display: flex;
+ flex-direction: row;
+ justify-content: space-around;
+}
+
+.main-links img {
+ vertical-align: middle;
+}
+
+.rain {
+ width: 100%;
+ min-height: 10%;
+ background-image: url('/static/img/rain.gif');
+ background-repeat: repeat;
+
+ display: flex;
+ justify-content: end;
+ align-items: end;
+}
+
+.rain p {
+ padding: 0 32px;
+ font-family: cursive, serif;
+}
+
+.rain img {
+ vertical-align: bottom;
+}
+
+.projects {
+ display: flex;
+ flex-direction: column;
+ gap: 8px;
+}
+
+.project {
+ padding-top: 16px;
+ display: flex;
+ flex-direction: row;
+ gap: 8px;
+}
+
+.project .icon-wrapper {
+ display: flex;
+ justify-content: center;
+ align-items: center;
+}
+
+.icon-wrapper img {
+ width: 256px;
+}
+
+.project .summary {
+ display: flex;
+ flex-direction: column;
+ justify-content: space-between;
+}
+
+.summary .title {
+ display: flex;
+ flex-direction: row;
+ gap: 16px;
+}
+
+.title .year {
+ font-size: 10px;
+}
+
+.project .screenshots {
+ display: flex;
+ flex-direction: row;
+ gap: 8px;
+}
+
+.screenshots a:hover {
+ background: unset;
+ color: unset
+}
+
+.screenshots img {
+ vertical-align: bottom;
+ width: 128px;
+}
+
+.links {
+ display: flex;
+ flex-direction: row;
+ gap: 8px;
+ align-items: center;
+}
+
+.projects>.project {
+ border-top: 1px solid black;
+}
+
+.projects>.project:first-child {
+ border-top: none;
+}
+
+@media only screen and (max-width: 1400px) {
+ main {
+ width: 70%;
+ }
+}
+
+@media only screen and (max-width: 1200px) {
+ main {
+ width: 80%;
+ }
+}
+
+@media only screen and (max-width: 1000px) {
+ main {
+ width: unset;
+ }
+
+ .project {
+ flex-direction: column;
+ }
+
+ .screenshots {
+ justify-content: center;
+ }
+} \ No newline at end of file