Coder Social home page Coder Social logo

cssgithubwindows's Introduction

GitHub Windows Edition: User style transforming GitHub into Windows 9x

Install with Stylus Install with Stylish Install with TamperMonkey

CssGitHubWindows is a user style which transforms GitHub's pages into a GUI resembling Windows 9x. All modern browsers should be supported.

NOTE: the style is in alpha development stage. Only some parts of the website have been fully transformed.

Screenshots

Athari/YaLinqo Screenshot

DotNet/CoreFX Screenshot

Features

  • Almost pixel-perfect reproduction of buttons, tabs, separators, groups, edit boxes, list boxes, tooltips, windows.
  • Focus rectangles, text selection styles and other elements adjusted where possible.
  • Some icons changed into icons from Windows 9x.
  • Some UI has been transformed, for example repository stats are displayed as a shell list box and various group boxes have been titled.

Install

If you're using Firefox or Chrome, you can use Stylus extension to apply the style. Stylus is free, open-source and the most feature-full extension.

Stylish is an older alternative which is no longer available, but it has been more popular. If you still have it installed, you can apply the user style using it, however you're strongly advised to migrate to Stylus as Stylish has been removed from browser extension stores for violating user privacy.

If you're using Edge, you can use TamperMonkey to install the user style as a user script.

If your browser is neither of the browsers mentioned above, please refer to online guides, it gets more complicated.

Click on the extension title to see detailed instructions.

A. Firefox or Chrome: Stylus
  1. Add Stylus extension to your browser:

  2. Add user style:

    • Open the .user.css file.
    • Click the "Install Style" button in the opened window.
B. Firefox or Chrome: Stylish

CAUTION: Migrating to Stylus is strongly advised.

  1. Add Stylish extension to your browser:

    • Stylish for Firefox (no longer available)
    • Stylish for Chrome (no longer available)
  2. Add user style:

C. Edge: TamperMonkey
  1. Add TamperMonkey extension to your browser:

  2. Add user style:

Known issues

  • Default margins of some controls like buttons has been changed. If GitHub uses pixel sizes for buttons, they may be cut off by a few pixels.
  • Due to tooltips being children of controls, they change full control size, so focus borders may be displayed incorrectly.

License

Licensed under the MIT License.

Copyright (c) 2018 Alexander Prokhorov.

Links

  • Tools:

    • Resource Hacker — tool for extracting icons from executable files, including Windows 95 system files
    • PNG optimizer — online tool for optimizing PNG files
    • Base64 encoder — online tool for embedding images in CSS as data URIs
  • Browser extensions:

    • Stylus for Firefox — extension for applying user styles for Firefox
    • Stylus for Chrome — extension for applying user styles for Chrome
    • TamperMonkey for Edge — extension for applying user scripts for Edge, which can be used to apply user styles too
    • Stylish for Firefox — old extension for applying user styles for Firefox
    • Stylish for Chrome — old extension for applying user styles for Chrome
  • Related:

cssgithubwindows's People

Contributors

athari avatar magixyu avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

cssgithubwindows's Issues

Remove Stylish Backlink

Hey there,

As you might probably have seen, Stylish has been removed from Chrome and Mozilla extensions market due to private data exploitation. It would be both logical and of good tone to suppress the backlinks to it you provide in the README file.

Thank you very much in advance !
And grat's on the job

Several overlappings in the profile.

Firefox on Windows 10:

  • Profile -> "Edit bio": This button is smaller than the container.
    unbenannt
    Fix: Remove "overflow:hidden" from .user-profile-bio.
  • Profile -> contribution years: The list wrapper partially overlaps the rest of the elements.
    unbenannt
    Suggestion for a fix: Make the background grey as well and only give the ul a white background?

I'll be home later, I can't really contribute PRs from here. Just in case you'll ask me. ;-)

Change private repos icon

This stylesheet is awesome! Thank you so much.

One small issue that I've noticed is that the private repo icon is not replaced:
screen shot 2018-07-08 at 3 18 12 pm

Add Clippy

Why

To help users navigate Github's complex interface.

What

Clippy assistant

Inviting people does not display correctly

So, I used this theme and tried to invite someone to my organisation but it seems like it appears like this:
Bug

Obviously, none of the buttons work and I can't seem to be able to invite someone so I had to disable this style. Any ideas on why this is happening? Could you fix it?

PR/files changed issue

image

I made a snippet that repairs it. It's not pretty, but it gets the job done. You could use it as a reference:

  .pr-toolbar.js-sticky {
    background: var(--color-button-face) !important;
  }
  .pr-toolbar.js-sticky:not(.is-stuck) {
    margin: -20px 0 0;
    padding: 0;
  }
  .pr-toolbar.js-sticky .diffbar {
    background: var(--color-button-face) !important;
  }
  .pr-toolbar.is-stuck + .pr-toolbar-shadow {
    border-bottom: solid 1px transparent !important;
    border-bottom-color: var(--button-3d-border-color) !important;
    border-top-color: var(--color-button-shadow) !important;
    height: 0;
  }

Suggestion: Make file names black

As Windows 95 (before C) didn't have "IE integration" for its Explorer just yet, this CSS could probably make file links have black text instead of blue text.

JS ecosystem soluton suggestion from chat

Вам по хорошему не нужны комменты, достаточно конкатенации директив userscript в начало скрипта. Сохранять можно всё, что угодно, там есть шаблонная интерполяция: #{"/*.....*/"}

И я решительно не понимаю, о каких таких "билд системах" идёт речь. Зачем они вам нужны? скрипта build.js вам не хватит? Ну хотите, gulp прикрутите, или webpack.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.