ᚠᚱᛖᛃᚨ
5 years ago
dwidth | me: oh, that's a neat effect, how did they pull that off
css: always some sort of negative margins/absolute positioning trick
latest #68
ᚠᚱᛖᛃᚨ
5 years ago
I don't have time for that
ᚠᚱᛖᛃᚨ
5 years ago
I am trying to eliminate floats!!
snips
5 years ago
oh no rip
立即下載
ᚠᚱᛖᛃᚨ
5 years ago
I thought there might be a base layout that arranges things the way I wanted
ᚠᚱᛖᛃᚨ
5 years ago
jankily moving things around via margins is my least favorite way to do things, it breaks so easily
do transforms with a lot of calcs involved have the same problem?
Heynong Man
5 years ago
ugh margins
Heynong Man
5 years ago
assemble: depends on what the calcs are being used on. ideally for movement animations you should be using transform: translate(), or left: right: top: bottom: is preferable to margin
ᚠᚱᛖᛃᚨ
5 years ago
my feeling is that if like, a single misplaced nbsp will break your layout, this is not the best way to code your layout
Heynong Man
5 years ago
is this a new thing dw did
that's kinda what i mean like is there a way to translate whatever u want with transform instead
Heynong Man
5 years ago
oh sorry, i was thinking in terms of animating, I misunderstood.
Heynong Man
5 years ago
nowadays you'd want to use flex or css grid to create layout, using transforms to create the layout isn't really done. But you can use calc() fine with flex or cssgrid
ᚠᚱᛖᛃᚨ
5 years ago
and no I just want to put the username under the icon, which I will probably use relative positioning to do
ᚠᚱᛖᛃᚨ
5 years ago
I would rather just have a base style that grouped things in the way I want though!!
oh ok ignore me then that's not a particularly useful utilization of transform
you could always make a base style
s2's kind of a pain in the ass tho
MOVED
5 years ago
... CAN WE make base styles?
ᚠᚱᛖᛃᚨ
5 years ago
yeah
i mean it'd be a ton of effort... but yes i don't see why not, since we can import them from lj or ij
ᚠᚱᛖᛃᚨ
5 years ago
I do a lot of minor tweaks via custom layers
ᚠᚱᛖᛃᚨ
5 years ago
I used to add the viewport meta tag that way b/c dw… didn't have it built in (but it does now I believe)
but yeah i'm ngl i kinda like the base layout from IJ
or idk whatever the one is that tess uses
ᚠᚱᛖᛃᚨ
5 years ago
There's stuff I like about it but importing from another site is also like… far more work than I'd like
ᚠᚱᛖᛃᚨ
5 years ago
it's better than flexible squares, though
flexible squares is like, windows.... i'm only using it cuz i started out with flexible squares and i'm too lazy to learn anything else
is anyone making base layers though, i wonder if anyone's taking requests or if i ever did make one if it could get published to dw
ᚠᚱᛖᛃᚨ
5 years ago
you could, there are guidelines
aw, boo. i'll put it on the list of things i'll never get around to
ᚠᚱᛖᛃᚨ
5 years ago
that's the community for official submissions
ᚠᚱᛖᛃᚨ
5 years ago
you need to use ems, basically
ᚠᚱᛖᛃᚨ
5 years ago
https://images.plurk.com/E1OQwoFl5Acjiz2cULS97.png
ᚠᚱᛖᛃᚨ
5 years ago
that's what I wanted to do, and I'm annoyed I had to use positioning to do it!!
ᚠᚱᛖᛃᚨ
5 years ago
did dreamwidth change the cuttag code with the last codepush?
ᚠᚱᛖᛃᚨ
5 years ago
update: sure did, now it's just a normal link without any class applied
ᚠᚱᛖᛃᚨ
5 years ago
so you have to do .cuttag + b { } to select it
MOVED
5 years ago
i need to make my own journal layouts now :|a
6LilacMimeLions
5 years ago
I am much muuuuch too lazy to do my own base style so I just make the regular ones less ugly (don't worry, I use em/%)
ᚠᚱᛖᛃᚨ
5 years ago
it's a thankless job!!
ᚠᚱᛖᛃᚨ
5 years ago
we all know the things that make me angry: tables and the font tag
6LilacMimeLions
5 years ago
flex lets you do what you used to have to use tables for
ᚠᚱᛖᛃᚨ
5 years ago
wrong
6LilacMimeLions
5 years ago
me when any kind of muselist code still uses tables:
ᚠᚱᛖᛃᚨ
5 years ago
u should've used floats for that previously
6LilacMimeLions
5 years ago
I WILL CONVERT YOUR CODE TO FLEXBOXES FOR FREE, JUST STOP USING TABLES
ᚠᚱᛖᛃᚨ
5 years ago
like 90% of the games on dw still have inbox/cr meme &c code that still uses tables
6LilacMimeLions
5 years ago
not if you wanted, y'know, an actual table
ᚠᚱᛖᛃᚨ
5 years ago
if you want an actual table table is fine
6LilacMimeLions
5 years ago @Edit 5 years ago
after css became a thing it was possible to make them non-ugly, even
ᚠᚱᛖᛃᚨ
5 years ago
anyway I routinely fix up code like that from my games and always think about offering it to the mods but then don't want to be the person who insists on html semantics
ᚠᚱᛖᛃᚨ
5 years ago
IN GENERAL though my hot take is that if you have a very pretty game form that is also very hard to edit because no one can find where they're supposed to put their username in between all the inline css
ᚠᚱᛖᛃᚨ
5 years ago
you have a very poorly designed form
ᚠᚱᛖᛃᚨ
5 years ago
and this problem is only ever made worse with tables
ᚠᚱᛖᛃᚨ
5 years ago
it's so easy to break a table and most people don't know how tables work because tables are bad
i don't think that's a hot take, if i have trouble finding where to input stuff your form is 2 complicated
like yes, it looks pretty, buuuuut also 50% of your players are gonna have "edited" on the bottom of their comment
this plurk is a mood
ᚠᚱᛖᛃᚨ
5 years ago
anyway who wants to see my current dw project/frustration
MOVED
5 years ago
my muse list uses divs. i love it...
MOVED
5 years ago
so much easier than tables
ᚠᚱᛖᛃᚨ
5 years ago @Edit 5 years ago
here is my ongoing progress, (obviously much is still broken)
ᚠᚱᛖᛃᚨ
5 years ago
can't even properly link a fake site lol
back to top