Git Product home page Git Product logo

tacit's Introduction

logo

DevOps By Rultor.com

grunt PDD status License NPM version License Hits-of-Code

Tacit is a primitive CSS framework for dummies, like myself, who don't know anything about graphic design but want their web services to look edible. No classes, no layouts, just design plain and simple web pages compliant with HTML5, and they will look OK.

The details are here: yegor256.github.io/tacit

Simply add this to your HTML:

<!DOCTYPE html>
<html>
  <head>
    <link rel="stylesheet" href="https://cdn.jsdelivr.net/gh/yegor256/tacit@gh-pages/tacit-css.min.css"/>
  </head>
</html>

Otherwise, download tacit-css.min.css and use it together with your HTML by adding the following:

<!DOCTYPE html>
<html>
  <head>
    <link rel="stylesheet" href="tacit-css.min.css"/>
  </head>
</html>

Of course, it is responsive and mobile-friendly, but you have to add this line too:

<!DOCTYPE html>
<html>
  <head>
    <meta name="viewport" content="width=device-width, initial-scale=1.0"/>
  </head>
</html>

This blog post explains it in even more details: Tacit, a CSS Framework Without Classes.

Browser/OS Compatibility

The following list is of tested browsers for compatibility. We don't have any guarantees of compatibility for other browsers, but as soon as possible we will verify and add more to the list. Some of these browsers present minor issues that are reported in the our issues list.

Browser/OS Version Compatible
Chrome >= 60 Yes
Firefox >= 56 Yes
Safari >= 11 Yes
Opera >= 48 Yes
Edge >= 14 Yes
Chrome (iOS) >= 60 Yes
Safari (iOS) - Yes
Internet Explorer >= 11 Yes

Built on top of Tacit framework

Tacit's goal is to be super simple and always with the same look-and-feel. If you want something more custom, like a different theme, feel free to make it on top of Tacit. Here are some frameworks built on top of Tacit:

  • kacit Kacit is the Tacit CSS classless framework but with a yellow accent and Georgia font
  • Bahunya is a CSS framework with responsive typography, navbar, syntax highlighting, and much more, inspired by Tacit

Usecases of Tacit framework

  • jare.io Free and instant CDN
  • wring.io GitHub notification filtering hosted inbox
  • wts.zold.io Web Wallets of Zold cryptocurrency
  • jpeek.org Java projects code cohesion analyzer
  • socatar.com Web service to use profile photos in your page
  • filfreire.com @filfreire's personal blog on software testing and development
  • moneeee joke app to know how much money you're making during a boring meeting
  • soalition.com a social coalition management web app for online writers.
  • golang.cafe Go (golang) job board with no recruiters and clear salary ranges.
  • tinyfts Very small standalone full text search HTTP/SCGI server

How to contribute

Fork repository, make changes, send us a pull request. We will review your changes and apply them to the master branch shortly, provided they don't violate our quality standards. To avoid frustration, before sending us your pull request please run full Grunt build:

$ npm install
$ grunt

To develop it locally, open index.html in a browser and then run:

$ npm run dev

Now you can make changes to .scss files and refresh the page in the browser. CSS will be recompiled automatically on every change you make.

Logo

Tacit's logo was designed by Akshay Vinchurkar (@akshayvinchurkar)

tacit's People

Contributors

akshayvinchurkar1 avatar alex-semenyuk avatar bentappin avatar captn3m0 avatar chuckak avatar dbohdan avatar diomed avatar dontmindeme avatar dz-s avatar egkv avatar filfreire avatar homeworkprod avatar jamesrom avatar jehna avatar jraller avatar kt3k avatar leyka avatar navaati avatar php-coder avatar renovate[bot] avatar rultor avatar s4wny avatar saravieira avatar simonrob avatar strdr4605 avatar t-my avatar thibaudcolas avatar tofran avatar vassilevsky avatar yegor256 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

tacit's Issues

Gender Selection Issue

Change the default selection of gender to "Won't Tell". It's sexist to have "male" be the default and expected option.

Bonus feminist points if you put Female above Male as the 2nd Option.
Bonus LGBTQRSTUV points if you include "Neither", "Both", and "Other" options.

Mobile styles / responsiveness

