From 7e53a82e9f9afb8517d916ba1417f7a9c5207f7b Mon Sep 17 00:00:00 2001 From: Wilfred Hughes Date: Sat, 23 Dec 2023 12:39:37 -0800 Subject: [PATCH] Better image styling --- homepage/index.html | 189 +++++++++++++++++++++++--------------------- 1 file changed, 100 insertions(+), 89 deletions(-) diff --git a/homepage/index.html b/homepage/index.html index 74a73c1e2..8ec710610 100644 --- a/homepage/index.html +++ b/homepage/index.html @@ -34,12 +34,12 @@ } .container h2 { - padding-bottom: 1.5rem; + padding-bottom: 1rem; } html, body { - background-color: #282a36; + background-color: #2e3436; } object { @@ -53,27 +53,21 @@ color: #f8f8f2; } .red { - color: #ff5555; - } - .green { - color: #50fa7b; - } - .cyan { - color: #8be9fd; + color: #ef2929; } - + .green, a { - color: #50fa7b; + color: #8ae234; } - .btn { - box-shadow: 5px 5px #1d1b22; - } - - img { - /* box-shadow: 10px 10px #1d1b22; */ + .img-wrapper { + width: atuo; border: var(--bs-card-border-width) solid var(--bs-card-border-color); border-radius: var(--bs-border-radius); + background-color: #2e3436; + } + .img-wrapper img { + max-width: 100%; } object { @@ -92,10 +86,6 @@ line-height: 45px; } - - - - @media only screen and (min-width: 900px) { .screenshot { max-width: 800px; @@ -121,43 +111,46 @@
GitHub - GitHub - Manual - Manual - Install - Install -
-

- Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod - tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim - veniam, quis nostrud exercitation. -

+
+

+ Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do + eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad + minim veniam, quis nostrud exercitation. +

+
-
+

Focus On What Changed

- - screenshot +
+ screenshot +

Difftastic parses your code with tree-sitter. Unlike a line-oriented text diff, difftastic understands that the inner expression hasn't @@ -166,11 +159,15 @@

-
+
-

Ignore Formatting Changes

+

+ Ignore Formatting Changes +

- screenshot +
+ screenshot +

Has your code formatter decided to split something over multiple lines? Difftastic can show what has actually changed. @@ -178,17 +175,23 @@

-
+
-

Understand Wrapping Changes

+

+ Understand Wrapping Changes +

- screenshot +
+ screenshot +

Have you added a wrapper? Difftastic can match the delimiters exactly.

- screenshot +
+ screenshot +

Even if you change the inner content, difftastic can still show you the additional wrapper. @@ -196,14 +199,16 @@

-
+
-

+

Real Line Numbers

- screenshot +
+ screenshot +

Do you know how to read @@ -5,6 +5,7 @@ syntax? Difftastic shows the actual @@ -213,42 +218,25 @@

-
+
-

Programming Languages

+

Programming Languages

-
-
- -
- -
-

- C++ -

-
-
-
+

- C# + C++

@@ -258,13 +246,12 @@ class="me-3" width="45px" height="45px" - data="clojure.svg" + data="csharp.svg" type="image/svg+xml" > -

- Clojure + C#

@@ -274,13 +261,13 @@ class="me-3" width="45px" height="45px" - data="lisp.svg" + data="clojure.svg" type="image/svg+xml" >

- Lisp + Clojure

@@ -397,6 +384,22 @@
+
+ + +
+

+ Lisp +

+
+
+
-
+
-

File Formats

+

File Formats

-
+
-

Works With Git

- screenshot +

+ Works With Git +

+
+ screenshot +

See the

-
-

Fully Open Source

-

- Difftastic is - MIT licensed. Download it, modify it, share it with your friends! -

+
+
+

+ Fully Open Source +

+

+ Difftastic is + MIT licensed. Download it, modify it, share it with your friends! +

+