So, I am writing a fic, and in this fic, there will be two sections that I am hoping to format in a very fancy way indeed. I am almost certain I have seen others do this in fic, but not often!
I want to post a section of the fic formatted to look like a printed memo with a handwritten note on the corner in dark ink. The problem is that I do not know how! I looked around the net and found some instructions for how to do a "style sheet." Is that what I am talking about? I would love some help! Web links to good tutorials other people have already written are cool, as long as I am reading the right ones (lol, sigh) and they are clear enough for a relative newbie.
Help would be most appreciated!
I want to post a section of the fic formatted to look like a printed memo with a handwritten note on the corner in dark ink. The problem is that I do not know how! I looked around the net and found some instructions for how to do a "style sheet." Is that what I am talking about? I would love some help! Web links to good tutorials other people have already written are cool, as long as I am reading the right ones (lol, sigh) and they are clear enough for a relative newbie.
Help would be most appreciated!
no subject
Date: 2015-11-18 11:42 am (UTC)no subject
Date: 2015-11-18 04:11 pm (UTC)In my experience it's a little spotty - sometimes I get notices that I've been tagged in a post or comment but other times I'll see that someone has tagged me but I never get an official message about it. I think it may be down to individual settings and whether the post was edited and the position of the stars or something :) which is why I suggested PM-ing her if she doesn't see this.
no subject
Date: 2015-11-18 06:24 pm (UTC)So there are two ways you could do this. Yu could make an image and post it in the fic, which I think might actually work best for your needs because you want two different types of text there (one for the printed memo, and one with the note in the corner). That said, you can TOTALLY do this with a style sheet as well! It helps if you're a little familiar with CSS, but not essential. I assume by the way you put "style sheets" in quotes that you're in the less-familiar-with-it category? :) That's okay - a style sheet basically tells the computer how to visually display your text by rotating it, putting it in boxes, putting it in different colours, etc. Once you've got the basic code, a lot of the rest is just copy/paste and replacing the specific details. The problem is finding code that AO3 is happy with.
There is a specific Tumblr user who I consider my CSS goddess, and who I strongly recommend to anyone who wants to start using CSS in their AO3 fics: teekettle! If you Frankenstein this piece of code a bit (ignore the parts about background colour, basically), it'll show you how to do the rotated black text that would work for the memo on the corner. You would want to use this in conjunction with #workskin .wbox from this guide. I'm not actually sure if you can overlay the two pieces of code on top of each other, but I'm pretty sure you can?
Take a look at these two guides and see if it makes sense. :) If not, I'm happy to try and help, but I won't have time until this weekend at the very earliest - do you have a specific deadline, or are you pretty flexible on timelines?
no subject
Date: 2015-11-18 10:14 pm (UTC)you are quite right that i am not familiar with these style sheet things!
i am not writing this to deadline, so i am flexible. i am happy to try to figure out the learning from those links. probably tomorrow.
whee!
no subject
Date: 2015-11-18 11:03 pm (UTC)no subject
Date: 2015-11-21 05:51 am (UTC)I do not have a tumbler so I will have to find some other way to ask for help. Or maybe just try this again in the morning when I am less tired! Sigh.
no subject
Date: 2015-11-24 07:41 pm (UTC)no subject
Date: 2015-11-24 08:05 pm (UTC)That's what I was able to put together using teekettle's code (minus the green text, which is just a reminder to myself or anyone who might look at my scrapbook, lol). The only downside is that I cannot for the life of me figure out how to get rid of the enormous space between the handwritten note and the start of the rest of the text (in this case, "I am a memo header").
no subject
Date: 2015-11-24 09:20 pm (UTC)I either did nothing to my fic at all when I added teekettle's html, or I put a box around the whole thing, every chapter. I honestly couldn't tell if I was seeing something specal or not when I looked at the AO3 preview. Either way, of course, I don't want the whole thing to look like a memo, just one chapter.
no subject
Date: 2015-11-24 10:05 pm (UTC)It's actually just two different fonts! The handwriting is in Comic Sans just because that was the default font from teekettle's code, so I didn't change it. :P The body and header are both Courier, which is also teekettle's default font - I just changed the size of the header. And the green text was me adding it into the screenshot just as a note about what the image is. ;) It's not part of the code.
So I simplified teekettle's code down to just two chunks: one for the white box with Courier memo font, and the other for the handwritten bit:
#workskin .wbox { background-color: #ffffff; border-color: #000000; border-width: 2px; border-style: solid; margin-left: 0px; padding-top: 2px; padding-right: 5px; padding-bottom: 2px; padding-left: 5px; font-family: "Courier New", Courier; text-align: center; font-size: medium; display: table; color: #000000; } #workskin .handnote { display: block; color: #000000; text-decoration: none; font-family: "Comic Sans MS", "Chalkboard SE", sans-serif; height: 9em; width: 9em; padding: 1em; text-align: right; margin-left: auto; margin-right: 5px; margin-bottom: auto; -webkit-transform: rotate(6deg); -o-transform: rotate(6deg); -moz-transform: rotate(6deg); transform: rotate(6deg); }Then, for the segment of text you want looking like that, you'd upload your chapter text as:
Normal fic text here lalala! I am not in a memo!
<div class="wbox">
<p class="handnote">Handwritten note here</p>
<h2 align="center">I am a memo header</h2>
<p>I am a memo body. I may be a pretty long block of text. I will set the width of the entire white box that this message is contained in.</p></div>
Normal fic text here lalala! I am not in a memo!
A BREAKDOWN:
<div class="wbox"> tells the browser, "Everything starting from <div> and ending in </div> is going to use the code from .wbox"
<p class="handnote"> tells the browser, "Make the one line in between <p> and </p>use the code from .handnote"
<h2> tells the browser, "Make this text Header size 2" (you can also do h1 or h3 instead; I just picked h2 at random)
This way, everything before <div class="wbox"> and after </div> is just going to be in regular text.
From here, it's just replacing the specific style sheet elements that you want to fiddle around with, like fonts or background colours or border colours. :)