girlrock: (soobin (uniform))
k ([personal profile] girlrock) wrote2022-06-02 12:53 am

[layout] 01. london fog

LIVE PREVIEW
>> a minimalist, tumblr-esque layout based on tabula rasa

[ LAST UPDATED 06/04/22 ]
hello and welcome to my first dw layout post ๐Ÿ™‡โ€โ™€๏ธ i've been meaning to make my own layout since FOREVER but i'd always lose interest after formatting like one section and then never get it done lol....... i also knew that i wanted to make a layout that had easily customizable components and options for people to ~build their own version~, which was maybe a bit daunting to tackle for My First Ever Theme, but well... this is what i managed to come up with! *___* only posting this on my blog because i'm embarrassed and i have no idea if this code is even any good but if you happen to be reading this and are interested in a very simple + limited dreamwidth layout that sort of emulates the look and feel of a tumblr blog, here is my attempt!

also there are several steps to the installation process but i promise it isn't too difficult so just BEAR WITH ME.....

[ FEATURES ]
  • 1 layout (2-column, left sidebar)
  • 2 post styles
  • 2 link styles
  • 3 sidebar styles
  • 5 color palettes
  • responsive formatting for mobile and browser resizing
  • easy-to-edit variables for colors, sizing, rounding, etc.
this layout has a lot of customization options, but the structure itself is pretty minimalist since i was kind of designing for myself and didn't have the time/energy/desire to make anything more variable. so this is just a basic 2-column layout with a left sidebar and nothing else; i'll go more into this later, but the only modules i really edited for are profile (1), custom text (2), and navigation (3)โ€”of course, you are more than welcome to play around with the styling and add in any other modules if you'd like to, but it probably won't look right unless you mess around with the code yourself TT___TT sorry!

[ SET-UP ]

1. select tabula rasa
in your theme customization page, search for "tabula rasa" and apply the plain theme. then scroll down and apply the 2 column (sidebar on the left) page setup.

2. select modules
in the modules section of your theme editor, uncheck ALL modules except:
    โ€” profile (1)
    โ€” custom text (2)
    โ€” navigation (3)
make sure that they're in that order! your page should look like this:

3. add your custom text
in the text section of your theme editor, you can now add in your personalized custom text that will appear as the sidebar title and description on your layout. (add a slash for the url if you want the title to link back to your recent entries!)

4. paste custom stylesheet url
finally, in the custom css section of your theme editor, add in the code below to the custom stylesheet url field to get all the main fonts into the layout.

https://fonts.googleapis.com/css?family=Material+Icons|Lato:400,400i,700,700i,900,900i|Archivo:300,300i,400,400i,500,500i,600,600i,700,700i,800,800i


of course these are just the fonts i used, so you're more than welcome to swap them out for your preferred font faces :D (don't remove the material icons tho!) i personally like lato as a body font because dreamwidth is text-heavier than tumblr so i appreciate its readability over more circular/display-oriented sans serifs, but google has a ton of other ones you can experiment with that include inter, karla, nunito, dm sans, public sans, rubik, lexend, etc. etc.

also make sure to keep "use layout's stylesheet(s)" checked!


okay now we can construct the actual theme. all you have to do is go through the following steps and paste the corresponding snippets one after another in the "use embedded css" text area (from the same custom css page you were just on).

[ THEME BUILDER ]

1. choose a color palette

[ click on the palette you want and then copy the corresponding code block ]
DEFAULT โ€” the classic! grey background, white posts, one accent color, that's it.
DARK โ€” a mostly monochromatic dark counterpart of the default theme
CODE โ€” a take on an ide/code editor palette, with more color accents than dark
CANDY โ€” a white bg layout with colorful gradient links
SUNRISE โ€” a warm gradient bg with bright links

[ DEFAULT ]


[ DARK ]


[ CANDY ]


[ CODE ]


[ SUNRISE ]



this section features all the color variables for the layout but also has things like sidebar width/height, icon rounding, and fonts, so feel free to play around with this to your liking! for example, you can change --icon-rounding to 0px or 8px if you want square or slightly rounded icons instead of circular ones.
2. choose a post style

[ click on the style you want and then copy the corresponding code block ]
BORDER โ€” posts have rounded corners and a light border
NO BORDER โ€” posts blend directly into the layout

[ BORDER ]


[ NO BORDER ]


