commit 11ed313044e92e4575b711cea706122e22c7f6a1 Author: threeoh6000 Date: Thu Oct 24 22:01:22 2024 +0100 Initial commit diff --git a/LICENCE b/LICENCE new file mode 100644 index 0000000..f1e1b98 --- /dev/null +++ b/LICENCE @@ -0,0 +1,8 @@ +Copyright (c) 2024 abbieoverflight + +Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + diff --git a/README.md b/README.md new file mode 100644 index 0000000..e911b49 --- /dev/null +++ b/README.md @@ -0,0 +1,4 @@ +# Luna CSS +A recreation of the Windows XP Luna theme in HTML+CSS. An example webpage is provided. + +![Example webpage screenshot](https://git.colean.cc/threeoh6000/luna/raw/branch/master/ss.png) diff --git a/bliss.jpg b/bliss.jpg new file mode 100644 index 0000000..3e08efa Binary files /dev/null and b/bliss.jpg differ diff --git a/index.html b/index.html new file mode 100644 index 0000000..900c05c --- /dev/null +++ b/index.html @@ -0,0 +1,43 @@ + + + + Windows XP + + + + + +
+
+

Windows XP

+

🗙

+

🗗

+

🗕

+
+
+
+ +

|

+ +

|

+ +
+
+

Hello, world!

+

+ + Veritatis facilis et odio voluptas recusandae. Dolore alias doloribus aut. Quasi distinctio voluptates sed.

+ + Aut autem voluptates eum ut recusandae. Eveniet aut enim voluptas quasi commodi exercitationem dicta. Placeat cupiditate non et reprehenderit perferendis. A tempora exercitationem beatae qui dicta maiores est amet. Sint assumenda rerum sed placeat natus qui odio aut.

+ + Dicta ea nihil accusamus. Et sequi quia in ipsam ut quia non. Consequatur ut qui est velit et. Ratione eligendi est nisi a modi atque fugit dolor.

+ + Et commodi ratione voluptatum in. Aut fugit omnis suscipit voluptatem voluptates. Illo excepturi officiis quia temporibus suscipit eos. Eligendi ut sunt ut animi assumenda quaerat.

+ + Deleniti praesentium saepe et ut magni accusamus ipsum. Omnis delectus velit aut delectus ut ut rerum ipsum. Sequi veniam sapiente fugiat. Aut et minus sunt neque vel. +

+
+
+
+ + diff --git a/ss.png b/ss.png new file mode 100644 index 0000000..a31802a Binary files /dev/null and b/ss.png differ diff --git a/style.css b/style.css new file mode 100644 index 0000000..d992279 --- /dev/null +++ b/style.css @@ -0,0 +1,136 @@ +@font-face { + font-family: "Trebuchet MS"; + src: url(trebuchet.ttf); + font-display: swap; +} + +@font-face { + font-family: "Tahoma"; + src: url(tahoma.ttf); + font-display: swap; +} + + +.container { + display: flex; + min-height: 95vh; + margin: 0; + flex-direction: column; + background: #0157e8; + border-top-left-radius: 8px; + border-top-right-radius: 8px; + background-image: linear-gradient(to bottom, #2b90ff, #004de3 8.5%); +} + +body { + margin: 1em; + background: url(bliss.jpg); + background-repeat: no-repeat; + background-size: cover; +} + +.header { + padding: 0; + margin: 0; + margin-top: 5px; + margin-left: 8px; + margin-right: 3px; + color: #fff; +} + +.header h1 { + font-family: "Trebuchet MS"; + float: left; + display: inline; + margin: 0; + margin-left: 0.15em; + margin-top: 0.2em; +} + +.header .header-button { + background: #025af0; + display: inline; + float: right; + margin: 0; + padding: 2px; + width: 2em; + margin-right: 0.2em; + border: 2px solid white; + text-align: center; + border-radius: 3px; + background-image: linear-gradient(160deg, #90aff9, #025af0 70%); +} + +.header .header-button #minimise { + transform: translateY(0.5em); +} + +.header .header-button #maximise { + transform: translateY(0.2em); +} + +.header .header-button #close { + transform: translateY(0.1em); +} + +.header .header-button p { + font-family: "Trebuchet MS"; + margin: 0; + font-size: 140%; +} + +.header .header-button img { + margin: 0; + min-height: 100%; + align: center; + min-width: 100%; +} + +#red { + background: #e03802; + background-image: linear-gradient(160deg, #f1ac9a, #e03802 70%); +} + +.formarea { + display: flex; + flex-direction: column; + flex: 1; + background: #fff; + padding-top: 0; + margin: 0.2em; +} + +.content { + padding-left: 0.5em; + padding-right: 0.5em; + margin: 0; + font-family: "Tahoma"; +} + +.ribbon { + padding-top: 3px; + padding-bottom: 3px; + font-size: 110%; + font-family: "Tahoma"; + min-width: 1%; + max-height: 3.2em; + background: #ece9d8; + border: 1px solid #fff; + border-right: 1px solid #aca899; + border-bottom: 2px solid #aca899; +} + +.ribbon .link { + display: inline; + margin: 0; +} + +.ribbon .bar { + color: #aca899; + display: inline; + margin: 0; +} + +.ribbon #first { + padding-left: 0.5em; +} diff --git a/tahoma.ttf b/tahoma.ttf new file mode 100644 index 0000000..95009c1 Binary files /dev/null and b/tahoma.ttf differ diff --git a/trebuchet.ttf b/trebuchet.ttf new file mode 100644 index 0000000..b3bd292 Binary files /dev/null and b/trebuchet.ttf differ