From 9103b1183503ae58aad2d83671f0cc50a8a5e415 Mon Sep 17 00:00:00 2001 From: Matt Borgerson Date: Tue, 17 Jan 2023 23:43:59 -0700 Subject: [PATCH] Style tweaks --- docs/docs/stylesheets/extra.css | 2 +- resources/linux_title_bar_dark_2x.png | Bin 0 -> 10276 bytes templates/template_base.html | 3 +- templates/template_index.html | 172 ++++++++++++++++---------- theme.scss | 28 ++++- 5 files changed, 135 insertions(+), 70 deletions(-) create mode 100644 resources/linux_title_bar_dark_2x.png diff --git a/docs/docs/stylesheets/extra.css b/docs/docs/stylesheets/extra.css index df4ae937..a3d9eafd 100644 --- a/docs/docs/stylesheets/extra.css +++ b/docs/docs/stylesheets/extra.css @@ -40,7 +40,7 @@ --md-primary-fg-color--light: var(--gray-800); --md-primary-fg-color--dark: #00ff00; - --md-accent-fg-color: var(--gray-600); + --md-accent-fg-color: #8dc103; --md-accent-fg-color--transparent: var(--gray-800); --md-accent-bg-color: var(--gray-200); --md-accent-bg-color--light: var(--gray-200); diff --git a/resources/linux_title_bar_dark_2x.png b/resources/linux_title_bar_dark_2x.png new file mode 100644 index 0000000000000000000000000000000000000000..1d5eb66a37f6a59523fae70f01fbd30bc518ddfc GIT binary patch literal 10276 zcmeHsXEPl7^0;}LJ&QXXwjl~f*?(A z(Ss<7P7pm&;yr_>UEllXxvua1_iT>qoW0k&_geQ_XYIX@N4nZ-G*lO;Kp+qeQe9aO z1R^H`?ln)H1pZ#mtC9zS$TYkSOz?Wvo?NbOE_PTa3>Tj0is8a|VeLR5uc7o<^Txqb?;X_;BkB4l4k8u`6gakVDvsoK-H zCk(yd@Dpy%l{_m~ULkj>m66nXy~2yolZv%Ha})1h-z<3k(etiCk2k_M#c(sV%h)U? z>Ef!2?T$m;Vx4;3?nTbEwE~F&uf(732qPZR@Y+}YOEvc2ecDY_jPCYs3eVSk+@YL+ zWyl77yK~cst>XQ?vGf$Om)=|qb}Z?s)Q%tDmSuIPrD-iVQ_#FNA)=^_+TbQj9iZxl z2|iP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*ui|dWMjCThi&1Gbjb#sm~Y1BE>!4lv;YYwgC#v_n@kS zPDa2l3WWl`Y8;(!lj>189e=rdG6?I5+}dw+NZ;=Ol7F-YLzA1+*>OgWn8 u-#{w6c}6z#U=L>iJ&--vP>`N@C-;xt3i79%k$=8SdPb^fE9Wa&-T5Dg5?oFI literal 0 HcmV?d00001 diff --git a/templates/template_base.html b/templates/template_base.html index 18503739..ba9b7e15 100644 --- a/templates/template_base.html +++ b/templates/template_base.html @@ -21,10 +21,9 @@ - - + {%block title %}{% endblock %}{% if self.title() %} | {% endif %}xemu: Original Xbox Emulator {% block append_head %}{% endblock %} diff --git a/templates/template_index.html b/templates/template_index.html index 036e4da8..bc6c5e6e 100644 --- a/templates/template_index.html +++ b/templates/template_index.html @@ -55,10 +55,24 @@ margin: -60px 0 0; /* negative fixed header height */ } +.feature-card { + background-color: #181818; + border: 1px #0e0e0e solid; + border-radius: 5px; + min-height: 100%; + padding: 1rem; + padding-left: 3.5rem; +} + +.feature-card p { + margin: 0; +} + .feature-icon { - font-size: 0.7em; - padding-right: 0.25em; - vertical-align: 10%; + width: 3.5rem; + margin: 0; + margin-left: -3.5rem; + text-align: center; } .button-icon { @@ -102,6 +116,23 @@ h2 { margin-top: 1em; } + +.screenshot-window { + box-shadow: 0px 5px 25px rgba(0, 0, 0, 0.6); + border-radius: 10px; + max-width: 642px; + margin: auto; +} + +.screenshot-titlebar { + width: 100%; +} + +#screenshot-carousel { + border: 1px rgba(0, 0, 0, 0.6) solid; + border-top: 0; + width: 100%; +} {% endblock %} @@ -111,47 +142,45 @@ h2 {
- +
-

- - xemu logo -

-

Original Xbox Emulator

-

- A free and open-source application that emulates the original Microsoft - Xbox game console, enabling people to play their original Xbox games on - Windows, macOS, and Linux systems. -

+

+ + xemu logo +

+

Original Xbox Emulator

+

+ A free and open-source application that emulates the original Microsoft + Xbox game console, enabling people to play their original Xbox games on + Windows, macOS, and Linux systems. +

-
-
- -
- Latest release: v{{xemu_build_version}} ({{xemu_build_date.strftime('%b %-d, %Y')}}) -
- +
+
+ +
+ Latest release: v{{xemu_build_version}} ({{xemu_build_date.strftime('%b %-d, %Y')}}) +
+ +
- -
-
{% endblock %} @@ -159,63 +188,78 @@ h2 { {% block content %}

Features

-
-

Open Source

-

The source code for xemu is publicly available. Users are invited to help improve the project!

+
+
+

Open Source

+

The source code for xemu is publicly available. Users are invited to help improve the project!

+
-
-

Cross Platform

-

xemu runs natively on Windows, macOS, and Linux platforms. Pre-compiled binaries are available for Windows, macOS, and Ubuntu.

+
+
+

Cross Platform

+

xemu runs natively on Windows, macOS, and Linux platforms. Pre-compiled binaries are available for Windows, macOS, and Ubuntu.

+
-
-

System Link

-

Networking is supported out of the box. Connect to other instances of xemu and even real Xboxes, locally or over the Internet.

+
+
+

Networking

+

Networking is supported out of the box. Connect to other instances of xemu and even real Xboxes, locally or over the Internet.

+
-
-

Gamepad Support

-

Built on SDL2, xemu supports virtually all gamepads. Connect up to 4 controllers at any time, just like a real Xbox.

+
+
+

Gamepad Support

+

Built on SDL2, xemu supports virtually all gamepads. Connect up to 4 controllers at any time, just like a real Xbox.

+
-
-

Snapshots (Save States)

-

No need to wait for game checkpoints. xemu supports saving the current state and loading it back up at any time.

+
+
+

Snapshots (Save States)

+

No need to wait for game checkpoints. xemu supports saving the current state and loading it back up at any time.

+
-
-

Render Scaling

-

Breathe new life into your original Xbox games by easily scaling up the resolution that games render at.

+
+
+

Render Scaling

+

Breathe new life into your original Xbox games by easily scaling up the resolution that games render at.

+

Screenshots

-