Skip to content

Instantly share code, notes, and snippets.

@unascribed
Last active August 29, 2015 14:25
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save unascribed/303df4dbc0eaa4345a4f to your computer and use it in GitHub Desktop.
Save unascribed/303df4dbc0eaa4345a4f to your computer and use it in GitHub Desktop.
Analog Modern - Reduces Analog's ugliness levels by up to 90% - Made for Analog 6.0
101a102
> <link rel="stylesheet" href="//unascribed.com/analog-modern.styl" type="text/css"/>
/*
* Analog Modern, Copyright (c) 2015, Aesen Vismea <aesen@unascribed.com>, licensed under MIT license
* https://gist.github.com/unascribed/303df4dbc0eaa4345a4f
*/
@import url(http://fonts.googleapis.com/css?family=Lato:300,100);body{background:#eee;font-family:Lato,sans-serif;font-weight:300}h1{font-weight:100;font-size:48px}.header{text-align:center}h2{background:transparent;border-bottom:1px #333 solid;font-weight:300;text-align:center}div:not(.header):not(.footer) .repdesc{font-style:normal;text-align:center;font-size:16px}div:not(.header):not(.footer) p,div:not(.header):not(.footer) table{max-width:800px;margin:auto}th{padding:8px;background:#eee;border:1px #ddd solid}td{padding:8px;background:#ddd;border:1px #ccc solid}td.bar{box-shadow:inset 0 0 0 8px #ddd;color:transparent;background-image:repeating-linear-gradient(45deg,#888,#888 5px,#444 5px,#444 10px)}td.bar img{background-image:repeating-linear-gradient(45deg,#8af,#8af 5px,#48d 5px,#48d 10px)}.goto{text-align:center}.footer{text-align:center}.credit:after{display:block;content:'Analog Modern theme by unascribed (Aesen Vismea) - unascribed.com';opacity:.6}.eachunit{display:none}
/*
* Analog Modern
* Copyright (c) 2015, Aesen Vismea <aesen@unascribed.com>
*
* The MIT License
*
* 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.
*/
@import url(http://fonts.googleapis.com/css?family=Lato:300,100)
body
background #EEE
font-family 'Lato', sans-serif
font-weight 300
h1
font-weight 100
font-size 48px
.header
text-align center
h2
background transparent
border-bottom 1px #333 solid
font-weight 300
text-align center
div:not(.header):not(.footer)
.repdesc
font-style normal
text-align center
font-size 16px
p, table
max-width 800px
margin auto
th
padding 8px
background #EEE
border 1px #DDD solid
td
padding 8px
background #DDD
border 1px #CCC solid
td.bar
box-shadow inset 0px 0px 0px 8px #DDD
color transparent
background-image repeating-linear-gradient(
45deg,
#888,
#888 5px,
#444 5px,
#444 10px
)
img
background-image repeating-linear-gradient(
45deg,
#8AF,
#8AF 5px,
#48D 5px,
#48D 10px
)
.goto
text-align center
.footer
text-align center
.credit:after
display block
content 'Analog Modern theme by unascribed (Aesen Vismea) - unascribed.com'
opacity 0.6
.eachunit
display none
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment