Archive of Our Own
$LAYYYTER
The Bowery Presents
trying on a metaphor
Noah Kahan

Andulka
h

No title available

★

#extradirty
"I'm Dorothy Gale from Kansas"
Claire Keane
noise dept.

Product Placement
EXPECTATIONS
𓃗
let's talk about Bridgerton tea, my ask is open
Jules of Nature
almost home
Cosimo Galluzzi
🩵 avery cochrane 🩵
seen from Philippines

seen from Türkiye

seen from Bosnia & Herzegovina
seen from Mexico
seen from Czechia

seen from United Kingdom
seen from Bulgaria
seen from Bulgaria
seen from Malaysia

seen from United States
seen from United States
seen from United States
seen from United States
seen from United States
seen from United States

seen from United States

seen from United States

seen from United States

seen from United States
seen from United States
@yarol2075
Archive of Our Own
5001 being divisible by 3 doesnt feel right
Shortcuts to determine if an integer is divisible by:
This is a given.
If the last digit is divisible by 2 (a.k.a. even), then so is the whole number.
If the sum of the digits is divisible by 3, then so is the whole number. The recursivity of this means that if the sum has multiple digits, you can add them up again until you get a single digit and see if it's 3, 6, or 9.
Like the rule for 2, but check if the last two digits are divisible by 4.
If it ends in 5 or 0.
If the rules for both 2 and 3 apply.
No shortcut. Alas.
Like the rules for 2 and 4, but check if the last three digits are divisible by 8. (Yes, this pattern keeps going for 16, 32, etc.)
Like the rule for 3, but the sum of the digits (or the sum of the sum of the digits, etc.) must be 9.
If it ends in 0.
#THIS POST IS WRONG 7 DOES HAVE A RULE FOR HOW TO TELL IF THE NUMBER IS DIVISIBLE#it's just. not a short cut#you're better off dividing it and seeing if you get a whole number than doing the method
but what IS the rule @anqelbean ???
Okay, so, basically, you remove the least important digit of the number (which is the first digit from the right), you double it, and then subtract it from the remaining number. If the number you get is still large, you do it again.
For example, 294
29 4
4×2=8
29-8=21
21 is divisible by 7
Second example, 1946
194 6
6×2=12
194-12=182
182 is still large, so let do it again
18 2
2×2=4
18-4=14
14 is divisible by 7
Their kuugaling
@thel1ghtningthief was wondering how I was able to put an image beside the favourited tags on the homepage. This is how I did it.
So, the first thing that you need to know is that any website is just a bunch of containers stacked on top of and inside each other. Here's a simplified version of what I mean for AO3
Each of the boxes on this page can be individually styled. I can make each one of them bigger or smaller. I can change their backgrounds. I can make them entirely disappear. The key is in being able to identify where the rectangles are and what they're called.
That's where your browser's Inspect feature comes in.
On a computer browser* right-click on the page you want to look at and choose Inspect from the menu that appears. Here's a video to show you more, if you want to learn how to do it yourself.
*This is also possible on mobile, but I can never remember how because I just can't handle coding on a phone
Inspecting AO3's homepage tells me that the box around the favourites is a div (which is a kind of HTML container) and that div is called .favorite.module.odd
(insert obligatory complaint from me that Americans don't put a u in favourite or colour and they also spell centre with an er and that I inevitably typo a half dozen times at least any time I build a skin)
Now that I know the name of the box, I can add styles to it. Styles are written in CSS, not in HTML. To style something in CSS, you first name the thing you want to style and then you put a { and then you enter all of the ways you want to style it and then you finish with } So my code is going to look like this:
favorite.module.odd { stuff I want to do goes in here }
Since I want to use an image in the background, I first need to host that image somewhere on the internet. I can't just upload the file directly into my skin. These days, I host my images on tumblr but you can choose whatever location works for you.
Once I have the file hosted, I can now insert it into my div container as the background. To do that, I need to tell the code where on the internet that image can be found.
favorite.module.odd { background-image: url("https://64.media.tumblr.com/25479c3a33679580f8c278d08050f198/2ff582fea26b7b91-b8/s400x600/2a2e87b54e570b1d66e881af098597af96e97cfd.png"); }
Since the image is hosted on tumblr, I need to point the CSS to that exact image url. I also need to tell the CSS that it is url, which I do by indicating url(" ")
Another sidenote here to say that tumblr and other sites sometimes save images as .gifv or .pnj etc for reasons of their own, but AO3 site skins need to end in .gif or .png or .jpg. Just rewrite the end of the url and it works fine 👍
The default when you set an image background is to have a background that repeats itself over and over to cover the full size of the box. Since I don't want that to happen in this case, I need to add more code to tell it what I want it to do. I want it to:
not repeat
be smaller than the actual image is (which is bigger than the container I'm putting it in)
appear at the bottom right corner of the box
I have a few ways to do the sizing, but what I opted for in this skin was
.favorite.module.odd { background: url("https://64.media.tumblr.com/25479c3a33679580f8c278d08050f198/2ff582fea26b7b91-b8/s400x600/2a2e87b54e570b1d66e881af098597af96e97cfd.png"); background-repeat: no-repeat; background-size: 40%; background-position-x: right; background-position-y: bottom; }
A better way to do the size would probably be something more like background-size: auto 30%;
That would make the height of the image 30% of the height of the container and the width would be automatically calculated to keep the aspect ratio the same.
So there you go. A long, detailed explanation of how I put an image in the lower right corner of the favourite tags on the homepage. And now you have a better idea of what I do for all of the various boxes on AO3 when I'm making a new site skin.
If you think this is as cool as I do, feel free to hit me up. I'm a nerd for AO3 skin coding, and I love to overshare.
Some other background tips:
When using percentages for background image sizes, the result is calculated against the size of the containing element—not the image. 40% can be different depending on how large your element is. For this reason, if you're trying to do something like insert an icon or custom bullet, I would recommend sticking with em/rem units (1em or 1rem is usually the best place to start)
An extremely useful feature is the 'contain' keyword, eg: background-size: contain; This will automatically scale down an image to fit the size of the element while preserving the aspect ratio.
There's also the 'cover' keyword, which does the opposite: scales the image up until it completely fills the size of the element, while still preserving the aspect ratio (excess gets cropped off the edges).
Both of these keywords effectively accomplish the same thing as 'background-size: 100% auto' (or auto 100%, or just auto) in most cases, but they have the benefit of guaranteeing you'll get the desired effect in the event that you can't safely assume the size of the containing element (eg. whether or not the longer side is going to be its height or its width)
So...I may have made an error in introducing a friend to a series I'm fond of...I didn't expect them to latch onto it the way they did.
Dont blame yourself for not having known a lesson only time could teach
school uniform codes extending to what colours you’re allowed to dye your hair, and what piercings you can have and stuff is so crazy. you HAVE to go to school and you’re not even allowed to have pink hair or pierce your nose about it????
“oh it’s to prepare you for the workplace” okay. i don’t think any workplace should be dictating what you can and can’t do with your body either and i think it’s strange to decide to teach children that their body is not their own
I like to think of it as teaching you the rules so when you do break them,they stay broken.
if the tracys/ir are a puppy pile then the Stingray team are a bunch of bunch of mixed litter cats fostered togetherwith a couple foster fails. you didnt adopt them the cat distribution system adopted you
difficult to herd. bites you :). more affectionate then they are often perceived so long as its on there terms. pretty sure couple of them are more feral then their information sheet let on. found family but good grief im gonna batbatbat bat ypu with my paws now. incredibly sweet goodboysandgirls & also foul bastards the lot of them
spectrum is a zoo. they gave the cheetah a dog to calm down. the cranes hate you. no one knows where the bear fucked off to till they find it paddling around in the moat around 'monkey island.' some how its very well organised and chill. and no one gets mauled by the tiger.
So true!
Asexual flag made from cropped NASA APOD images! 🖤 🌑 ☁️ 💜
method actor this method actor that. toshiro mifune played a guy getting shot at by arrows by getting shot at by arrows
and yeah i believe it. ^ this is the face of a guy getting shot at by arrows
i can't cope
what reading classical scholarship articles with huge chunks of untranslated text feels like sometimes
Piece together the town of Night Vale and discover all the hidden easter eggs as you go. Find it here: https://topatoco.com/collections/wtnv/products/cpb-wtnv-magichour-pz
The Magic Hour: A Welcome to Night Vale Jigsaw Puzzle by Ryan Estrada. Official Welcome to Night Vale Merchandise!
AO3 SCAM
There's been a number of people reporting over on the AO3 subreddit that they're getting messages like this posted in the comments shortly after posting new fics.
The AO3 team are NEVER going to try and contact you about TOS violations via the comment section (or about anything else for that matter)
Don't click any links. Report the accounts involved (which might claim to be things like "LucySupport"), delete the message and move on.
✨Signal boost if you can!✨