that's all for the entries!
3. choose a sidebar

[ click on the style you want and then copy the corresponding code block ]
VERTICAL (NUMBERED) โ€” vertical links with corresponding numbers
VERTICAL (ICONS) โ€” vertical links with decorative icons
HORIZONTAL โ€” no frills, simple inline links

[ VERTICAL (NUMBERED) ]


[ VERTICAL (ICONS) ]


[ HORIZONTAL ]


this section also includes placeholder code for the sidebar header image, which looks like this:

    /* CHANGE SIDEBAR BACKGROUND HERE */
    /* REPLACE URL */
    /* EDIT OR REMOVE LINEAR-GRADIENT */
    .module-userprofile {
      background: linear-gradient(0deg, [rgb val], [rgb val]), [url];
    }

please update the image url (or remove it altogether if you don't want a background img) because the current one is just a random photo i pulled as a base for editing LOL. once again there are a lot of ways you can customize your sidebar using the variables defined in section 1 (e.g. adjust the --icon border color, the --icon-rounding value, the sidebar width, etc.), so go ahead and change anything you're comfortable poking around with!!! ๐Ÿ‘Œ
(optional: add in material links)

if you enjoy the minimalism of material icons in place of text links, you can add in a small section of code to achieve thatโ€”this basically replaces text like "link, x comments, reply" etc. with icons. of course this part is completely optional!

also note that if you do add these icons in, you should go to the "entry โ€” text to read comments" section of your text settings and change "1 comment // # comments" to simply "#".


[ MATERIAL LINKS ]

4. paste the rest!
[ EVERYTHING ELSE YOU NEED TO MAKE THIS THING WORK ]


andddd that's it! ๐ŸŽ‰

hopefully this all made sense, but if there's anything confusing about the installation process please let me know T___T i can help troubleshoot any coding issues or errors in general, and am always open to feedback etc. etc. it was hard to make all the variables work with a variety of customization options so there are probably a lot of little things i still need to fix... but here i am sharing my sillystring code anyway!!! ๐Ÿ’ƒ

[ CHANGELOG ]
  1. (06/02) fixed dynamic padding calc for sidebar resizing
  2. (06/02) added back entry poster info to posts on reading page
  3. (06/04) fixed issue with icons link covering post title
adore: (kaibaek)

[personal profile] adore 2022-06-02 12:29 pm (UTC)(link)
I'm always on the lookout for darkmode themes and I love this! I'll save it to my memories. Thank you for making and sharing it.
stoplight: (Default)

[personal profile] stoplight 2022-06-02 03:57 pm (UTC)(link)
you are everything to me
permutative: (Default)

[personal profile] permutative 2022-06-02 09:08 pm (UTC)(link)
JKJAHDJHAJGKH IT'S HERE AND IT'S SO GOOD... can't wait to use it soon
luckyzukky: suzuki airi formerly of c-ute (Default)

[personal profile] luckyzukky 2022-06-02 09:43 pm (UTC)(link)
ahhhh you finally did it and it was well worth the wait!!!! this layout is absolutely stunning and i adore every aspect of it but especially the general tumblr style it has <3 good job!!!

(no subject)

[personal profile] luckyzukky - 2022-06-04 18:34 (UTC) - Expand
kisoap: (imagine!)

[personal profile] kisoap 2022-06-03 03:03 am (UTC)(link)
MISS KAIA DW USER GIRLROCK YOU ARE SO COOL... really love the look of this layout *___* will be using in the near future!!

(no subject)

[personal profile] kisoap - 2022-06-05 22:53 (UTC) - Expand
lovebalance: (Default)

[personal profile] lovebalance 2022-06-03 02:25 pm (UTC)(link)
wow this is amazing. you are so talented!!! whenever i get on a pc again iโ€™ll try this out! โค๏ธโค๏ธโค๏ธโค๏ธ

(no subject)

[personal profile] lovebalance - 2022-06-04 21:29 (UTC) - Expand
pantomimes: (Default)

[personal profile] pantomimes 2022-06-04 06:07 am (UTC)(link)
hi!

i tried the theme and i'm just โ™ก_โ™ก completely in love with it, i really wanted a theme that had a tumblr vibe and i'm glad i found this one. thank you so much :)
iceinmarch: edit by @accumulatehn (hakking)

