OctoCSS
OctoCSS copied to clipboard
Minimalistic "Fork me on GitHub"
Octo.CSS · Preview
Minimalistic "Fork me on GitHub"
What is this?
This is, well, you know what it is. Just see the preview for more.
Themes
For dark theme use ?theme=dark
, see example.
For light do nothing, it's default.
How to use:
Just include "octo.css" in <head></head>
tag:
<head>
<link rel="stylesheet" type="text/css" href="octo.css">
</head>
Now, use the tag anywhere in your code:
For top-right use:
<github class="octo-right"><img src="github.svg"></github>
For top-left use:
<github class="octo-left"><img src="github.svg"></github>
Example
<!DOCTYPE html>
<html>
<head>
<title>OctoCSS Example</title>
<link rel="stylesheet" type="text/css" href="https://cdn.muzzammil.xyz/OctoCSS/">
<!--
For dark theme:
<link rel="stylesheet" type="text/css" href="https://cdn.muzzammil.xyz/OctoCSS/?theme=dark">
-->
</head>
<body>
<a href="https://github.com/muhammadmuzzammil1998/OctoCSS/" target="_blank">
<github class="octo-right">
<img src="https://cdn.muzzammil.xyz/OctoCSS/github.svg">
</github>
</a>
</body>
</html>
Using OctoCSS? Let me know!
If you are using OctoCSS, first of all, thank you, secondly, let me know and I'll mention it here.
License
MIT License
Copyright (c) 2017 Muhammad Muzzammil (https://git.muzzammil.xyz/OctoCSS/)
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.