Skip to content

Commit

Permalink
awesomeWM#174: New AwesomeWM Website - prototype 1 main page and styl…
Browse files Browse the repository at this point in the history
…ing.
  • Loading branch information
raven2cz committed Sep 11, 2022
1 parent 06c9044 commit 350c75d
Show file tree
Hide file tree
Showing 15 changed files with 217 additions and 45 deletions.
93 changes: 93 additions & 0 deletions fonts/OFL.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,93 @@
Copyright 2020 The Prodigy Sans Project Authors (https://github.com/weiweihuanghuang/Work-Sans)

This Font Software is licensed under the SIL Open Font License, Version 1.1.
This license is copied below, and is also available with a FAQ at:
http://scripts.sil.org/OFL


-----------------------------------------------------------
SIL OPEN FONT LICENSE Version 1.1 - 26 February 2007
-----------------------------------------------------------

PREAMBLE
The goals of the Open Font License (OFL) are to stimulate worldwide
development of collaborative font projects, to support the font creation
efforts of academic and linguistic communities, and to provide a free and
open framework in which fonts may be shared and improved in partnership
with others.

The OFL allows the licensed fonts to be used, studied, modified and
redistributed freely as long as they are not sold by themselves. The
fonts, including any derivative works, can be bundled, embedded,
redistributed and/or sold with any software provided that any reserved
names are not used by derivative works. The fonts and derivatives,
however, cannot be released under any other type of license. The
requirement for fonts to remain under this license does not apply
to any document created using the fonts or their derivatives.

DEFINITIONS
"Font Software" refers to the set of files released by the Copyright
Holder(s) under this license and clearly marked as such. This may
include source files, build scripts and documentation.

"Reserved Font Name" refers to any names specified as such after the
copyright statement(s).

"Original Version" refers to the collection of Font Software components as
distributed by the Copyright Holder(s).

"Modified Version" refers to any derivative made by adding to, deleting,
or substituting -- in part or in whole -- any of the components of the
Original Version, by changing formats or by porting the Font Software to a
new environment.

"Author" refers to any designer, engineer, programmer, technical
writer or other person who contributed to the Font Software.

PERMISSION & CONDITIONS
Permission is hereby granted, free of charge, to any person obtaining
a copy of the Font Software, to use, study, copy, merge, embed, modify,
redistribute, and sell modified and unmodified copies of the Font
Software, subject to the following conditions:

1) Neither the Font Software nor any of its individual components,
in Original or Modified Versions, may be sold by itself.

2) Original or Modified Versions of the Font Software may be bundled,
redistributed and/or sold with any software, provided that each copy
contains the above copyright notice and this license. These can be
included either as stand-alone text files, human-readable headers or
in the appropriate machine-readable metadata fields within text or
binary files as long as those fields can be easily viewed by the user.

3) No Modified Version of the Font Software may use the Reserved Font
Name(s) unless explicit written permission is granted by the corresponding
Copyright Holder. This restriction only applies to the primary font name as
presented to the users.

4) The name(s) of the Copyright Holder(s) or the Author(s) of the Font
Software shall not be used to promote, endorse or advertise any
Modified Version, except to acknowledge the contribution(s) of the
Copyright Holder(s) and the Author(s) or with their explicit written
permission.

5) The Font Software, modified or unmodified, in part or in whole,
must be distributed entirely under this license, and must not be
distributed under any other license. The requirement for fonts to
remain under this license does not apply to any document created
using the Font Software.

TERMINATION
This license becomes null and void if any of the above conditions are
not met.

DISCLAIMER
THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT
OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL THE
COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL
DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM
OTHER DEALINGS IN THE FONT SOFTWARE.
Binary file added fonts/ProdigySans-Regular.ttf
Binary file not shown.
Binary file added fonts/ProdigySans-SemiBold.ttf
Binary file not shown.
17 changes: 17 additions & 0 deletions fonts/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
# Prodigy Sans

![Animation](documentation/preview.png)

