BaySec website source
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 

469 lines
8.6 KiB

  1. * {
  2. vertical-align: baseline;
  3. font-weight: inherit;
  4. font-family: inherit;
  5. font-style: inherit;
  6. text-decoration:inherit;
  7. font-size: 100%;
  8. padding: 0;
  9. border: 0;
  10. margin: 0;
  11. }
  12. article,aside,details,figcaption,figure,
  13. footer,header,hgroup,menu,nav,section {
  14. display:block;
  15. }
  16. table {
  17. border-collapse: collapse;
  18. }
  19. :focus {
  20. outline: 0;
  21. }
  22. ::-moz-focus-inner {
  23. border: 0;
  24. }
  25. .clear {
  26. clear: both;
  27. }
  28. /* clearfix */
  29. .clearfix:after {
  30. content: ".";
  31. display: block;
  32. clear: both;
  33. visibility: hidden;
  34. line-height: 0;
  35. height: 0;
  36. }
  37. .clearfix {
  38. display: block;
  39. }
  40. * html .clearfix {
  41. height: 1%;
  42. }
  43. a {
  44. color: #37e;
  45. text-decoration: underline;
  46. }
  47. a:hover{
  48. color: #222;
  49. }
  50. body{
  51. font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  52. background-color: #efefef;
  53. padding: 0;
  54. margin: 0;
  55. }
  56. #container{
  57. background-color: #eaeaea;
  58. width: 640px;
  59. margin: 0 auto;
  60. padding: 12px;
  61. -moz-box-shadow: 0px 4px 12px #ccc; /* FF3.5+ */
  62. -webkit-box-shadow: 0px 4px 12px #ccc; /* Saf3.0+, Chrome */
  63. box-shadow: 0px 4px 12px #ccc; /* Opera 10.5, IE 9.0 */
  64. filter: progid:DXImageTransform.Microsoft.dropshadow(OffX=12px, OffY=12px, Color='#ccc'); /* IE6,IE7 */
  65. -ms-filter: "progid:DXImageTransform.Microsoft.dropshadow(OffX=12px, OffY=12px, Color='#ccc')"; /* IE8 */
  66. }
  67. footer{
  68. font-size: 10px;
  69. text-align: center;
  70. margin-top: 24px;
  71. }
  72. /* Button styles from the awesome: http://www.webdesignerwall.com/demo/css-buttons.html */
  73. .button {
  74. display: inline-block;
  75. zoom: 1; /* zoom and *display = ie7 hack for display:inline-block */
  76. *display: inline;
  77. vertical-align: baseline;
  78. margin: 0 2px;
  79. outline: none;
  80. cursor: pointer;
  81. text-align: center;
  82. text-decoration: none;
  83. font: 14px/100% Arial, Helvetica, sans-serif;
  84. padding: .5em 2em .55em;
  85. text-shadow: 0 1px 1px rgba(0,0,0,.3);
  86. -webkit-border-radius: .5em;
  87. -moz-border-radius: .5em;
  88. border-radius: .5em;
  89. -webkit-box-shadow: 0 1px 2px rgba(0,0,0,.2);
  90. -moz-box-shadow: 0 1px 2px rgba(0,0,0,.2);
  91. box-shadow: 0 1px 2px rgba(0,0,0,.2);
  92. }
  93. .button:hover {
  94. text-decoration: none;
  95. }
  96. .button:active {
  97. position: relative;
  98. top: 1px;
  99. }
  100. .bigrounded {
  101. -webkit-border-radius: 2em;
  102. -moz-border-radius: 2em;
  103. border-radius: 2em;
  104. }
  105. .medium {
  106. font-size: 12px;
  107. padding: .4em 1.5em .42em;
  108. }
  109. .small {
  110. font-size: 11px;
  111. padding: .2em 1em .275em;
  112. }
  113. /* white */
  114. .white {
  115. color: #606060;
  116. border: solid 1px #b7b7b7;
  117. background: #fff;
  118. background: -webkit-gradient(linear, left top, left bottom, from(#fff), to(#ededed));
  119. background: -moz-linear-gradient(top, #fff, #ededed);
  120. filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffff', endColorstr='#ededed');
  121. }
  122. .white:hover {
  123. background: #ededed;
  124. background: -webkit-gradient(linear, left top, left bottom, from(#fff), to(#dcdcdc));
  125. background: -moz-linear-gradient(top, #fff, #dcdcdc);
  126. filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffff', endColorstr='#dcdcdc');
  127. }
  128. .white:active {
  129. color: #999;
  130. background: -webkit-gradient(linear, left top, left bottom, from(#ededed), to(#fff));
  131. background: -moz-linear-gradient(top, #ededed, #fff);
  132. filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ededed', endColorstr='#ffffff');
  133. }
  134. .banner{
  135. border-bottom: 12px solid #222;
  136. padding: 0 12px;
  137. position: relative;
  138. }
  139. .banner h1{
  140. font-weight: 100;
  141. font-size: 32px;
  142. line-height: 48px;
  143. }
  144. .banner h3{
  145. color: #666;
  146. font-weight: normal;
  147. font-size: 16px;
  148. line-height: 24px;
  149. margin-bottom: 12px;
  150. }
  151. .banner nav{
  152. position: absolute;
  153. right: 0;
  154. bottom: 0;
  155. }
  156. .banner nav li{
  157. list-style-type: none;
  158. float: left;
  159. }
  160. .banner nav li a.button{
  161. margin:0;
  162. -webkit-border-bottom-left-radius: 0;
  163. -webkit-border-bottom-right-radius: 0;
  164. -moz-border-radius-bottomleft: 0;
  165. -moz-border-radius-bottomright: 0;
  166. border-bottom-left-radius: 0;
  167. border-bottom-right-radius: 0;
  168. }
  169. .banner nav li a.button:hover{
  170. color: #000;
  171. }
  172. .banner nav li a.button.active{
  173. color: #d7d7d7;
  174. border: solid 1px #333;
  175. background: #333;
  176. background: -webkit-gradient(linear, left top, left bottom, from(#666), to(#000));
  177. background: -moz-linear-gradient(top, #666, #000);
  178. filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#666666', endColorstr='#000000');
  179. }
  180. .blog_excerpt{
  181. padding-bottom: 24px;
  182. }
  183. .blog_excerpt .post time{
  184. float: none;
  185. clear: left;
  186. }
  187. .blog_excerpt .button{
  188. float: right;
  189. }
  190. .blog_excerpt h3,
  191. h1.title{
  192. font-size: 24px;
  193. line-height: 36px;
  194. border-bottom: 1px solid #ccc;
  195. }
  196. .blog_excerpt h3{
  197. margin-bottom: 24px;
  198. }
  199. section.content{
  200. padding: 12px;
  201. }
  202. /* listing */
  203. .listing{
  204. margin-top: 24px;
  205. }
  206. .listing img{
  207. width: 120px;
  208. height: 120px;
  209. }
  210. .listing li{
  211. background-color: #ededed;
  212. list-style-type: none;
  213. float: left;
  214. width: 272px;
  215. margin-right: 24px;
  216. margin-bottom: 24px;
  217. padding: 12px;
  218. -moz-box-shadow: 0px 4px 12px #ccc; /* FF3.5+ */
  219. -webkit-box-shadow: 0px 4px 12px #ccc; /* Saf3.0+, Chrome */
  220. box-shadow: 0px 4px 12px #ccc; /* Opera 10.5, IE 9.0 */
  221. filter: progid:DXImageTransform.Microsoft.dropshadow(OffX=12px, OffY=12px, Color='#ccc'); /* IE6,IE7 */
  222. -ms-filter: "progid:DXImageTransform.Microsoft.dropshadow(OffX=12px, OffY=12px, Color='#ccc')"; /* IE8 */
  223. }
  224. .listing li:nth-child(2){
  225. margin-right: 0;
  226. }
  227. .listing li:nth-child(3){
  228. clear: left;
  229. }
  230. .listing li p{
  231. font-size: 10px;
  232. line-height: 12px;
  233. margin-bottom: 12px;
  234. }
  235. .listing h3{
  236. font-size: 16px;
  237. line-height: 20px;
  238. }
  239. .listing time{
  240. display:block;
  241. border-top: 1px solid #ccc;
  242. padding-top: 4px;
  243. font-size: 10px;
  244. }
  245. /* Content */
  246. article.post p{
  247. font-size: 12px;
  248. line-height: 24px;
  249. margin: 6px 0;
  250. }
  251. article.post img{
  252. display: block;
  253. margin-bottom: 24px;
  254. }
  255. .post time{
  256. font-size: 12px;
  257. color: #999;
  258. float:left;
  259. margin-top: 6px;
  260. }
  261. ul.tags{
  262. margin-bottom: 24px;
  263. text-align: right;
  264. }
  265. ul.tags li{
  266. list-style-type: none;
  267. display: inline;
  268. }
  269. ul.tags li a{
  270. color: #999;
  271. text-decoration: none;
  272. }
  273. h1.tag:before,
  274. ul.tags li a:before{
  275. content: '\00AB';
  276. }
  277. h1.tag:after,
  278. ul.tags li a:after{
  279. content: '\00BB';
  280. }
  281. ul.tags li a:hover{
  282. color: #222;
  283. }
  284. h1 a, h2 a, h3 a{
  285. text-decoration: none;
  286. }
  287. nav.post_nav{
  288. background-color: #efefef;
  289. position: fixed;
  290. width: 124px;
  291. margin-left: -186px;
  292. font-size: 12px;
  293. padding: 12px;
  294. padding-right: 24px;
  295. -moz-box-shadow: 0px 2px 4px #ccc; /* FF3.5+ */
  296. -webkit-box-shadow: 0px 2px 4px #ccc; /* Saf3.0+, Chrome */
  297. box-shadow: 0px 2px 4px #ccc; /* Opera 10.5, IE 9.0 */
  298. filter: progid:DXImageTransform.Microsoft.dropshadow(OffX=12px, OffY=12px, Color='#ccc'); /* IE6,IE7 */
  299. -ms-filter: "progid:DXImageTransform.Microsoft.dropshadow(OffX=12px, OffY=12px, Color='#ccc')"; /* IE8 */
  300. }
  301. a.backlink{
  302. display:block;
  303. line-height: 24px;
  304. margin-bottom: 12px;
  305. }
  306. a.backlink:before{
  307. content: '\2190';
  308. }
  309. a.prev:before{
  310. content: '\00AB';
  311. }
  312. a.next:after{
  313. content: '\00BB';
  314. }
  315. a.prev{
  316. margin-right: 12px;
  317. }
  318. a.prev,
  319. a.next{
  320. display: block;
  321. float: left;
  322. margin-bottom: 12px;
  323. }
  324. a.next{ float: right };
  325. a.backlink:hover, a.prev:hover, a.next:hover{
  326. color: #222;
  327. }
  328. .post_nav a.disabled{
  329. color: #ccc;
  330. }
  331. .post_nav a{
  332. color: #666;
  333. text-decoration: none;
  334. }
  335. .post_nav div{
  336. display: block;
  337. float: left;
  338. width: 58px;
  339. overflow: hidden;
  340. margin-left: 4px;
  341. }
  342. #facebook_like{
  343. margin-top: 1px;
  344. }
  345. .archives ul.posts{
  346. margin-top: 24px;
  347. }
  348. .archives li.post{
  349. list-style-type: none;
  350. border-bottom: 1px dotted #ccc;
  351. padding: 12px 0;
  352. }
  353. .archives li.post time{
  354. color: #999;
  355. margin-right: 24px;
  356. display:block;
  357. float: left;
  358. width: 120px;
  359. }
  360. .archives li.post a{
  361. float: left;
  362. }
  363. .archives ul.tags{
  364. float: right;
  365. margin-bottom:0;
  366. }
  367. .codebox {
  368. margin-top: 8px;
  369. margin-bottom: 12px;
  370. }
  371. .code {
  372. position: relative;
  373. -moz-box-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
  374. -webkit-box-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
  375. -o-box-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
  376. box-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
  377. background-color: #F0F3F3;
  378. }
  379. .code figcaption {
  380. font-size: 10px;
  381. position: absolute;
  382. bottom: 3px;
  383. right: 12px;
  384. color: rgba(0, 0, 0, 0.5);
  385. }
  386. .highlight pre {
  387. font-size: 12px;
  388. padding: 16px 12px 12px;
  389. line-height: 24px;
  390. margin-bottom: 8px;
  391. }