Custom Ghost theme for my blog, based on Casper
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.

1 line
4.4 KiB

  1. {"version":3,"sources":["custom.css"],"names":[],"mappings":"AACA,WACI,4BAA+B,AAC/B,kBAAmB,AACnB,gBAAiB,AACjB,wDAA2D,AAC3D,2bAKuF,CAC1F,AAeD,6HACI,yCAA6C,CAChD,AAGD,mBACI,mBAAoB,AAKpB,gBAAkB,CAJrB,AAQD,sBACI,cAAwB,AACxB,cAAgB,CACnB,AAGD,aACI,yBAA8B,CACjC,AAED,0BACI,aACI,2BAA8B,CACjC,CACJ,AAED,yBACI,aACI,mBAAsB,CACzB,CACJ,AAED,kBACI,aAAmB,CACtB,AAGD,yBACI,iBACI,WAAa,CAChB,CACJ,AAGD,+CACI,kBAAmB,AACnB,mBAAqB,CACxB,AAGD,aACI,mBAAqB,CACxB,AAGD,kBACI,eAAmB,CACtB,AAGD,gDACI,gBAAmB,CACtB,AAGD,uBACI,cAAgB,CACnB,AAGD,kBACI,WAAqB,CACxB,AAGD,yBACI,kBACI,oBAAsB,CACzB,CACJ,AAGD,mBACI,cAAe,AACf,WAAa,CAChB,AAGD,mDACI,YAAc,CACjB,AAGD,yBACI,mBACI,gBAAkB,CACrB,CACJ,AAGD,4BACI,gBAAkB,CACrB","file":"custom.css","sourcesContent":["/* source-sans-pro-regular - latin */\r\n@font-face {\r\n font-family: 'Source Sans Pro';\r\n font-style: normal;\r\n font-weight: 400;\r\n src: url('../fonts/source-sans-pro-v11-latin-regular.eot'); /* IE9 Compat Modes */\r\n src: local('Source Sans Pro Regular'), local('SourceSansPro-Regular'),\r\n url('../fonts/source-sans-pro-v11-latin-regular.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */\r\n url('../fonts/source-sans-pro-v11-latin-regular.woff2') format('woff2'), /* Super Modern Browsers */\r\n url('../fonts/source-sans-pro-v11-latin-regular.woff') format('woff'), /* Modern Browsers */\r\n url('../fonts/source-sans-pro-v11-latin-regular.ttf') format('truetype'), /* Safari, Android, iOS */\r\n url('../fonts/source-sans-pro-v11-latin-regular.svg#SourceSansPro') format('svg'); /* Legacy iOS */\r\n}\r\n\r\n/* Use Source Sans Pro font */\r\ {\r\n font-family: 'Source Sans Pro',Georgia,serif;\r\n}\r\ h5 {\r\n font-family: 'Source Sans Pro',Georgia,serif;\r\n}\r\ {\r\n font-family: 'Source Sans Pro',Georgia,serif;\r\n}\r\ .author-meta {\r\n font-family: 'Source Sans Pro',Georgia,serif;\r\n}\r\n.subscribe-overlay-description {\r\n font-family: 'Source Sans Pro',Georgia,serif;\r\n}\r\n\r\n/* Justify post content */\r\ {\r\n text-align: justify;\r\n}\r\n\r\n/* Make the post content font size 0.3rem tinier */\r\ {\r\n font-size: 1.9rem;\r\n}\r\n\r\n/* Reduce h2 size and add some bottom margin */\r\ h2 {\r\n margin: 0.5em 0 0.5em 0;\r\n font-size: 3rem;\r\n}\r\n\r\n/* Make the thread the same width as the post */\r\n#isso-thread {\r\n padding: 0 100px 0 !important;\r\n}\r\n\r\n@media (max-width: 1170px) {\r\n #isso-thread {\r\n padding: 5vw 7vw 0 !important;\r\n }\r\n}\r\n\r\n@media (max-width: 500px) {\r\n #isso-thread {\r\n padding: 0 !important;\r\n }\r\n}\r\n/* reduce the bottom padding of the author card */\r\ {\r\n padding: 3vw 0 3vw;\r\n}\r\n\r\n/* Reduce sticked header by 10px on desktop */\r\n@media (min-width: 900px) {\r\n .floating-header {\r\n height: 50px;\r\n }\r\n}\r\n\r\n/* Make the first paragraph the same size as the post */\r\ .kg-card-markdown>p:first-child {\r\n font-size: inherit;\r\n line-height: inherit;\r\n}\r\n\r\n/* Reduce padding-bottom of the footer by 20px */\r\ {\r\n padding-bottom: 20px;\r\n}\r\n\r\n/* Add a bit of padding under the author name in the author card */\r\ {\r\n padding: 0 0 5px 0;\r\n}\r\n\r\n/* Reduce top and bottom margins for pictures and videos by 1em */\r\ img, .post-full-content video {\r\n margin: 0.5em auto;\r\n}\r\n\r\n/* Reduce top and bottom margins for code */\r\ pre {\r\n margin: 0 0 2em;\r\n}\r\n\r\n/* Reduce padding top of the post header by 4vw */\r\ {\r\n padding: 3vw 3vw 3vw;\r\n}\r\n\r\n/* Reduce padding top and bottom of the post header on mobile */\r\n@media (max-width: 500px) {\r\n .post-full-header {\r\n padding: 10vw 3vw 8vw;\r\n }\r\n}\r\n\r\n/* Center the header post image */\r\ {\r\n display: block;\r\n margin: auto;\r\n}\r\n\r\n/* Remove the shadows as we move up the image */\r\, .post-full-content::after {\r\n display: none;\r\n}\r\n\r\n/* Add padding under the header post image on mobile */\r\n@media (max-width: 500px) {\r\n .post-full-content {\r\n padding: 30px 0 0;\r\n }\r\n}\r\n\r\n/* Fix the blog title */\r\n.floating-header-blog-title {\r\n margin-right: 1px;\r\n}"],"sourceRoot":"/source/"}