Prodigy Sans is a typeface family based on [Work Sans](https://github.com/weiweihuanghuang/Work-Sans) commissioned by [DesignStudio](https://design.studio/) for [Prodigy Education Inc](https://www.prodigygame.com/):

- A new master has been added for Bold with lower contrast and rounder shapes
- Cap height has been scaled up to match ascender height
- Stroke terminals are different
- a, g has a new design
- Regular and Thin has tighter tracking
- Drawing is cleaner

## License
Prodigy Sans is licensed under the SIL Open Font License v1.1 (<http://scripts.sil.org/OFL>)

To view the copyright and specific terms and conditions please refer to [OFL.txt](OFL.txt).
Binary file modified images/6mon.small.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/awesome-logo-1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/icons/a.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/icons/e.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/icons/m.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/icons/o.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/icons/s.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/icons/w.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
58 changes: 32 additions & 26 deletions index.mdwn
Original file line number Diff line number Diff line change
@@ -1,15 +1,25 @@
# What is this awesome window manager?

<span class="align_center">
**awesome** is a highly configurable, next generation framework window
manager for X. It is very fast, extensible and licensed under the
[GNU GPLv2 license](http://www.gnu.org/licenses/old-licenses/gpl-2.0.html).

</span>
<span class="align_center">
It is primarily targeted at power users, developers and any people dealing with
every day computing tasks and who want to have fine-grained control on their
graphical environment.
</span>
<br>
<div class="d-flex flex-column flex-lg-row lead mb-3 justify-content-center">
<a href="https://awesomewm.org/apidoc/documentation/07-my-first-awesome.md.html#" title="Getting Started" class="btn btn-lg btn-primary mb-3 mb-lg-0 me-lg-3">
Get Started
</a>
<a href="https://awesomewm.org/apidoc/" title="Documentation" class="btn btn-lg btn-outline-secondary mb-3 mb-lg-0 me-lg-3">
Documentation
</a>
</div>

<div class="screenshot">
[[!img images/screen.png alt="awesome screenshot" size="382x216"]]
[[!img images/screen.png link="images/screen.png" alt="awesome screenshot"]]
</div>

# Concepts
Expand All @@ -34,28 +44,24 @@ window manager.
[[!img images/6mon.small.png link="images/6mon.medium.png" alt="awesome running on 6 monitors"]]
</div>

# Features and non-features

* Very stable, fast and small codebase and footprint.
* First window manager using the asynchronous [XCB](http://xcb.freedesktop.org)
library instead of the old, synchronous
 [Xlib](http://en.wikipedia.org/wiki/Xlib), which makes **awesome** less
subject to latency compared to other window managers.
* Documented source code and API.
* No mouse needed: everything can be performed with the keyboard.
* Real multihead support (XRandR) with per screen desktops (tags).
* Implements many [Freedesktop](http://www.freedesktop.org) standards:
[EWMH](http://standards.freedesktop.org/wm-spec/wm-spec-latest.html),
[XDG Base Directory](http://standards.freedesktop.org/basedir-spec/basedir-spec-latest.html),
[XEmbed](http://standards.freedesktop.org/xembed-spec/xembed-spec-latest.html),
[Desktop Notification](http://www.galago-project.org/specs/notification/),
[System Tray](http://standards.freedesktop.org/systemtray-spec/systemtray-spec-latest.html).
* Does not distinguish between layers: there is no floating or tiled layer.
* Uses tags instead of workspaces: allow to place clients on several tags, and
# Awesome Key Features

<div>
<ul class="awesome">
<li>Very stable, fast and small codebase and footprint.
<li>Usage of the asynch <a href="http://xcb.freedesktop.org">XCB</a>
lib instead of the old synch <a href="http://en.wikipedia.org/wiki/Xlib">Xlib</a>; <b>awesome</b> has less latency against other WMs.
<li>Documented source code and API.
<li>No mouse needed: everything can be performed with the keyboard.
<li>Real multihead support (XRandR) with per screen desktops (tags).
<li>Implements many <a href="http://www.freedesktop.org">Freedesktop</a> standards:
<a href="http://standards.freedesktop.org/wm-spec/wm-spec-latest.html">EWMH</a>, <a href="http://standards.freedesktop.org/basedir-spec/basedir-spec-latest.html">XDG Base Directory</a>, <a href="http://standards.freedesktop.org/xembed-spec/xembed-spec-latest.html">XEmbed</a>, <a href="http://www.galago-project.org/specs/notification/">Desktop Notification</a>, <a href="http://standards.freedesktop.org/systemtray-spec/systemtray-spec-latest.html">System Tray</a>.
<li>Does not distinguish between layers: there is no floating or tiled layer.
<li>Uses tags instead of workspaces: allow to place clients on several tags, and
display several tags at the same time.
* A lot of Lua extensions to add features: dynamic tagging, widget feeding,
tabs, layouts,
* [D-Bus](http://dbus.freedesktop.org) support.
* And more.
<li>A lot of Lua extensions to add features: dynamic tagging, widget feeding,
tabs, layouts, etc.
</ul>
</div>

This is gonna be LEGEN... wait for it... DARY!
90 changes: 73 additions & 17 deletions local.css
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,13 @@
* Originally created by Devit Schizoper (01.12.2006)
*/

font-face {
font-family: "ProdigySans";
font-weight: normal;
src: url(/fonts/ProdigySans-Regular.ttf) format("truetype");
}

body {
font-family: Verdana, Arial, sans-serif;
font-size: 0.8em;
margin: 0;
width: 100%;
}
Expand All @@ -16,14 +20,53 @@ p {
text-align: justify;
}

ul {
list-style-image: url(images/bullet.gif);
margin:0;
padding:0;
.awesome li {
padding: 5px 0px 5px 45px;
list-style: none;
margin: 0;
}

.awesome li:nth-child(1) {
background: url(images/icons/a.png) no-repeat left top;
}

.awesome li:nth-child(2) {
background: url(images/icons/w.png) no-repeat left top;
}

.awesome li:nth-child(3) {
background: url(images/icons/e.png) no-repeat left top;
}

.awesome li:nth-child(4) {
background: url(images/icons/s.png) no-repeat left top;
}

.awesome li:nth-child(5) {
background: url(images/icons/o.png) no-repeat left top;
}

.awesome li:nth-child(6) {
background: url(images/icons/m.png) no-repeat left top;
}

.awesome li:nth-child(7) {
background: url(images/icons/e.png) no-repeat left top;
}

.awesome li:nth-child(8) {
background: url(images/icons/w.png) no-repeat left top;
}

.awesome li:nth-child(9) {
background: url(images/icons/m.png) no-repeat left top;
}


h1 {
color: #3f4c4b;
font-family: ProdigySans;
font-size: 2.1rem
}

a {
Expand All @@ -49,6 +92,17 @@ blockquote{
padding: 10px;
}

.align_center {
display: block;
text-align: center;
}

.align_right {
display: block;
text-align: right;
}


/**** Main Container ***/

#wrap {
Expand All @@ -61,6 +115,7 @@ blockquote{

#top {
display: inline-block;
font-family: Noto Sans, Roboto, Verdana, Arial;
font-size: 1.0em;
margin-left: 0;
overflow:hidden;
Expand Down Expand Up @@ -89,9 +144,12 @@ blockquote{
/**** Center Logo ****/

#center-logo img {
margin-left: 40%;
display: block;
margin-left: auto;
margin-right: auto;
padding-top: 20px;
width: 20%;
width: 40%;
max-width: 800px;
}

/**** Main Menu ***/
Expand Down Expand Up @@ -160,16 +218,14 @@ blockquote{

/**** Content ***/

.screenshot {
margin: 32px 32px 32px 32px;
text-align: center;
}
.screenshot img {
border: 2px solid #347272;
}

.screenshot p {
padding-left: 80px;
border: 5px solid #347272;
display: block;
margin-left: auto;
margin-right: auto;
width: 80%;
height: auto;
max-width: 1024px;
}

#left ul {
Expand Down
4 changes: 2 additions & 2 deletions templates/page.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,12 @@
<title><TMPL_VAR TITLE> - awesome window manager</title>
<link rel="icon" href="<TMPL_VAR BASEURL>images/icons/aw_16.png" type="image/png" />
<link rel="stylesheet" href="<TMPL_VAR BASEURL>style.css" type="text/css" />
<link href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-EVSTQN3/azprG1Anm3QDgpJLIm9Nao0Yz1ztcQTwFspd3yD65VohhpuuCOmLASjC" crossorigin="anonymous">
<link rel="stylesheet" href="<TMPL_VAR BASEURL>local.css" type="text/css" />
<TMPL_IF NAME="FEEDLINKS"><TMPL_VAR FEEDLINKS></TMPL_IF>
<TMPL_IF NAME="META"><TMPL_VAR META></TMPL_IF>
</head>
<body>

<div id="wrap">
<a href="https://github.com/awesomeWM/awesome"><img style="position: absolute; top: 0; left: 0; border: 0;" src="https://camo.githubusercontent.com/82b228a3648bf44fc1163ef44c62fcc60081495e/68747470733a2f2f73332e616d617a6f6e6177732e636f6d2f6769746875622f726962626f6e732f666f726b6d655f6c6566745f7265645f6161303030302e706e67" alt="Fork me on GitHub" data-canonical-src="https://s3.amazonaws.com/github/ribbons/forkme_left_red_aa0000.png"></a>
<div id="top">
Expand All @@ -20,7 +20,7 @@
</TMPL_IF>
<div id="center-logo">
<a href="<TMPL_VAR BASEURL>index.html" title="Back to main page">
<img alt="awesome-logo" src="<TMPL_VAR BASEURL>images/awesome-logo.svg">
<img alt="awesome-logo" src="<TMPL_VAR BASEURL>images/awesome-logo-1.png">
</a>
</div>
<div id="menu">
Expand Down

0 comments on commit 350c75d

Please sign in to comment.