diff --git a/website/Gemfile b/website/Gemfile index d1fee9563..8b7424b16 100644 --- a/website/Gemfile +++ b/website/Gemfile @@ -31,5 +31,3 @@ gem "wdm", "~> 0.1", :platforms => [:mingw, :x64_mingw, :mswin] # Lock `http_parser.rb` gem to `v0.6.x` on JRuby builds since newer versions of the gem # do not have a Java counterpart. gem "http_parser.rb", "~> 0.6.0", :platforms => [:jruby] - -gem 'jekyll-tailwindcss', '~> 0.3.0' diff --git a/website/README.md b/website/README.md deleted file mode 100644 index 5639d2b3c..000000000 --- a/website/README.md +++ /dev/null @@ -1,37 +0,0 @@ -# x11libre-website - -A website for the X11Libre (A fork of [Xorg XServer](https://gitlab.freedesktop.org/xorg/xserver)) project by @metux and open source contributors - -## About - -This is the website for the X11Libre project is an Free/Libre and Open Source (FLOSS) project focused on providing a modern, libre implementation of the X11 protocol and related tools. - -## Features - -- HTML, Markdown and CSS -- TailwandCSS -- Jekyll -- Github Pages -- No cookie, no tracking -- 100% Static (No dynamic or server related function) -- Work without CSS, JavaSript -- Mobile Friendly (adaptive) -- Accessible - -## Run / Debug the website - -```bash - -bundle exec jekyll serve # on the root of the project - -``` - -## License - -This project is licensed under the MIT License. - -## Contact - -For questions or contributions, please open an issue or contact [@metux](https://github.com/metux). - -### Made by [@xgui4](https://github.com/xgui4) and [@ChocodeerZyNX](https://github.com/ChocodeerZyNX) and [@yusi1](https://github.com/yuzi1) and also infor and codes from [x11libre.net](https://x11libre.net) \ No newline at end of file diff --git a/website/_config.yml b/website/_config.yml index 736037a1a..2f82186c1 100644 --- a/website/_config.yml +++ b/website/_config.yml @@ -23,13 +23,13 @@ title: X11Libre description: >- # this means to ignore newlines until "baseurl:" This is the website for the X11Libre project which is an open-source initiative focused on providing a modern, libre implementation of the X11 protocol and related tools. -baseurl: "/xserver/website" # the subpath of your site, e.g. /blog +baseurl: "/xlibre/website" # the subpath of your site, e.g. /blog url: "https://xgui4.github.io" # the base hostname & protocol for your site, e.g. http://example.com github_username: xgui4 # Build settings #plugins: - # - jekyll-feed +# - jekyll-feed # Exclude from processing. # The following items will not be processed, by default. diff --git a/website/assets/css/styles.css b/website/assets/css/styles.css new file mode 100644 index 000000000..394ae5ef2 --- /dev/null +++ b/website/assets/css/styles.css @@ -0,0 +1,176 @@ +img { + width: 5%; + height: auto; +} + +/* link */ +a:link, +a:visited, +th a:visited { + color: #00c3ff; +} + +a:hover, +a:focus, +a:visited:hover { + color: #78b2c3; +} + + +/* general layout */ +main { + margin: 20px 20px 20px 20px; + min-height: 100vh; +} + +#main-content { + width: 97%; + margin: 20px 20px 20px 20px; + text-align: left; +} + +.install ul { + margin-left: 195px; +} + +#content-left-wrapper { + float: left; + width: 100%; /* req to keep content above sidebar in source code */ +} + +#content-left { + margin: 0 340px 0 0; +} + +#content-sep { + padding-top: 360px; +} + +#content-right { + float: left; + width: 100%; + /* margin-left: -300px; */ + background-color: #000000; + border-top: 1px solid #ffffff; +} + +div.nav-border { + margin-bottom: 1.5em; + padding: 0.65em; +} + +/* home: sidebar */ +#nav-sidebar ul { + list-style: none; + margin: 0.5em 0 0.5em 1em; + padding: 0; +} + +/* highlight Wiki link in navbar */ +.navbar-nav > li:nth-child(5) { + text-decoration: underline; + text-decoration-color: #78b2c3; +} + +.right { + float: right; + margin: 0; + padding: 0; +} + +code { + font-size: 105%; + color: #e0e6ec; + background-color: #0f141c; + border-radius: 3px; + padding: 0 3px; +} + +main pre { + font-family: monospace, monospace; + margin: 1em; + border-bottom: 1px solid #31373d; + border-radius: 3px; +} + +main pre code { + padding: 20px 20px 20px 30px; + display: block; + overflow: auto; + box-shadow: rgba(255, 255, 255, 0.1) 0px 1px 0px, rgba(0, 0, 0, 0.8) 0px 1px 7px 0px inset; +} + +div.quicklink { + height: 150vh; + position: sticky; + z-index: 1; + top: 0; + left: 0; + background-color: #111; + float: left; + margin: 0 1px 0 0; + padding: 20px 10px; + border-right: 1px dotted #ccc; + width: 200px; + overflow: auto; + margin-right: 30px; +} + +/* responsive */ +@media only screen and (max-width: 768px) { + #content-right { + width: 100%; + margin-left: 0px; + } + + #content-left { + margin: 0 0 0 0; + } + + div.nav-border { + border-left: 0px; + } +} + +@media only screen and (max-width: 600px) { + #header { + font-size: 6vw; + } + +} + +#driver { + border-collapse: collapse; + width: 80%; +} + +th { + text-align: center; + height:45px; +} + +tr:nth-child(even) { + background-color: #313840; +} + +td { + height: 40px; + padding-left: 7px; +} + +th, td { + border: 1px solid white; +} + +.container { + margin: 10px auto; + max-width: 600px; + text-align: center; +} +h1 { + margin: 30px 0; + font-size: 4em; + line-height: 1; + letter-spacing: -1px; +} + diff --git a/website/assets/img/XLibre-Logo.svg b/website/assets/img/XLibre-Logo.svg new file mode 100644 index 000000000..99b0b174f --- /dev/null +++ b/website/assets/img/XLibre-Logo.svg @@ -0,0 +1,2 @@ + +InclusvitéXL \ No newline at end of file diff --git a/website/index.md b/website/index.md index c9aeb2e53..49214d976 100644 --- a/website/index.md +++ b/website/index.md @@ -23,11 +23,11 @@ of their subsidiaries or tax evasion tools, nor any political activists groups, state actors, etc. It's explicitly free of any "DEI" or similar discriminatory policies. Anybody who's treating others nicely is welcomed. -It doesn't matter which country you're coming from, your political views, -your race, your sex, your age, your food menu, whether you wear boots or -heels, whether you're furry or fairy, Conan or McKay, comic character, a -small furry creature from Alpha Centauri, or litterally everyone else. -Even neurodivergent contributors are welcome and accepted. +It doesn't matter which country you're coming from, your political views, your +race, your sex, your age, your food menu, whether you wear boots or heels, +whether you're furry or fairy, Conan or McKay, comic character, a small furry +creature from Alpha Centauri, or literally everyone else. Even neurodivergent +contributors are welcome and accepted. Anybody who's interested in bringing X forward is welcome.