Now the sample page breaks down in mobile widths (even though there's <meta name="viewport" content="width=device-width, initial-scale=1.0"/> tag which indicates that this CSS framework probably should, in the perfect world, be "mobile opitimized").

@yegor256 is this the direction you'd like the framework to be developed to? I can start working on the responsiveness if you think the ideology matches with this project.

Issues with the mobile sizes:

1. Form element widths

Some of the form elements overflow from main container:
screen shot 2015-04-10 at 10 36 49

P.S. input[name='consent'] is missing id='consent', so tapping the label does not select the input properly

2. Margins in mobile sizes

The margins are way too big in mobile sizes (escalating in 320px iphone width).

Compare this screenshot from the example page:
screen shot 2015-04-10 at 10 48 16

With a similar screenshot from popular Bootstrap framework:
screen shot 2015-04-10 at 10 48 42

You see that the amount of pixels in screen for the actual content is much bigger in the Bootstrap's version. I'd remove the grey area completely when in mobile sizes.

3. Table responsiveness

This is more complicated issue, but I'd like to point out that the example table actually would just fit to 320px width if the margins were smaller (see 2.)
screen shot 2015-04-10 at 10 43 23

<pre><code> nesting formatting style suggestion

The HTML5 docs for pre and code state that when you want block code to not wrap to use <pre><code> foo </code></pre>.

However, tacit css (in my opinion) doesn't then format this as expected. If I use <pre><code>it's rendered just as pre and (seems to) ignore code but if I use <code><pre>it looks better with the darker background - although perhaps the margin is a bit large.

When converting from markdown (and possibly other formats - I've not tested) the conversion does <pre><code>.

Example.

theming, blacklisting, and whitelisting

A few cool feature requests

  • Whitelist certain HTML elements only or define a scope for adding styles. i.e. only nodes in a #tacit tag would be effected.
  • Blacklist certain HTML elements so they can have custom styles
  • have some format / repo for themes and some argument to switch theme

select looks 'lifted'

Here's what we have now:
2017-03-31 17 46 06

I guess, it should be like that:

select {
    margin-bottom: 0;
}

2017-03-31 17 47 19

I will send a PR in a few hours.

Improper CSS file inclusion technique

Hi,

I just came across your project and I find it a very good idea. The only problem is that you are violating the rules of GitHub. As per the github norms, we should directly include the CSS files to our project. But many still didn't obey.

To tackle this issue, GitHub served all the CSS files directly liked with header Content-Type: text/plain. So many modern browsers will understand it and will assume the CSS file to be a regular text file and thus, the whole page looks like a Ugly 1980's page.

So, a great person named Ryan Grove created a service called RawGit which serves all the content with proper Content-Type headers so that browsers behave well. And as a plus feature, the production URL in the RawGit gets routed through MaxCDN to make it blazing fast.

The main objective of this issue is to make you aware that you SHOULD NOT promote people to use this type of method. Instead there are many CDN providers which offer free CDN to open source project.

Check out :

Higher font-weight may increase readability

Awesome project! I really love the approach tacit solves styling.

Unfortunately I have a hard times reading paragraphs and regular text with the currently used font-weight. Maybe it's also just my screen, which is not rendering cutting edge High-Res. However I think, font should be accessible and therefore easy to read.

Using font-weight 400 instead of 300 on regular text really bumped up readability for me.

Whats your opinion?

Remove ruby deps

While working on #60 I was forced to install some ruby gems.

A lot of webdevs do not use ruby. And it is a good practice in node community not to use it. All the dependencies are available as npm packages:

So, I can change the dependencies in the PR to be 100% node compatible.

Chrome specific issues

Checkbox not inline with label, plus, buttons are not inline as they're in other browsers.
screen shot 2017-10-03 at 11 13 04

Radio Buttons and labels positions is not properly set, and different from other browsers.
screen shot 2017-10-03 at 11 12 53

Navbar

I am wondering is there is easyway I can make clean navbars,

something like

|title| nav1 | nav2 |

Couldnt find a stackoverflow page, so I am asking it here.

Opera specific issues

Issues found with elements not being inline and position of the elements for Opera

opera

Buttons' background is too dark

Isn't the background color for normal buttons too dark? They look like disabled rather than clickable at first look until you hover your mouse over it.

Sticky footer

Hey Yegor. Sorry spam your issue list.

Do you know if I can make sticky footer. Or footer thats at the bottom of the page.

right now the footer looks a bit weird, I think.

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.