GithubHelp home page GithubHelp logo

evalica / risherry Goto Github PK

View Code? Open in Web Editor NEW
3.0 3.0 1.0 11.13 MB

Customizable personal website built with Bootstrap, Handlebars and Sass

Home Page: http://risherry.ro/

License: MIT License

JavaScript 6.43% HTML 50.45% SCSS 43.12%
css handlebars personal-website sass

risherry's People

Contributors

dependabot[bot] avatar evalica avatar gitter-badger avatar

Stargazers

 avatar  avatar

Watchers

 avatar

Forkers

gitter-badger

risherry's Issues

ColorTheme

Support several ColorThemes. Initial implementation and some ColorThemes examples.

Ignore /dist/css/themes files

Being in development, these files are updated at each change, flooding the commits.

The dist/ files should be updated only on releases.

Replace Bootstrap grid with native CSS Grid

TODO: Provide a fallback on Flexbox

In order to reduce bloat: divitis, unused classes, etc.

  • Layout areas:
|   |   A   |   B   |   |   |   | .navigation
|   | C |     D     |   |   |   | .about
|   | E | F | G | H |   |   |   | .work
|   |     I     | J |   |   |   | .talks
|   |       K       |   |   |   | .footer
  • Layout 8 (4+4) columns:
| 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 
|   |   2   |   2   |   |   |   | A B
|   | 1 |     3     |   |   |   | C D
|   |   2   |   2   |   |   |   | E F
|   |     3     | 1 |   |   |   | I J
|   |       4       |   |   |   | K
  • Layout 12 / 16 columns:
    • LG (1440px - the margin spacing can be added with a 12 + 4 columns layout)
    • MD (1024px - Laptop)
| 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 0 | 1 | 2 |
|           6           |           6           | A B
|     3     |                 9                 | C D
|     3     |     3     |     3     |     3     | E F G H
|                 9                 |     3     | I J
|                       12                      | K
  • SM (767px - Tablet)
| 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 0 | 1 | 2 |
|           6           |           6           | A B
|       4       |             8                 | C D
|       4       |       4       |       4       | E F G
|             8                 |       4       | I J 
|                       12                      | K
  • XS (480px - Mobile)
| 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 0 | 1 | 2 |
|                       12                      | A
|                       12                      | B
|                       12                      | C
|                       12                      | D
|           6           |           6           | E F
|                       12                      | I
|                       12                      | J
|                       12                      | K

New theme for v.0.3.0

Based on Rain theme, see #31

  • Find a name for the new theme [Default]
  • Change typography from "Gentium Basic" to [Open Sans]

Before
before

After
after

Create the Design System

  • In order to reiterate rapidly on the Color Themes
  • Make sure the CSS variables are mapped to the Design System's Local Styles

Load just the needed icons

Instead of having the whole Font Awesome, provide a custom font or SVG sprite, just with the needed icons.

Before
icons_before

After
after_icons

Replace Sass variables with native CSS variables

grep "\$font-family-base" . -R --exclude-dir={".sass-cache","dist"}

Advantages:

  • Reusable variables instead of defining new ones for new values, because of dynamicity of CSS variables compared to static Sass variables

Limitations:

  • CSS Variables need to be inside a :root {} declaration, while the Sass vars have an 'Undefined variable' error
  • Background-image URLS, $img-path, $theme-path
  • Media queries breakpoints, $screen-sm
  • Problematic for color functions, like transparencies
  • Problematic for calculations that go between units

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.