Kobitoとは?
- エンジニア、デザイナーがコードのメモとかとるのに最適なメモアプリ
- MACでもWindowsでも使える
- やったね!マークダウン対応
- Kobito愛してます。PCにも貼ってます。かあわゆい (´ω`)
Kobitoのダウンロードはこちら
さっそくKobitoにカスタムCSSを適用しよう!
カスタムCSS
/* See Kobito.app/Contents/Resources/markdown.css for predefined style. */
/*
Copyright (c) 2011, Yahoo! Inc. All rights reserved.
Code licensed under the BSD License:
http://developer.yahoo.com/yui/license.html
version: 2.9.0
*/
html{color:#000;background:#FFF}body,div,dl,dt,dd,ul,ol,li,h1,h2,h3,h4,h5,h6,pre,code,form,fieldset,legend,input,button,textarea,select,p,blockquote,th,td{margin:0;padding:0}table{border-collapse:collapse;border-spacing:0}fieldset,img{border:0}address,button,caption,cite,code,dfn,em,input,optgroup,option,select,strong,textarea,th,var{font:inherit}ins{text-decoration:none}li{list-style:none}caption,th{text-align:left}h1,h2,h3,h4,h5,h6{font-size:100%;font-weight:normal}q:before,q:after{content:''}abbr,acronym{border:0;font-variant:normal}sup{vertical-align:baseline}sub{vertical-align:baseline}legend{color:#000}
/* ------------------------------
* HTML element
* ------------------------------ */
body {
background-color: #FFFFFF;
font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
margin: 0;
padding: 20px;
}
p, h1, h2, h3, ul, ol, pre {
line-height: 1.6;
margin-bottom: 20px;
}
h1, h2, h3 {
color: #333;
font-weight: bold;
padding-top:10px;
}
h1 {
background-color:#f0f0f0;
border:solid 1px #ececec;
border-radius:10px;
padding: 15px;
font-size:18px;
text-shadow: 1px 1px #fff;
}
h1:first-of-type {
margin-top: 0;
}
h2 {
font-size: 18px;
border-bottom: solid 2px #aaa;
padding-bottom: 5px;
padding-left: 30px;
position: relative;
margin-top:40px;
}
h2:first-of-type {
margin-top: -10px;
}
h2:before{
content: '';
height: 12px;
width: 12px;
display: block;
background: #D24F80;
box-shadow: 0 0 5px rgba(255,255,255,0.3) inset;
-webkit-box-shadow: 0 0 5px rgba(255,255,255,0.3) inset;
-moz-box-shadow: 0 0 5px rgba(255,255,255,0.3) inset;
position: absolute;
top: 10px;
left: 5px;
transform: rotate(-50deg);
-webkit-transform: rotate(-50deg);
-moz-transform: rotate(-50deg);
-o-transform: rotate(-50deg);
-ms-transform: rotate(-50deg);
}
h2:after{
content: '';
height: 8px;
width: 6px;
display: block;
background: #D24F80;
box-shadow: 0 0 5px rgba(255,255,255,0.3) inset;
-webkit-box-shadow: 0 0 5px rgba(255,255,255,0.3) inset;
-moz-box-shadow: 0 0 5px rgba(255,255,255,0.3) inset;
position: absolute;
top: 25px;
left: 2px;
transform: rotate(-90deg);
-webkit-transform: rotate(-90deg);
-moz-transform: rotate(-90deg);
-o-transform: rotate(-90deg);
-ms-transform: rotate(-75deg);
}
h3 {
font-size: 14px;
padding-top:0;
padding-bottom: 5px;
margin:0;
color: #046cc2;
}
h4 {
font-size: 14px;
font-weight: bold;
}
em {
font-style: italic;
}
ul, ol {
margin-left: 30px;
}
li {
list-style: disc;
margin-bottom: 10px;
}
code, pre {
background-color: #EEEEEE;
border: 1px solid #AAAAAA;
font-family: Courier, monospace;
}
code {
margin: 0 5px;
padding: 0 5px;
color: #333;
}
pre {
line-height: 1.5;
overflow: auto;
padding: 10px;
}
pre code {
border: none;
margin: 0;
padding: 0;
}
blockquote {
color: #333;
background-color: #f7f7f7;
margin: 20px 0;
padding: 15px;
}
blockquote p {
margin-bottom :0 !important;
}
strong {
font-weight: bold;
}
適用するとこんな感じ
まとめ
Kobitoかわいい