[personal profile] iceinmarch 2022-06-04 06:45 pm (UTC)(link)
think this is my favorite dreamwidth layout yet. thank you so much for making and sharing it!! really love the customization modules as well <3

[personal profile] sonria 2022-06-08 07:25 pm (UTC)(link)
love u , love how cool this is ^_^ also thank u for explaining how to use it in so much detail so even people who can't follow instructions like me can figure it out!! will be trying it out soon ^^ the amount of effort you put into this is so impressive to me, i think you're so cool!!!!
totodile: (Default)

[personal profile] totodile 2022-06-15 03:07 pm (UTC)(link)
i love this layout and finally installed it today but,, i don't know what i did to break it so my tags end up looking like this though i didn't even touch that part of the code. this is what i have in my custom css, if it helps with troubleshooting. sorry for the trouble and thank you!

(no subject)

[personal profile] totodile - 2022-06-16 01:04 (UTC) - Expand
bluedreaming: pink-toned digital art of a mouse holding/reaching for a blossom under the moon, inspired by a haiku by Issa (**summer evening mouse)

[personal profile] bluedreaming 2022-07-03 12:00 am (UTC)(link)
This is such a great layout! And the way you've arranged the code for customization is so cool; I've never seen it done this way before.

I'm using it for my imported fics comm (finally updated from a now-broken theme, goodness) but I can't figure out why the spacing with the material icons isn't working. I've probably missed something obvious (insert facepalm). comm: [profile] theblueintheway Does anything come to mind? I did the # for comment text replacement thing you noted.

(no subject)

[personal profile] bluedreaming - 2022-07-03 03:11 (UTC) - Expand

(no subject)

[personal profile] bluedreaming - 2022-07-04 02:00 (UTC) - Expand
chaandki: (Default)

[personal profile] chaandki 2022-09-23 01:08 am (UTC)(link)
hi!! thank you so much for the tutorial and theme! i'm currently using it but my side bar seems to be a bit messed up. would you mind letting me know how i could fix it? here is my css if that helps!! https://pastebin.com/LNa4r9SD ty!!!
chaandki: (Default)

[personal profile] chaandki 2022-09-23 02:55 am (UTC)(link)
oops disregard i never changed the numbering for the modules. ty again!
lot: (pic#15959877)

[personal profile] lot 2022-10-04 04:54 pm (UTC)(link)
This is so beautiful ๐Ÿ’œ great work!
ro9: occult;nine (Default)

[personal profile] ro9 2023-01-23 07:45 pm (UTC)(link)
it looks great!! thank you so much for sharing the layout๐ŸŒป
tei: Rabbit from the Garden of Earthly Delights (Default)

[personal profile] tei 2023-05-02 02:50 pm (UTC)(link)
Thank you so much for this, I love it!
foxway: (Default)

[personal profile] foxway 2023-08-09 04:07 pm (UTC)(link)
I love this layout! How did you add the custom links to your navigation? I can't seem to figure that part out.

Thank you so much!

(no subject)

[personal profile] foxway - 2023-08-10 02:49 (UTC) - Expand
morrow: (Default)

[personal profile] morrow 2023-08-29 11:44 am (UTC)(link)
Helloโ€”Iโ€™m wondering if I can ask a question about this layout please? I love it! Iโ€™ve got it working great on mobile, but on desktop/bigger screens Iโ€™d like the side bar to be centered (horizontally) on the screen, as I wonโ€™t be having any journal entries showing. Is there any way to do this please? Thanks so much ๐Ÿ’•
Edited 2023-08-29 11:45 (UTC)

(no subject)

[personal profile] morrow - 2023-08-29 13:27 (UTC) - Expand

(no subject)

[personal profile] morrow - 2023-08-29 14:05 (UTC) - Expand

(no subject)

[personal profile] morrow - 2023-08-29 14:27 (UTC) - Expand

[personal profile] dreamishtest 2024-01-24 10:41 pm (UTC)(link)
parkwonbin: (Default)

[personal profile] parkwonbin 2024-05-04 01:21 am (UTC)(link)
thank you so much for this absolutely gorgeous layout!! I've been looking for one that's up my alley to no success, and I'd tried customising by myself but coding is NOT my forte like At All, then I stumbled upon this and I almost cried because my eyes were soooooo satisfied and blissed out and I immediately got to following your tutorial! thanks again for sharing this!!