notee 0.4.0 → 1.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/assets/javascripts/notee/application.js +19539 -17294
- data/app/controllers/notee/application_controller.rb +5 -0
- data/app/controllers/notee/categories_controller.rb +7 -3
- data/app/controllers/notee/comments_controller.rb +9 -4
- data/app/controllers/notee/images_controller.rb +2 -2
- data/app/controllers/notee/posts_controller.rb +11 -4
- data/app/controllers/notee/roles_controller.rb +1 -1
- data/app/controllers/notee/tokens_controller.rb +9 -15
- data/app/controllers/notee/trashes_controller.rb +60 -0
- data/app/controllers/notee/users_controller.rb +26 -6
- data/app/models/notee/application_record.rb +27 -0
- data/app/models/notee/authority.rb +377 -0
- data/app/models/notee/category.rb +15 -2
- data/app/models/notee/comment.rb +6 -0
- data/app/models/notee/image.rb +2 -2
- data/app/models/notee/post.rb +7 -5
- data/app/models/notee/user.rb +97 -41
- data/app/views/layouts/notee/application.html.erb +3 -1
- data/config/routes.rb +19 -9
- data/db/migrate/20160605141437_create_notee_posts.rb +1 -0
- data/db/migrate/20160605141510_create_notee_categories.rb +4 -1
- data/db/migrate/20160605141547_create_notee_images.rb +4 -2
- data/db/migrate/20160803154954_create_notee_comments.rb +2 -1
- data/db/migrate/20160809145754_create_notee_users.rb +1 -0
- data/lib/notee/helpers/notee_helper.rb +65 -46
- data/lib/notee/helpers/view_helper.rb +10 -2
- data/lib/notee/status.rb +1 -2
- data/lib/notee/version.rb +1 -1
- data/lib/tasks/config/notee.rb +26 -0
- data/lib/tasks/config/schedule.rb +7 -0
- data/lib/tasks/controllers/notee_controller.rb +65 -0
- data/lib/tasks/javascripts/notee/highlight.pack.js +2 -0
- data/lib/tasks/notee_tasks.rake +105 -51
- data/lib/tasks/stylesheets/notee/highlight/agate.css +108 -0
- data/lib/tasks/stylesheets/notee/highlight/androidstudio.css +66 -0
- data/lib/tasks/stylesheets/notee/highlight/arduino-light.css +88 -0
- data/lib/tasks/stylesheets/notee/highlight/arta.css +73 -0
- data/lib/tasks/stylesheets/notee/highlight/ascetic.css +45 -0
- data/lib/tasks/stylesheets/notee/highlight/atelier-cave-dark.css +83 -0
- data/lib/tasks/stylesheets/notee/highlight/atelier-cave-light.css +85 -0
- data/lib/tasks/stylesheets/notee/highlight/atelier-dune-dark.css +69 -0
- data/lib/tasks/stylesheets/notee/highlight/atelier-dune-light.css +69 -0
- data/lib/tasks/stylesheets/notee/highlight/atelier-estuary-dark.css +84 -0
- data/lib/tasks/stylesheets/notee/highlight/atelier-estuary-light.css +84 -0
- data/lib/tasks/stylesheets/notee/highlight/atelier-forest-dark.css +69 -0
- data/lib/tasks/stylesheets/notee/highlight/atelier-forest-light.css +69 -0
- data/lib/tasks/stylesheets/notee/highlight/atelier-heath-dark.css +69 -0
- data/lib/tasks/stylesheets/notee/highlight/atelier-heath-light.css +69 -0
- data/lib/tasks/stylesheets/notee/highlight/atelier-lakeside-dark.css +69 -0
- data/lib/tasks/stylesheets/notee/highlight/atelier-lakeside-light.css +69 -0
- data/lib/tasks/stylesheets/notee/highlight/atelier-plateau-dark.css +84 -0
- data/lib/tasks/stylesheets/notee/highlight/atelier-plateau-light.css +84 -0
- data/lib/tasks/stylesheets/notee/highlight/atelier-savanna-dark.css +84 -0
- data/lib/tasks/stylesheets/notee/highlight/atelier-savanna-light.css +84 -0
- data/lib/tasks/stylesheets/notee/highlight/atelier-seaside-dark.css +69 -0
- data/lib/tasks/stylesheets/notee/highlight/atelier-seaside-light.css +69 -0
- data/lib/tasks/stylesheets/notee/highlight/atelier-sulphurpool-dark.css +69 -0
- data/lib/tasks/stylesheets/notee/highlight/atelier-sulphurpool-light.css +69 -0
- data/lib/tasks/stylesheets/notee/highlight/atom-one-dark.css +96 -0
- data/lib/tasks/stylesheets/notee/highlight/atom-one-light.css +96 -0
- data/lib/tasks/stylesheets/notee/highlight/brown-paper.css +64 -0
- data/lib/tasks/stylesheets/notee/highlight/brown-papersq.png +0 -0
- data/lib/tasks/stylesheets/notee/highlight/codepen-embed.css +60 -0
- data/lib/tasks/stylesheets/notee/highlight/color-brewer.css +71 -0
- data/lib/tasks/stylesheets/notee/highlight/darcula.css +77 -0
- data/lib/tasks/stylesheets/notee/highlight/dark.css +63 -0
- data/lib/tasks/stylesheets/notee/highlight/darkula.css +6 -0
- data/lib/tasks/stylesheets/notee/highlight/default.css +99 -0
- data/lib/tasks/stylesheets/notee/highlight/docco.css +97 -0
- data/lib/tasks/stylesheets/notee/highlight/dracula.css +76 -0
- data/lib/tasks/stylesheets/notee/highlight/far.css +71 -0
- data/lib/tasks/stylesheets/notee/highlight/foundation.css +88 -0
- data/lib/tasks/stylesheets/notee/highlight/github-gist.css +71 -0
- data/lib/tasks/stylesheets/notee/highlight/github.css +99 -0
- data/lib/tasks/stylesheets/notee/highlight/googlecode.css +89 -0
- data/lib/tasks/stylesheets/notee/highlight/grayscale.css +101 -0
- data/lib/tasks/stylesheets/notee/highlight/gruvbox-dark.css +108 -0
- data/lib/tasks/stylesheets/notee/highlight/gruvbox-light.css +108 -0
- data/lib/tasks/stylesheets/notee/highlight/hopscotch.css +83 -0
- data/lib/tasks/stylesheets/notee/highlight/hybrid.css +102 -0
- data/lib/tasks/stylesheets/notee/highlight/idea.css +97 -0
- data/lib/tasks/stylesheets/notee/highlight/ir-black.css +73 -0
- data/lib/tasks/stylesheets/notee/highlight/kimbie.dark.css +74 -0
- data/lib/tasks/stylesheets/notee/highlight/kimbie.light.css +74 -0
- data/lib/tasks/stylesheets/notee/highlight/magula.css +70 -0
- data/lib/tasks/stylesheets/notee/highlight/mono-blue.css +59 -0
- data/lib/tasks/stylesheets/notee/highlight/monokai-sublime.css +83 -0
- data/lib/tasks/stylesheets/notee/highlight/monokai.css +70 -0
- data/lib/tasks/stylesheets/notee/highlight/obsidian.css +88 -0
- data/lib/tasks/stylesheets/notee/highlight/ocean.css +74 -0
- data/lib/tasks/stylesheets/notee/highlight/paraiso-dark.css +72 -0
- data/lib/tasks/stylesheets/notee/highlight/paraiso-light.css +72 -0
- data/lib/tasks/stylesheets/notee/highlight/pojoaque.css +83 -0
- data/lib/tasks/stylesheets/notee/highlight/pojoaque.jpg +0 -0
- data/lib/tasks/stylesheets/notee/highlight/purebasic.css +96 -0
- data/lib/tasks/stylesheets/notee/highlight/qtcreator_dark.css +83 -0
- data/lib/tasks/stylesheets/notee/highlight/qtcreator_light.css +83 -0
- data/lib/tasks/stylesheets/notee/highlight/railscasts.css +106 -0
- data/lib/tasks/stylesheets/notee/highlight/rainbow.css +85 -0
- data/lib/tasks/stylesheets/notee/highlight/school-book.css +72 -0
- data/lib/tasks/stylesheets/notee/highlight/school-book.png +0 -0
- data/lib/tasks/stylesheets/notee/highlight/solarized-dark.css +84 -0
- data/lib/tasks/stylesheets/notee/highlight/solarized-light.css +84 -0
- data/lib/tasks/stylesheets/notee/highlight/sunburst.css +102 -0
- data/lib/tasks/stylesheets/notee/highlight/tomorrow-night-blue.css +75 -0
- data/lib/tasks/stylesheets/notee/highlight/tomorrow-night-bright.css +74 -0
- data/lib/tasks/stylesheets/notee/highlight/tomorrow-night-eighties.css +74 -0
- data/lib/tasks/stylesheets/notee/highlight/tomorrow-night.css +75 -0
- data/lib/tasks/stylesheets/notee/highlight/tomorrow.css +72 -0
- data/lib/tasks/stylesheets/notee/highlight/vs.css +68 -0
- data/lib/tasks/stylesheets/notee/highlight/xcode.css +93 -0
- data/lib/tasks/stylesheets/notee/highlight/xt256.css +92 -0
- data/lib/tasks/stylesheets/notee/highlight/zenburn.css +80 -0
- data/lib/tasks/stylesheets/notee/normalize.css +427 -0
- data/lib/tasks/stylesheets/notee/notee_default.css +386 -0
- data/lib/tasks/views/notee/about.html.erb +43 -0
- data/lib/tasks/views/notee/archives.html.erb +16 -0
- data/lib/tasks/views/notee/categories.html.erb +15 -0
- data/lib/tasks/views/notee/partials/_foote.html.erb +3 -0
- data/lib/tasks/views/notee/partials/_header.html.erb +17 -0
- data/lib/tasks/views/notee/partials/_profile.html.erb +9 -0
- data/lib/tasks/views/notee/partials/_sidebar.html.erb +23 -0
- data/lib/tasks/views/notee/posts.html.erb +53 -0
- data/lib/tasks/views/notee/show.html.erb +42 -0
- data/lib/tasks/views/notee/writers.html.erb +11 -0
- metadata +115 -240
- data/lib/tasks/css/notee_default.css +0 -59
- data/test/dummy/db/development.sqlite3 +0 -0
- data/test/dummy/db/test.sqlite3 +0 -0
- data/test/dummy/log/development.log +0 -3087
- data/test/dummy/log/test.log +0 -872
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/-t/-tdJTrCcY92VpiO_z6SIt_iHkHDtn1-8Vf__p-Ve9lU.cache +0 -1
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/0K/0KQJQyRy3gQkymW0xnPhM4_OpLtoTcw9Rutx4F4IajE.cache +0 -1
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/1B/1Bb2_fhXoTmM27WcuQJ2sr0UCMHh6TjrBIwd6Ks8qJ0.cache +0 -1
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/1N/1NYje2ld9grEMpvxBFjocEWWMPi4jNPuPLdlkV1Wq5A.cache +0 -0
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/1s/1sPuKGE0jImBtnCnczIk6NpOn9cYeyBZsXHvpXJ1tGA.cache +0 -2
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/1s/1sRxHck-81_JSGvEidXPx2S86Cbe0UjizohTg5lkd-U.cache +0 -0
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/3d/3dw9fS6dak9HSgJqviXZ6CCibFx8--QDKyWjrqKqraI.cache +0 -0
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/4S/4SCYKO2aAiXfZPZF1vTYeIQegrrqvH-2jlfGl1I6juQ.cache +0 -1
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/4z/4zE2reLAwChLIBivfo5JfQjRwOM2sBvlDLXftsA772o.cache +0 -1
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/5L/5Lly_CA8DZvPhQV2jDQx-Y6P_y3Ygra9t5jfSlGhHDA.cache +0 -0
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/5p/5pDjSjY69Pd-A64UKCqQ_yxQouHkmBElVBKf1IZT2HM.cache +0 -1
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/5p/5pnvfhvSgahCnLPLbhB7dM8lSEhk2w39UTDXe83gYng.cache +0 -0
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/5r/5r2K8e-LRVnmo3VUaNdNx3K1b_BgFMOboxlnTQC_Ckk.cache +0 -1
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/5u/5ue4ZdF425UevYa9Danha84KDME2s4InW-zR-y-Y0SM.cache +0 -2
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/6Q/6Qq8Rnvquz8oH8ojJlj79pSAhSHH_VoWRS0Cn-d-yLQ.cache +0 -1
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/6Y/6Y--Gdy-iDkVFcgE3j660zOA3sf_osOedfJpeV_Kxh4.cache +0 -0
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/7G/7GrmDrSvjAFvLUcaRN95cQLmvkzf8D_cvGlhRyL01HA.cache +0 -1
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/83/83mXRYYdvGZS4tNS_IFZLa5P6e-fg9MSMqWG4MJ-Jks.cache +0 -1
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/8H/8HKewCH2XL9errlVDVPK8QZg0LoH-_Q3zqQ1pjCYBEU.cache +0 -1
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/8v/8vJIODLLCFZwV8yIF98dlb5_CQZlgBdCLiM8UA6WiSA.cache +0 -1
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/9W/9WtQTxW8TE4CQvkem1QkHVjZFB93XAJo3ioPSt6U5wM.cache +0 -0
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/AH/AHLaBPz-xNABgeh1V66iU7wJ6FCxvFIie5V05wRvI84.cache +0 -1
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/C1/C1S3q8MtvUImrUe70fZPf9wxMfxdcWPSRXRrv4H6_lo.cache +0 -1
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/D4/D4ftsVSRtZadejqqBmur8bfiHLhZFCaIjpsAdJT28Iw.cache +0 -1
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/DS/DSOLSc6A5RVSmvM415eEWAWG_AgOvZcLZOXQjsXyWQA.cache +0 -2
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/Fr/FrWiXIfDo2-fsKFSgef9Bs-0HjC7dOgBY8IVBLCq9ag.cache +0 -1
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/Fz/FzjTR8U_FOgMIbfYBgJfzujyNBozRZd-3YYTkiAQTOg.cache +0 -1
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/G6/G6nKI6E9cfkIZqH5EnbMJtS4DKHApFlNTKh__ZuK774.cache +0 -2
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/HH/HHQp4rqJ3kx9sfFo3AAW2DS6zHl28lCqALB5YnKXeG8.cache +0 -0
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/IN/INpQmG9J4AOUCg2YWypvnwq9ce01SFPnDGidI2qcU_8.cache +0 -1
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/J0/J038M_TjhJBb-678LCin4jaJSkSaaXy7XHJbEp1Bo5I.cache +0 -2
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/JI/JIHr2A9bWoln5XahhS15lRxvHSXdQZ7OrlbAW1IzayM.cache +0 -1
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/JI/JId5JhtAhhN90V7z1OSItT9m4n4H_Nfk3IGtOW0mA_s.cache +0 -3
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/JP/JPylOhsUjr9NtL1AViDe-Sz0-iLPZGPww463ChRqhEw.cache +0 -0
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/JU/JUdbchVNMjz67zIvPztSzFfpU_VO4Rl9V86GzJH28_A.cache +0 -2
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/K0/K0Ou5PNqxeODBFSEnIeg7EaidQVBRvPH-SPrTF1tRVA.cache +0 -1
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/KS/KSTuVqjLw0xUGYH5WcnAloHDphCDQr4cFjXKKl5vW7M.cache +0 -0
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/L-/L--JLWiCS6RZ0l_EciZOoY0eTEs6BGBED1YZ7hj13vQ.cache +0 -1
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/ME/META30ksADpNoAnM_vlhKhlLOfxBlo5uJjJKSJa264o.cache +0 -1
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/MH/MHQULHaqwmMfm67LLiF_ZDlM6Zix3aPput7pxTViWQ0.cache +0 -1
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/NK/NKXg7894FsAVQJxXzYkUOgd131zYAeWOIxmegdT-LFk.cache +0 -2
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/NW/NWx4g28WkpCPeRLdgMDaUuLO2e4UIw2bs-HKy-ixIlU.cache +0 -1
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/Nj/NjPNj--fkweGPvPTHkDlefKtB5bpFaGG9X60M_goNUo.cache +0 -2
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/OI/OI6uxGcnsKavdWTtwDAasU3wPx8QXhzBgV0X2n1KjMQ.cache +0 -0
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/Oh/Ohok7uysixzjxK1FE7m-KJv6gqYQH4svN8nZyRBOgwA.cache +0 -1
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/Ot/Ot7COhZjTueyAONhzjXiOOwv0uTS9EtXGgxYznVMIvs.cache +0 -3
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/P4/P4KZGx6J2yGIq1PMq13fnsaXrS47R-S_sYrQrcUL59I.cache +0 -3
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/Pn/Pn9eXmle4fRjakm_xgwyXs5YzlWELSuhbi3nnV2-Ink.cache +0 -0
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/QY/QYNLSW9XctrfttzhOfkik5INswRo-qBjjwQvA7S_lyc.cache +0 -1
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/Qb/Qbb4ATlvuCS0fudaTweqJoma2S99Mr2Q6ISbIpDoMso.cache +0 -0
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/R6/R6E4Q8O1upT5p_U-ySDbO3dFY6SMeSwmubqJUfSJedo.cache +0 -0
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/Rv/RvcRQ_I7meCLqBRooErlcPwcbH0tdDuvO5SQ_Xy45Qk.cache +0 -2
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/Sz/SzRmx7uSmniNAGO1zMPd4qzEgM8eAaWBqaxestc32Jg.cache +0 -0
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/Tk/TkRyIpbn-1DcVexPTWUljWQOek0D_q6yO_jYNGwKM_o.cache +0 -0
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/U1/U1E_3Z4bItTBl9s8aX6O2rceqAD5GfoNzF8AqYs9Hig.cache +0 -0
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/UC/UCe1qLwGTD6W2etoFOMln6E2DgTq8Xnm7eGvCs6YGEE.cache +0 -1
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/UZ/UZhrzLOgNG132Xf1yJ7H7lSq4S3TyDoPphdzwKU8fqQ.cache +0 -3
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/Ud/UdBXq-s3u32R-gjMCYZv9RJH4n1xSt8PnBpWxg-JzGE.cache +0 -1
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/VD/VDaYJQJdErZ0zVg9KgvidORf7a13jqM72Uk97zzuUZU.cache +0 -2
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/WT/WTExV_4iBOBS-SWMh6jqm61uSp83ezH5DPIkjfktls4.cache +0 -3
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/Wi/Wia5tzg4hJNhNhKWgY7pkrxWbvr6n0YaKXl80wh6qPg.cache +0 -1
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/Wl/WldqQqssrkJedTdiFt86Y6FDn5ww1MirVAAnOpRqeCE.cache +0 -3
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/Wv/WvAZ72pGsB5VpmTmGBucm1eztH129yQ1YmrRMy-yS4g.cache +0 -0
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/Wz/WzSkff9VUQsb0DJ5RB3m3SfxRTMU97qhyNCqiIHlJPw.cache +0 -1
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/Yx/Yx6fZ9ju2qCb4Ps_0iEzNR7KgDNTE2gIRjcdOMFXNlo.cache +0 -2
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/ZO/ZOUPFk5_ZB8Wtn42g9PiY6Qu7KSbipNG04Qa5YSP6sw.cache +0 -0
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/ZT/ZT-4a7lIKMm0Swxyt7MdXMz5v6r5MaVvtHvqAT6T8Ts.cache +0 -0
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/Zb/ZbvOW6HdEiql0zdGkCPG-EK8beJAmp1ovBR1Oy1V6Fw.cache +0 -1
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/Zu/ZuAoFB2A_kFOIb19dNUzEU5jP-SzQLmauPCURINz2Fo.cache +0 -0
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/_r/_rmEe1ir-igQN0twVhxrxngbLIFJkINITWVGNye4-MM.cache +0 -2
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/aE/aEQNT9eY4cAc2ACQnD35BkLV5dEezB-drcCoF1SzjAc.cache +0 -0
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/bK/bKPdLlYXb5ZZU8vrzCdKqLgCXyeiXHExSl9lwGIofU0.cache +0 -0
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/br/brGLDCuoxhnIrvwsuWmzjnwDV7Bn_nezqOrXiI0oco0.cache +0 -3
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/c3/c3Jo7UkNggNJH21U9HD-Y5Lipd68yZXcl6FGMbzFEeM.cache +0 -0
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/c4/c4YjuvK4zQOjr5Q6N7A_-NHM59NF0kGApLBxSZ5JgqA.cache +0 -1
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/c9/c9B4H9i5OvdAnZpel-KocssCcsd3TS2Gqe4uKAFjiKQ.cache +0 -1
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/dM/dMJ_N4wD6R1wforGNMdyz6wec-5a7_H03vxu0pgPhLc.cache +0 -0
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/dr/drYndmRIbBKroImntO4XhUYV5kqxE2q2qE_aYRwYj4Q.cache +0 -0
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/du/dumQ6K8NP4rz74ofF4DxxFRetR-K07c75MhZrUQDbqY.cache +0 -3
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/fn/fns6a_EwXvrlRyeQjB9lcYXHfIZi0guP75oUWPuz4Z0.cache +0 -0
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/g3/g3NfArxOfOGHlWIGK-Znm2-gh1Oyud_f5ZEFuGrOv2g.cache +0 -0
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/gF/gFErWaVWbjefUiSe3yI-bWCrUD3SsMHomSjTacMlSDM.cache +0 -2
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/gG/gGCsoohK0vflREMUeOrfW4KZeI73jU9ld5t0pzfjh4U.cache +0 -0
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/gZ/gZp3uXMHuYQC4hzCr7bQfetKNdJAtbQmg3so2KpW1Dw.cache +0 -2
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/hZ/Hz6pNt28QsuyrFcIx0afHONIVEGdLBEC64cV2zh2xAM.cache +0 -2
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/hZ/hZi1k6tpxxCGYxRe7zY74ItcOI8gZrREOpGuA8JSpGg.cache +0 -0
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/hv/hvw4qAvufcLTOeT9ie13DTIDt3SOLih2iH9P603ZOFQ.cache +0 -0
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/iZ/iZGxFM6U5PSEZmHGlksi8vAVBMlMiyjOBaL8HIGcOPE.cache +0 -0
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/ig/iguUMDAVIm9pfM52njpM4hqpnNYkwKTWvNXQyolgR74.cache +0 -0
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/jJ/jJTo0slnuZqKDbuFGjyBEkenWViH1MiTvb7gNjc4SL4.cache +0 -1
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/jN/jNM9mSzc6sg9yU7srXH0l2_bPIXbqLtJVBML2umXb9w.cache +0 -0
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/jh/jhx8TAOiUaenqesmOiahNzaVcnpiciOE8VKZdrxGerc.cache +0 -1
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/kT/kTif4yPNd0vB6fWie0kxsN5Gwubl8sqAOyydwpiyHzo.cache +0 -1
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/m3/m3lSeIbfcyVVkENoCOiz_6LvNubosVesCJBkdI88aNk.cache +0 -1
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/m6/m6kJHQNOyyMHxod8TObJKAp8iV_noMwYPWsBh-CCG0k.cache +0 -1
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/mX/mXJ655Gxgvg2C08jNcMFB9OQ2G6HrtGc_MfVIpYycsg.cache +0 -3
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/mr/MrG8zKUbpqoyxO2GdEOuWmFBUIpOKL3upEtfOWsYluQ.cache +0 -0
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/mr/mr-hjupF6Lf8wABiaoi8L9823j20yjhhTnrn4FNsEZI.cache +0 -1
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/n2/n2T4JbhKpnbSE5uhnXyPzu4WnDOkMu78BrJ-Huhn7YU.cache +0 -2
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/nC/nCuKY2iJdzgSyWS09dThZ5T57F8vGBo0w-ycyuEidUk.cache +0 -1
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/og/ogVEMp7SPQ-wAJz4mNXdRrx52GXFvHKpSx3bS7dr_t8.cache +0 -1
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/pE/pEhaat2KBd5SrT7szC_8R1_6hK17FTpvoRFkmCRSD3M.cache +0 -0
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/pO/pOOGu7nAdun08PmdiHZas85h5Kqbgs6_M5vHQQKJgW8.cache +0 -1
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/pX/pXIDW5zCrR8MxxTON9elPRDkMBEefpa-fWViSmyJGns.cache +0 -2
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/qF/qFG1ZnUOHTHsxMxvN1iTKNCA05nrecKPlygtJzvMdSs.cache +0 -2
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/sS/sS00IDFTJ19zoTjrB2-Sypybo0I1qXoTtW8JabBMoAo.cache +0 -0
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/sb/sbB7Wbcww5hxA8e-5K0oBKQDnlNNnY90t0YUIdYE138.cache +0 -1
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/xX/xXo4fouecqy2oZpxsgtkqL6uyIDuKLwBUwmzddno9hw.cache +0 -0
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/x_/x_WcnsWyMV1QzLUnFW5J4gZHs0gACREYGaSom7xcaBQ.cache +0 -1
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/yC/yCp-2wuXWORHGqxfwG37-mb00X8GpHiRjrlo2QQX3lU.cache +0 -1
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/yW/yWtPpcB-kB8_hw5k0prtaOvTW5A5PaCT0ZaJSdh8Zkw.cache +0 -0
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/ys/ysFM6FIJniGme1T62LOmRFt3h7g0scd6o6BFIjS5Ppg.cache +0 -0
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/z4/z4i9WzpZRzFXynWsqewNMikNdcZ9f9mGFdlrIP5N6Gs.cache +0 -1
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/zN/zNfQXfFXMTyOoz3HbVM-_4m-46rWO7XrZPvGs4aJCQc.cache +0 -2
@@ -0,0 +1,68 @@
|
|
1
|
+
/*
|
2
|
+
|
3
|
+
Visual Studio-like style based on original C# coloring by Jason Diamond <jason@diamond.name>
|
4
|
+
|
5
|
+
*/
|
6
|
+
.hljs {
|
7
|
+
display: block;
|
8
|
+
overflow-x: auto;
|
9
|
+
padding: 0.5em;
|
10
|
+
background: white;
|
11
|
+
color: black;
|
12
|
+
}
|
13
|
+
|
14
|
+
.hljs-comment,
|
15
|
+
.hljs-quote,
|
16
|
+
.hljs-variable {
|
17
|
+
color: #008000;
|
18
|
+
}
|
19
|
+
|
20
|
+
.hljs-keyword,
|
21
|
+
.hljs-selector-tag,
|
22
|
+
.hljs-built_in,
|
23
|
+
.hljs-name,
|
24
|
+
.hljs-tag {
|
25
|
+
color: #00f;
|
26
|
+
}
|
27
|
+
|
28
|
+
.hljs-string,
|
29
|
+
.hljs-title,
|
30
|
+
.hljs-section,
|
31
|
+
.hljs-attribute,
|
32
|
+
.hljs-literal,
|
33
|
+
.hljs-template-tag,
|
34
|
+
.hljs-template-variable,
|
35
|
+
.hljs-type,
|
36
|
+
.hljs-addition {
|
37
|
+
color: #a31515;
|
38
|
+
}
|
39
|
+
|
40
|
+
.hljs-deletion,
|
41
|
+
.hljs-selector-attr,
|
42
|
+
.hljs-selector-pseudo,
|
43
|
+
.hljs-meta {
|
44
|
+
color: #2b91af;
|
45
|
+
}
|
46
|
+
|
47
|
+
.hljs-doctag {
|
48
|
+
color: #808080;
|
49
|
+
}
|
50
|
+
|
51
|
+
.hljs-attr {
|
52
|
+
color: #f00;
|
53
|
+
}
|
54
|
+
|
55
|
+
.hljs-symbol,
|
56
|
+
.hljs-bullet,
|
57
|
+
.hljs-link {
|
58
|
+
color: #00b0e8;
|
59
|
+
}
|
60
|
+
|
61
|
+
|
62
|
+
.hljs-emphasis {
|
63
|
+
font-style: italic;
|
64
|
+
}
|
65
|
+
|
66
|
+
.hljs-strong {
|
67
|
+
font-weight: bold;
|
68
|
+
}
|
@@ -0,0 +1,93 @@
|
|
1
|
+
/*
|
2
|
+
|
3
|
+
XCode style (c) Angel Garcia <angelgarcia.mail@gmail.com>
|
4
|
+
|
5
|
+
*/
|
6
|
+
|
7
|
+
.hljs {
|
8
|
+
display: block;
|
9
|
+
overflow-x: auto;
|
10
|
+
padding: 0.5em;
|
11
|
+
background: #fff;
|
12
|
+
color: black;
|
13
|
+
}
|
14
|
+
|
15
|
+
.hljs-comment,
|
16
|
+
.hljs-quote {
|
17
|
+
color: #006a00;
|
18
|
+
}
|
19
|
+
|
20
|
+
.hljs-keyword,
|
21
|
+
.hljs-selector-tag,
|
22
|
+
.hljs-literal {
|
23
|
+
color: #aa0d91;
|
24
|
+
}
|
25
|
+
|
26
|
+
.hljs-name {
|
27
|
+
color: #008;
|
28
|
+
}
|
29
|
+
|
30
|
+
.hljs-variable,
|
31
|
+
.hljs-template-variable {
|
32
|
+
color: #660;
|
33
|
+
}
|
34
|
+
|
35
|
+
.hljs-string {
|
36
|
+
color: #c41a16;
|
37
|
+
}
|
38
|
+
|
39
|
+
.hljs-regexp,
|
40
|
+
.hljs-link {
|
41
|
+
color: #080;
|
42
|
+
}
|
43
|
+
|
44
|
+
.hljs-title,
|
45
|
+
.hljs-tag,
|
46
|
+
.hljs-symbol,
|
47
|
+
.hljs-bullet,
|
48
|
+
.hljs-number,
|
49
|
+
.hljs-meta {
|
50
|
+
color: #1c00cf;
|
51
|
+
}
|
52
|
+
|
53
|
+
.hljs-section,
|
54
|
+
.hljs-class .hljs-title,
|
55
|
+
.hljs-type,
|
56
|
+
.hljs-attr,
|
57
|
+
.hljs-built_in,
|
58
|
+
.hljs-builtin-name,
|
59
|
+
.hljs-params {
|
60
|
+
color: #5c2699;
|
61
|
+
}
|
62
|
+
|
63
|
+
.hljs-attribute,
|
64
|
+
.hljs-subst {
|
65
|
+
color: #000;
|
66
|
+
}
|
67
|
+
|
68
|
+
.hljs-formula {
|
69
|
+
background-color: #eee;
|
70
|
+
font-style: italic;
|
71
|
+
}
|
72
|
+
|
73
|
+
.hljs-addition {
|
74
|
+
background-color: #baeeba;
|
75
|
+
}
|
76
|
+
|
77
|
+
.hljs-deletion {
|
78
|
+
background-color: #ffc8bd;
|
79
|
+
}
|
80
|
+
|
81
|
+
.hljs-selector-id,
|
82
|
+
.hljs-selector-class {
|
83
|
+
color: #9b703f;
|
84
|
+
}
|
85
|
+
|
86
|
+
.hljs-doctag,
|
87
|
+
.hljs-strong {
|
88
|
+
font-weight: bold;
|
89
|
+
}
|
90
|
+
|
91
|
+
.hljs-emphasis {
|
92
|
+
font-style: italic;
|
93
|
+
}
|
@@ -0,0 +1,92 @@
|
|
1
|
+
|
2
|
+
/*
|
3
|
+
xt256.css
|
4
|
+
|
5
|
+
Contact: initbar [at] protonmail [dot] ch
|
6
|
+
: github.com/initbar
|
7
|
+
*/
|
8
|
+
|
9
|
+
.hljs {
|
10
|
+
display: block;
|
11
|
+
overflow-x: auto;
|
12
|
+
color: #eaeaea;
|
13
|
+
background: #000;
|
14
|
+
padding: 0.5;
|
15
|
+
}
|
16
|
+
|
17
|
+
.hljs-subst {
|
18
|
+
color: #eaeaea;
|
19
|
+
}
|
20
|
+
|
21
|
+
.hljs-emphasis {
|
22
|
+
font-style: italic;
|
23
|
+
}
|
24
|
+
|
25
|
+
.hljs-strong {
|
26
|
+
font-weight: bold;
|
27
|
+
}
|
28
|
+
|
29
|
+
.hljs-builtin-name,
|
30
|
+
.hljs-type {
|
31
|
+
color: #eaeaea;
|
32
|
+
}
|
33
|
+
|
34
|
+
.hljs-params {
|
35
|
+
color: #da0000;
|
36
|
+
}
|
37
|
+
|
38
|
+
.hljs-literal,
|
39
|
+
.hljs-number,
|
40
|
+
.hljs-name {
|
41
|
+
color: #ff0000;
|
42
|
+
font-weight: bolder;
|
43
|
+
}
|
44
|
+
|
45
|
+
.hljs-comment {
|
46
|
+
color: #969896;
|
47
|
+
}
|
48
|
+
|
49
|
+
.hljs-selector-id,
|
50
|
+
.hljs-quote {
|
51
|
+
color: #00ffff;
|
52
|
+
}
|
53
|
+
|
54
|
+
.hljs-template-variable,
|
55
|
+
.hljs-variable,
|
56
|
+
.hljs-title {
|
57
|
+
color: #00ffff;
|
58
|
+
font-weight: bold;
|
59
|
+
}
|
60
|
+
|
61
|
+
.hljs-selector-class,
|
62
|
+
.hljs-keyword,
|
63
|
+
.hljs-symbol {
|
64
|
+
color: #fff000;
|
65
|
+
}
|
66
|
+
|
67
|
+
.hljs-string,
|
68
|
+
.hljs-bullet {
|
69
|
+
color: #00ff00;
|
70
|
+
}
|
71
|
+
|
72
|
+
.hljs-tag,
|
73
|
+
.hljs-section {
|
74
|
+
color: #000fff;
|
75
|
+
}
|
76
|
+
|
77
|
+
.hljs-selector-tag {
|
78
|
+
color: #000fff;
|
79
|
+
font-weight: bold;
|
80
|
+
}
|
81
|
+
|
82
|
+
.hljs-attribute,
|
83
|
+
.hljs-built_in,
|
84
|
+
.hljs-regexp,
|
85
|
+
.hljs-link {
|
86
|
+
color: #ff00ff;
|
87
|
+
}
|
88
|
+
|
89
|
+
.hljs-meta {
|
90
|
+
color: #fff;
|
91
|
+
font-weight: bolder;
|
92
|
+
}
|
@@ -0,0 +1,80 @@
|
|
1
|
+
/*
|
2
|
+
|
3
|
+
Zenburn style from voldmar.ru (c) Vladimir Epifanov <voldmar@voldmar.ru>
|
4
|
+
based on dark.css by Ivan Sagalaev
|
5
|
+
|
6
|
+
*/
|
7
|
+
|
8
|
+
.hljs {
|
9
|
+
display: block;
|
10
|
+
overflow-x: auto;
|
11
|
+
padding: 0.5em;
|
12
|
+
background: #3f3f3f;
|
13
|
+
color: #dcdcdc;
|
14
|
+
}
|
15
|
+
|
16
|
+
.hljs-keyword,
|
17
|
+
.hljs-selector-tag,
|
18
|
+
.hljs-tag {
|
19
|
+
color: #e3ceab;
|
20
|
+
}
|
21
|
+
|
22
|
+
.hljs-template-tag {
|
23
|
+
color: #dcdcdc;
|
24
|
+
}
|
25
|
+
|
26
|
+
.hljs-number {
|
27
|
+
color: #8cd0d3;
|
28
|
+
}
|
29
|
+
|
30
|
+
.hljs-variable,
|
31
|
+
.hljs-template-variable,
|
32
|
+
.hljs-attribute {
|
33
|
+
color: #efdcbc;
|
34
|
+
}
|
35
|
+
|
36
|
+
.hljs-literal {
|
37
|
+
color: #efefaf;
|
38
|
+
}
|
39
|
+
|
40
|
+
.hljs-subst {
|
41
|
+
color: #8f8f8f;
|
42
|
+
}
|
43
|
+
|
44
|
+
.hljs-title,
|
45
|
+
.hljs-name,
|
46
|
+
.hljs-selector-id,
|
47
|
+
.hljs-selector-class,
|
48
|
+
.hljs-section,
|
49
|
+
.hljs-type {
|
50
|
+
color: #efef8f;
|
51
|
+
}
|
52
|
+
|
53
|
+
.hljs-symbol,
|
54
|
+
.hljs-bullet,
|
55
|
+
.hljs-link {
|
56
|
+
color: #dca3a3;
|
57
|
+
}
|
58
|
+
|
59
|
+
.hljs-deletion,
|
60
|
+
.hljs-string,
|
61
|
+
.hljs-built_in,
|
62
|
+
.hljs-builtin-name {
|
63
|
+
color: #cc9393;
|
64
|
+
}
|
65
|
+
|
66
|
+
.hljs-addition,
|
67
|
+
.hljs-comment,
|
68
|
+
.hljs-quote,
|
69
|
+
.hljs-meta {
|
70
|
+
color: #7f9f7f;
|
71
|
+
}
|
72
|
+
|
73
|
+
|
74
|
+
.hljs-emphasis {
|
75
|
+
font-style: italic;
|
76
|
+
}
|
77
|
+
|
78
|
+
.hljs-strong {
|
79
|
+
font-weight: bold;
|
80
|
+
}
|
@@ -0,0 +1,427 @@
|
|
1
|
+
/*! normalize.css v3.0.2 | MIT License | git.io/normalize */
|
2
|
+
|
3
|
+
/**
|
4
|
+
* 1. Set default font family to sans-serif.
|
5
|
+
* 2. Prevent iOS text size adjust after orientation change, without disabling
|
6
|
+
* user zoom.
|
7
|
+
*/
|
8
|
+
|
9
|
+
html {
|
10
|
+
font-family: sans-serif; /* 1 */
|
11
|
+
-ms-text-size-adjust: 100%; /* 2 */
|
12
|
+
-webkit-text-size-adjust: 100%; /* 2 */
|
13
|
+
}
|
14
|
+
|
15
|
+
/**
|
16
|
+
* Remove default margin.
|
17
|
+
*/
|
18
|
+
|
19
|
+
body {
|
20
|
+
margin: 0;
|
21
|
+
}
|
22
|
+
|
23
|
+
/* HTML5 display definitions
|
24
|
+
========================================================================== */
|
25
|
+
|
26
|
+
/**
|
27
|
+
* Correct `block` display not defined for any HTML5 element in IE 8/9.
|
28
|
+
* Correct `block` display not defined for `details` or `summary` in IE 10/11
|
29
|
+
* and Firefox.
|
30
|
+
* Correct `block` display not defined for `main` in IE 11.
|
31
|
+
*/
|
32
|
+
|
33
|
+
article,
|
34
|
+
aside,
|
35
|
+
details,
|
36
|
+
figcaption,
|
37
|
+
figure,
|
38
|
+
footer,
|
39
|
+
header,
|
40
|
+
hgroup,
|
41
|
+
main,
|
42
|
+
menu,
|
43
|
+
nav,
|
44
|
+
section,
|
45
|
+
summary {
|
46
|
+
display: block;
|
47
|
+
}
|
48
|
+
|
49
|
+
/**
|
50
|
+
* 1. Correct `inline-block` display not defined in IE 8/9.
|
51
|
+
* 2. Normalize vertical alignment of `progress` in Chrome, Firefox, and Opera.
|
52
|
+
*/
|
53
|
+
|
54
|
+
audio,
|
55
|
+
canvas,
|
56
|
+
progress,
|
57
|
+
video {
|
58
|
+
display: inline-block; /* 1 */
|
59
|
+
vertical-align: baseline; /* 2 */
|
60
|
+
}
|
61
|
+
|
62
|
+
/**
|
63
|
+
* Prevent modern browsers from displaying `audio` without controls.
|
64
|
+
* Remove excess height in iOS 5 devices.
|
65
|
+
*/
|
66
|
+
|
67
|
+
audio:not([controls]) {
|
68
|
+
display: none;
|
69
|
+
height: 0;
|
70
|
+
}
|
71
|
+
|
72
|
+
/**
|
73
|
+
* Address `[hidden]` styling not present in IE 8/9/10.
|
74
|
+
* Hide the `template` element in IE 8/9/11, Safari, and Firefox < 22.
|
75
|
+
*/
|
76
|
+
|
77
|
+
[hidden],
|
78
|
+
template {
|
79
|
+
display: none;
|
80
|
+
}
|
81
|
+
|
82
|
+
/* Links
|
83
|
+
========================================================================== */
|
84
|
+
|
85
|
+
/**
|
86
|
+
* Remove the gray background color from active links in IE 10.
|
87
|
+
*/
|
88
|
+
|
89
|
+
a {
|
90
|
+
background-color: transparent;
|
91
|
+
}
|
92
|
+
|
93
|
+
/**
|
94
|
+
* Improve readability when focused and also mouse hovered in all browsers.
|
95
|
+
*/
|
96
|
+
|
97
|
+
a:active,
|
98
|
+
a:hover {
|
99
|
+
outline: 0;
|
100
|
+
}
|
101
|
+
|
102
|
+
/* Text-level semantics
|
103
|
+
========================================================================== */
|
104
|
+
|
105
|
+
/**
|
106
|
+
* Address styling not present in IE 8/9/10/11, Safari, and Chrome.
|
107
|
+
*/
|
108
|
+
|
109
|
+
abbr[title] {
|
110
|
+
border-bottom: 1px dotted;
|
111
|
+
}
|
112
|
+
|
113
|
+
/**
|
114
|
+
* Address style set to `bolder` in Firefox 4+, Safari, and Chrome.
|
115
|
+
*/
|
116
|
+
|
117
|
+
b,
|
118
|
+
strong {
|
119
|
+
font-weight: bold;
|
120
|
+
}
|
121
|
+
|
122
|
+
/**
|
123
|
+
* Address styling not present in Safari and Chrome.
|
124
|
+
*/
|
125
|
+
|
126
|
+
dfn {
|
127
|
+
font-style: italic;
|
128
|
+
}
|
129
|
+
|
130
|
+
/**
|
131
|
+
* Address variable `h1` font-size and margin within `section` and `article`
|
132
|
+
* contexts in Firefox 4+, Safari, and Chrome.
|
133
|
+
*/
|
134
|
+
|
135
|
+
h1 {
|
136
|
+
font-size: 2em;
|
137
|
+
margin: 0.67em 0;
|
138
|
+
}
|
139
|
+
|
140
|
+
/**
|
141
|
+
* Address styling not present in IE 8/9.
|
142
|
+
*/
|
143
|
+
|
144
|
+
mark {
|
145
|
+
background: #ff0;
|
146
|
+
color: #000;
|
147
|
+
}
|
148
|
+
|
149
|
+
/**
|
150
|
+
* Address inconsistent and variable font size in all browsers.
|
151
|
+
*/
|
152
|
+
|
153
|
+
small {
|
154
|
+
font-size: 80%;
|
155
|
+
}
|
156
|
+
|
157
|
+
/**
|
158
|
+
* Prevent `sub` and `sup` affecting `line-height` in all browsers.
|
159
|
+
*/
|
160
|
+
|
161
|
+
sub,
|
162
|
+
sup {
|
163
|
+
font-size: 75%;
|
164
|
+
line-height: 0;
|
165
|
+
position: relative;
|
166
|
+
vertical-align: baseline;
|
167
|
+
}
|
168
|
+
|
169
|
+
sup {
|
170
|
+
top: -0.5em;
|
171
|
+
}
|
172
|
+
|
173
|
+
sub {
|
174
|
+
bottom: -0.25em;
|
175
|
+
}
|
176
|
+
|
177
|
+
/* Embedded content
|
178
|
+
========================================================================== */
|
179
|
+
|
180
|
+
/**
|
181
|
+
* Remove border when inside `a` element in IE 8/9/10.
|
182
|
+
*/
|
183
|
+
|
184
|
+
img {
|
185
|
+
border: 0;
|
186
|
+
}
|
187
|
+
|
188
|
+
/**
|
189
|
+
* Correct overflow not hidden in IE 9/10/11.
|
190
|
+
*/
|
191
|
+
|
192
|
+
svg:not(:root) {
|
193
|
+
overflow: hidden;
|
194
|
+
}
|
195
|
+
|
196
|
+
/* Grouping content
|
197
|
+
========================================================================== */
|
198
|
+
|
199
|
+
/**
|
200
|
+
* Address margin not present in IE 8/9 and Safari.
|
201
|
+
*/
|
202
|
+
|
203
|
+
figure {
|
204
|
+
margin: 1em 40px;
|
205
|
+
}
|
206
|
+
|
207
|
+
/**
|
208
|
+
* Address differences between Firefox and other browsers.
|
209
|
+
*/
|
210
|
+
|
211
|
+
hr {
|
212
|
+
-moz-box-sizing: content-box;
|
213
|
+
box-sizing: content-box;
|
214
|
+
height: 0;
|
215
|
+
}
|
216
|
+
|
217
|
+
/**
|
218
|
+
* Contain overflow in all browsers.
|
219
|
+
*/
|
220
|
+
|
221
|
+
pre {
|
222
|
+
overflow: auto;
|
223
|
+
}
|
224
|
+
|
225
|
+
/**
|
226
|
+
* Address odd `em`-unit font size rendering in all browsers.
|
227
|
+
*/
|
228
|
+
|
229
|
+
code,
|
230
|
+
kbd,
|
231
|
+
pre,
|
232
|
+
samp {
|
233
|
+
font-family: monospace, monospace;
|
234
|
+
font-size: 1em;
|
235
|
+
}
|
236
|
+
|
237
|
+
/* Forms
|
238
|
+
========================================================================== */
|
239
|
+
|
240
|
+
/**
|
241
|
+
* Known limitation: by default, Chrome and Safari on OS X allow very limited
|
242
|
+
* styling of `select`, unless a `border` property is set.
|
243
|
+
*/
|
244
|
+
|
245
|
+
/**
|
246
|
+
* 1. Correct color not being inherited.
|
247
|
+
* Known issue: affects color of disabled elements.
|
248
|
+
* 2. Correct font properties not being inherited.
|
249
|
+
* 3. Address margins set differently in Firefox 4+, Safari, and Chrome.
|
250
|
+
*/
|
251
|
+
|
252
|
+
button,
|
253
|
+
input,
|
254
|
+
optgroup,
|
255
|
+
select,
|
256
|
+
textarea {
|
257
|
+
color: inherit; /* 1 */
|
258
|
+
font: inherit; /* 2 */
|
259
|
+
margin: 0; /* 3 */
|
260
|
+
}
|
261
|
+
|
262
|
+
/**
|
263
|
+
* Address `overflow` set to `hidden` in IE 8/9/10/11.
|
264
|
+
*/
|
265
|
+
|
266
|
+
button {
|
267
|
+
overflow: visible;
|
268
|
+
}
|
269
|
+
|
270
|
+
/**
|
271
|
+
* Address inconsistent `text-transform` inheritance for `button` and `select`.
|
272
|
+
* All other form control elements do not inherit `text-transform` values.
|
273
|
+
* Correct `button` style inheritance in Firefox, IE 8/9/10/11, and Opera.
|
274
|
+
* Correct `select` style inheritance in Firefox.
|
275
|
+
*/
|
276
|
+
|
277
|
+
button,
|
278
|
+
select {
|
279
|
+
text-transform: none;
|
280
|
+
}
|
281
|
+
|
282
|
+
/**
|
283
|
+
* 1. Avoid the WebKit bug in Android 4.0.* where (2) destroys native `audio`
|
284
|
+
* and `video` controls.
|
285
|
+
* 2. Correct inability to style clickable `input` types in iOS.
|
286
|
+
* 3. Improve usability and consistency of cursor style between image-type
|
287
|
+
* `input` and others.
|
288
|
+
*/
|
289
|
+
|
290
|
+
button,
|
291
|
+
html input[type="button"], /* 1 */
|
292
|
+
input[type="reset"],
|
293
|
+
input[type="submit"] {
|
294
|
+
-webkit-appearance: button; /* 2 */
|
295
|
+
cursor: pointer; /* 3 */
|
296
|
+
}
|
297
|
+
|
298
|
+
/**
|
299
|
+
* Re-set default cursor for disabled elements.
|
300
|
+
*/
|
301
|
+
|
302
|
+
button[disabled],
|
303
|
+
html input[disabled] {
|
304
|
+
cursor: default;
|
305
|
+
}
|
306
|
+
|
307
|
+
/**
|
308
|
+
* Remove inner padding and border in Firefox 4+.
|
309
|
+
*/
|
310
|
+
|
311
|
+
button::-moz-focus-inner,
|
312
|
+
input::-moz-focus-inner {
|
313
|
+
border: 0;
|
314
|
+
padding: 0;
|
315
|
+
}
|
316
|
+
|
317
|
+
/**
|
318
|
+
* Address Firefox 4+ setting `line-height` on `input` using `!important` in
|
319
|
+
* the UA stylesheet.
|
320
|
+
*/
|
321
|
+
|
322
|
+
input {
|
323
|
+
line-height: normal;
|
324
|
+
}
|
325
|
+
|
326
|
+
/**
|
327
|
+
* It's recommended that you don't attempt to style these elements.
|
328
|
+
* Firefox's implementation doesn't respect box-sizing, padding, or width.
|
329
|
+
*
|
330
|
+
* 1. Address box sizing set to `content-box` in IE 8/9/10.
|
331
|
+
* 2. Remove excess padding in IE 8/9/10.
|
332
|
+
*/
|
333
|
+
|
334
|
+
input[type="checkbox"],
|
335
|
+
input[type="radio"] {
|
336
|
+
box-sizing: border-box; /* 1 */
|
337
|
+
padding: 0; /* 2 */
|
338
|
+
}
|
339
|
+
|
340
|
+
/**
|
341
|
+
* Fix the cursor style for Chrome's increment/decrement buttons. For certain
|
342
|
+
* `font-size` values of the `input`, it causes the cursor style of the
|
343
|
+
* decrement button to change from `default` to `text`.
|
344
|
+
*/
|
345
|
+
|
346
|
+
input[type="number"]::-webkit-inner-spin-button,
|
347
|
+
input[type="number"]::-webkit-outer-spin-button {
|
348
|
+
height: auto;
|
349
|
+
}
|
350
|
+
|
351
|
+
/**
|
352
|
+
* 1. Address `appearance` set to `searchfield` in Safari and Chrome.
|
353
|
+
* 2. Address `box-sizing` set to `border-box` in Safari and Chrome
|
354
|
+
* (include `-moz` to future-proof).
|
355
|
+
*/
|
356
|
+
|
357
|
+
input[type="search"] {
|
358
|
+
-webkit-appearance: textfield; /* 1 */
|
359
|
+
-moz-box-sizing: content-box;
|
360
|
+
-webkit-box-sizing: content-box; /* 2 */
|
361
|
+
box-sizing: content-box;
|
362
|
+
}
|
363
|
+
|
364
|
+
/**
|
365
|
+
* Remove inner padding and search cancel button in Safari and Chrome on OS X.
|
366
|
+
* Safari (but not Chrome) clips the cancel button when the search input has
|
367
|
+
* padding (and `textfield` appearance).
|
368
|
+
*/
|
369
|
+
|
370
|
+
input[type="search"]::-webkit-search-cancel-button,
|
371
|
+
input[type="search"]::-webkit-search-decoration {
|
372
|
+
-webkit-appearance: none;
|
373
|
+
}
|
374
|
+
|
375
|
+
/**
|
376
|
+
* Define consistent border, margin, and padding.
|
377
|
+
*/
|
378
|
+
|
379
|
+
fieldset {
|
380
|
+
border: 1px solid #c0c0c0;
|
381
|
+
margin: 0 2px;
|
382
|
+
padding: 0.35em 0.625em 0.75em;
|
383
|
+
}
|
384
|
+
|
385
|
+
/**
|
386
|
+
* 1. Correct `color` not being inherited in IE 8/9/10/11.
|
387
|
+
* 2. Remove padding so people aren't caught out if they zero out fieldsets.
|
388
|
+
*/
|
389
|
+
|
390
|
+
legend {
|
391
|
+
border: 0; /* 1 */
|
392
|
+
padding: 0; /* 2 */
|
393
|
+
}
|
394
|
+
|
395
|
+
/**
|
396
|
+
* Remove default vertical scrollbar in IE 8/9/10/11.
|
397
|
+
*/
|
398
|
+
|
399
|
+
textarea {
|
400
|
+
overflow: auto;
|
401
|
+
}
|
402
|
+
|
403
|
+
/**
|
404
|
+
* Don't inherit the `font-weight` (applied by a rule above).
|
405
|
+
* NOTE: the default cannot safely be changed in Chrome and Safari on OS X.
|
406
|
+
*/
|
407
|
+
|
408
|
+
optgroup {
|
409
|
+
font-weight: bold;
|
410
|
+
}
|
411
|
+
|
412
|
+
/* Tables
|
413
|
+
========================================================================== */
|
414
|
+
|
415
|
+
/**
|
416
|
+
* Remove most spacing between table cells.
|
417
|
+
*/
|
418
|
+
|
419
|
+
table {
|
420
|
+
border-collapse: collapse;
|
421
|
+
border-spacing: 0;
|
422
|
+
}
|
423
|
+
|
424
|
+
td,
|
425
|
+
th {
|
426
|
+
padding: 0;
|
427
|
+
}
|