From e89ea44a83b1cc7926414a19c942e3b239a896e6 Mon Sep 17 00:00:00 2001 From: xengineering Date: Sat, 4 Sep 2021 12:13:05 +0200 Subject: Add code Element --- css/xengineering.css | 13 +++++++++---- html/template.html | 4 ++++ 2 files changed, 13 insertions(+), 4 deletions(-) diff --git a/css/xengineering.css b/css/xengineering.css index 97a7f96..d81902b 100644 --- a/css/xengineering.css +++ b/css/xengineering.css @@ -7,10 +7,6 @@ vim: shiftwidth=2 tabstop=2 expandtab /********************************** MOBILE ************************************/ -* { - -} - body { margin: 0; font-family: Arial, Helvetica, sans-serif; @@ -53,6 +49,15 @@ nav button:hover { background-color: lightgray; } +pre { + white-space: pre-wrap; + color: black; + background-color: lightgray; + padding: 10px; + border-radius: 5px; +} + + /******************************************************************************/ diff --git a/html/template.html b/html/template.html index 8416587..c1b2e3f 100644 --- a/html/template.html +++ b/html/template.html @@ -27,6 +27,10 @@

libweb

A repository with reusable components for web development.

example link +
#!/usr/bin/python3
+
+print("This is just some example code!")
+