Stealable div templates! If you post your template here, you're automatically giving permission for it to be copied/edited by other members. One template per post, please!
Yesterday, upon the stair, I met a man who wasn't there! He wasn't there again today, Oh how I wish he'd go away!
Dynamically resizable iPod clone template - you need to use a few linebreaks before typing anything after, since it uses negative margins. Dunno if there's a way around that?
Lorem ipsum dolor sit amet, consectetur adipiscing elit. In sollicitudin tortor tortor, eu volutpat urna blandit at. Aenean interdum eros et ante pulvinar ullamcorper. Vivamus interdum efficitur pretium. Vestibulum ultrices ligula eget sem aliquam vulputate. Ut malesuada sapien at dui vehicula, nec facilisis mi tincidunt. Integer enim lorem, ullamcorper tempus tempus eget, tempus nec purus. Praesent neque turpis, dignissim ut ullamcorper sit amet, sodales sed augue. Duis vitae sem vel neque mollis sagittis id eget ligula. Donec bibendum quam sed dolor luctus, vel condimentum magna ornare. Sed tristique facilisis ultrices. Nam vel molestie dui.
Vestibulum ante ipsum primis in faucibus orci luctus et ultrices posuere cubilia curae; Cras quis risus dapibus, iaculis turpis quis, congue libero. Integer pretium magna non nisl tincidunt, in sollicitudin augue viverra. Maecenas dignissim facilisis accumsan. Nulla et dolor at nunc condimentum tempor. Proin ultrices mattis lectus eget blandit. Curabitur sed nibh non arcu fringilla suscipit. Proin lacus felis, molestie sed sem dictum, interdum faucibus quam. Vestibulum feugiat justo non felis imperdiet volutpat. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Morbi rutrum suscipit nisi in rutrum.
Quisque bibendum vitae orci sit amet lobortis. Phasellus eleifend sodales lectus, eget ultrices tellus eleifend at. Sed efficitur neque id mi convallis, eget suscipit ligula rutrum. Cras tincidunt sit amet enim non luctus. Vestibulum ante ipsum primis in faucibus orci luctus et ultrices posuere cubilia curae; Sed leo massa, accumsan nec eros non, ultrices vestibulum ipsum. Nulla libero lectus, molestie ac dictum nec, ullamcorper id massa. Nullam et ipsum et urna scelerisque volutpat. Etiam cursus malesuada purus, ut iaculis justo posuere quis. Pellentesque quam mi, elementum at dignissim at, dapibus sed tellus. Aenean eget laoreet eros. Curabitur at arcu lorem. Aenean libero nibh, dignissim vel nibh id, vestibulum fringilla nulla. Quisque vulputate urna ante, in porta risus vehicula sit amet. Curabitur fermentum scelerisque ante ut congue.
[attr="style","display:grid;grid-template-columns:12px auto 12px;grid-template-rows:12px auto 12px;grid-template-areas:'TL TC TR' 'CL CC CR' 'BL BC BR';"]
[attr="style","grid-area:CC;outline:1px solid red;outline-offset:6px;"]Lorem ipsum dolor sit amet, consectetur adipiscing elit. Suspendisse convallis dui sit amet erat commodo, at maximus elit pellentesque. Sed sed posuere odio. Curabitur placerat a risus sed feugiat. Aliquam erat volutpat. Mauris vitae justo tellus. Class aptent taciti sociosqu ad litora torquent per conubia nostra, per inceptos himenaeos. Suspendisse pulvinar maximus nulla, ac fringilla sem posuere eget. Aenean iaculis tincidunt lorem, quis porttitor dui iaculis eu. Donec viverra sed nulla ultrices pulvinar.
Fusce vehicula bibendum ex, vitae sollicitudin metus pellentesque in. Donec id nisl et nisi mattis suscipit. Ut eget ipsum ut nunc pretium gravida. Nulla dictum lacinia orci ac mollis. Nulla interdum laoreet iaculis. Nam vitae tempus velit. Aliquam nec diam vel metus congue molestie. Aliquam luctus pellentesque neque, vitae varius nulla. Maecenas congue lorem nec lectus malesuada, eu fringilla arcu mollis. Integer justo mauris, tempor sit amet tortor quis, molestie feugiat mauris. Donec sed condimentum orci. Fusce eu faucibus urna. Vestibulum pellentesque, diam luctus tincidunt tempor, ipsum neque faucibus tellus, at imperdiet est risus eu magna. Proin rutrum sapien eros, a consequat lacus efficitur vitae. Vestibulum nec nulla velit.
Proin at justo aliquet, sagittis orci ut, luctus diam. Vivamus vel nisi sapien. Nunc interdum fermentum nunc a auctor. Proin eu finibus orci. Phasellus venenatis ornare lectus nec fermentum. Vestibulum ante ipsum primis in faucibus orci luctus et ultrices posuere cubilia curae; Mauris id tellus vel purus mollis luctus in sed velit. Pellentesque ultricies sit amet augue eu hendrerit. In sollicitudin accumsan felis, eu accumsan est pretium vitae. Quisque sit amet aliquam est. Aliquam blandit rutrum risus, non mollis libero porttitor vitae. Quisque ac sapien pharetra, consectetur sapien et, rutrum lorem. Aenean eu neque porttitor mauris pellentesque tincidunt.
Donec dapibus, dolor in aliquam feugiat, massa dolor finibus dolor, eget porttitor felis purus non mi. Sed et vehicula purus. Ut pellentesque nibh sed lobortis fermentum. Nunc tincidunt pulvinar ultrices. Curabitur consectetur arcu eu massa aliquam egestas. Duis tincidunt, lectus id fringilla sollicitudin, sem ipsum efficitur purus, non efficitur velit nisl in erat. Suspendisse a nunc purus. Proin non volutpat leo, vel iaculis sapien.
I recreated the Revolt Code from the previous forum, since a lot of people really liked that. Enjoy!
[attr="style","display:grid;grid-template-columns:16px auto 16px;grid-template-rows:16px auto 16px;grid-template-areas:'CornerTL Top CornerTR' 'Left Main Right' 'CornerBL Bottom CornerBR';background-color:#000000;padding:6px;border:1px #55FF55 solid;"]
[attr="style","grid-area:CornerTL;padding:4px;"]
[attr="style","grid-area:Top;padding:4px;"]
[attr="style","grid-area:CornerTR;padding:4px;"]
[attr="style","grid-area:Left;padding:4px;"]
[attr="style","grid-area:Right;padding:4px;"]
[attr="style","grid-area:CornerBL;padding:4px;"]
[attr="style","grid-area:Bottom;padding:4px;"]
[attr="style","grid-area:CornerBR;padding:4px;"]
[attr="style","grid-area:Main;color:#55FF55;padding:9px;"]This template is free to use for anyone.
All the actual words that go in the actual post go right here in this spot.
[div][attr="style","display:grid;grid-template-columns:16px auto 16px;grid-template-rows:16px auto 16px;grid-template-areas:'CornerTL Top CornerTR' 'Left Main Right' 'CornerBL Bottom CornerBR';background-color:#000000;padding:6px;border:1px #55FF55 solid;"] [div][attr="style","grid-area:CornerTL;padding:4px;"][div style="width:100%;height:100%;border:1px #55FF55 solid;"][/div][/div] [div][attr="style","grid-area:Top;padding:4px;"][div style="width:100%;height:100%;border:1px #55FF55 solid;"][/div][/div] [div][attr="style","grid-area:CornerTR;padding:4px;"][div style="width:100%;height:100%;border:1px #55FF55 solid;"][/div][/div] [div][attr="style","grid-area:Left;padding:4px;"][div style="width:100%;height:100%;border:1px #55FF55 solid;"][/div][/div] [div][attr="style","grid-area:Right;padding:4px;"][div style="width:100%;height:100%;border:1px #55FF55 solid;"][/div][/div] [div][attr="style","grid-area:CornerBL;padding:4px;"][div style="width:100%;height:100%;border:1px #55FF55 solid;"][/div][/div] [div][attr="style","grid-area:Bottom;padding:4px;"][div style="width:100%;height:100%;border:1px #55FF55 solid;"][/div][/div] [div][attr="style","grid-area:CornerBR;padding:4px;"][div style="width:100%;height:100%;border:1px #55FF55 solid;"][/div][/div] [div][attr="style","grid-area:Main;color:#55FF55;padding:9px;"]This template is free to use for anyone.
All the actual words that go in the actual post go right here in this spot.[/div][/div]
[attr="style","border: 2px #6066FF solid;padding:8px;color:#BBCCFF;"]This div style is available for people to work with - however, I designed the specifics with a certain character in mind, so I'd ask that people use different images and colors if they want to use the style.
The idea behind this one is to try to invoke that same flavor that a background image does, but without the background image getting in the way of the text.
Instead of a background image on the actual posting part, I designed a sidebar that holds the background image. The image is set to tile in the current code, but you could change that if you wanted. Change the background-size percentage to adjust the zoom-in on your image.
Now I'm just babbling to take up vertical space so the code displays properly.
If you decide to change up the border on the sidebar, the “margin-bottom” value should be equal to the value of the border on top plus the border on bottom - so for this one we have a 2px border all the way around, 2+2=4, which is why there’s that margin-bottom:4px just hanging out there. It has to do with the way the code deals with that height:100% value, which is necessary otherwise the sidebar doesn’t go all the way down.
[attr="style","color:black;padding:2%;"]Hi Hello this is the Windows 98 window code! This is taken from the windows 98 desktop code, which can can be found here and is available to be edited, but you need to keep the credit line in. The code is very long and complicated so I didn't want to put it here, but this code can get you the window effect without having to bother with all that tab nonsense. To start editing this one, I recommend only changing the div immediately before this paragraph (the one that has color:black and padding:2%), as that will only change the style of the window's content instead of changing how it functions (scroll, width, etc.).
The top text is kinda buried under all this unbroken code so just ctlr+f "Epic Gamer Window" if you're lost trying to find what to remove and edit for that.
As usual, this code will work with any other bbcode you want to put into it. Grids, float, whatever. I think tabs will work as well, if you're into that. I only made it plain black and white for the demo because I'm lazy. It also includes an overflow:auto and a max height of 500px, meaning that it will scale to the height of whatever's inside it until it reaches 500px, then it will add a scrollbox to contain the content. Y'know, for that ~authentic desktop experience~. You can change or remove these if you're feeling spicy and can find what values to change.
Good luck and let me know if it breaks for you <3
[div][attr="style","max-width:900px;border:2px #AAAAAA outset"][div][attr="style","color:white;background: linear-gradient(90deg, rgba(0,3,123,1) 0%, rgba(8,126,203,1) 100%);padding:3px;font-size:120%;text-align:right;"][div][attr="style","float:left"]Epic Gamer Window[/div][div][attr="style,"border:2px #AAAAAA outset;display:inline;background-color:#bdbdbd;color:black;font-family:monospace;padding-left:4px;padding-right:4px;cursor:not-allowed;"]?[/div][div][attr="style,"border:2px #AAAAAA outset;display:inline;background-color:#bdbdbd;color:black;font-family:monospace;padding-left:4px;padding-right:4px;cursor:not-allowed;"]X[/div][/div][div][attr="style","max-height:500px;overflow:auto;background-color:white;"][div][attr="style","color:black;padding:2%;"]Hi Hello this is the Windows 98 window code! This is taken from the windows 98 desktop code, which can can be found [url=https://rp-forum.net/post/30/thread]here[/url] and [i]is[/i] available to be edited, but you need to keep the credit line in. The code is very long and complicated so I didn't want to put it here, but this code can get you the window effect without having to bother with all that tab nonsense. [b]To [i]start[/i] editing this one, I recommend only changing the div immediately before this paragraph[/b] (the one that has color:black and padding:2%), as that will only change the style of the window's content instead of changing how it functions (scroll, width, etc.).
The top text is kinda buried under all this unbroken code so just ctlr+f "Epic Gamer Window" if you're lost trying to find what to remove and edit for that.
As usual, this code will work with any other bbcode you want to put into it. Grids, float, whatever. I [i]think[/i] tabs will work as well, if you're into that. I only made it plain black and white for the demo because I'm lazy. It also includes an overflow:auto and a max height of 500px, meaning that it will scale to the height of whatever's inside it until it reaches 500px, then it will add a scrollbox to contain the content. Y'know, for that ~authentic desktop experience~. You can change or remove these if you're feeling spicy and can find what values to change.
Good luck and let me know if it breaks for you <3[/div][/div]
[attr="style","position:relative;left:-180px;top:250px;width:165px;text-align:center;border:1px blue solid;"]LOOK HERE
THIS IS CODED IN!
Edit: The current setup doesn't work well with the new avatar sizes - you can edit it yourself to make it pretty if you like, or I'll come up with a v2.0 when I have time. Thanks!
Profile Code is back!!!
[div][attr="style","position:absolute;"] [div][attr="style","position:relative;left:-180px;top:240px;width:165px;text-align:center;"]Insert your other code or div here![/div][/div]
Yes, you can stack them, grid them, do whatever with them! Don't mess with the "left:-180px" or the "width:165px" values for more than a couple pixels to reflect your div borders, otherwise this can get messy in a hurry. The "top:250px" moves it up or down, if you really want to cover your avatar, this is what you'd adjust to do that.
Also, just as a general warning, be careful with this one. This is one of the ones that can break the forum if it goes wrong. Ask for help if you need it.
STAGER title code for the stager title: original and monochrome flavours
things to note: 1) you can change the background and text colour of course, but make sure BOTH instances of background-color are changed 2) the best way to change the colour of the diagonal lines is downloading the image and changing it yourself. 3) the second best way is to stick a filter in the div with the background image (if you're copying from the FIRST example). see div guide for what filters to use. 4) i used a max-width in the original stager code, but i deleted it for this example. it should work on most devices, but if it doesn't, put a max-width in there. 5) KEEP THE DESCRIPTION/SUBTITLE SHORT OR IT MIGHT FALL APART
[newclass=.NewsMain]max-width:1080px;max-height:720px;margin:auto;background-color:white;color:black;overflow:auto;font-size:13px;font-family: Open Sans, sans serif[/newclass] [newclass=.NewsHeader]height:100px;background-color:#C50021;color:white;font-family: Aleo, serif;font-weight:bold;display:grid;place-items:center;position:relative;[/newclass] [newclass=.NewsHeaderTitle]font-size:400%;display:inline;position:absolute;left:25px[/newclass] [newclass=.NewsNavBar]height:40px;background-color:#dddddd;position:sticky;top:0px;z-index:69;[/newclass]
[newclass=.NavGrid]display:grid;grid-template-columns:auto auto auto auto auto auto;grid-template-areas:'ONE TWO THREE FOUR FIVE SIX';place-items:center;[/newclass] [newclass=.NavOne]grid-area:ONE;font-size:120%;text-align:center;height:30px;width:100%;padding-top:10px;[/newclass] [newclass=.NavOne:hover]background-color:#C50021;color:white;[/newclass] [newclass=.NavTwo]grid-area:TWO;font-size:120%;text-align:center;height:30px;width:100%;padding-top:10px;[/newclass] [newclass=.NavTwo:hover]background-color:#C50021;color:white;[/newclass] [newclass=.NavThree]grid-area:THREE;font-size:120%;text-align:center;height:30px;width:100%;padding-top:10px;[/newclass] [newclass=.NavThree:hover]background-color:#C50021;color:white;[/newclass] [newclass=.NavFour]grid-area:FOUR;font-size:120%;text-align:center;height:30px;width:100%;padding-top:10px;[/newclass] [newclass=.NavFour:hover]background-color:#C50021;color:white;[/newclass] [newclass=.NavFive]grid-area:FIVE;font-size:120%;text-align:center;height:30px;width:100%;padding-top:10px;[/newclass] [newclass=.NavFive:hover]background-color:#C50021;color:white;[/newclass] [newclass=.NavSix]grid-area:SIX;font-size:120%;text-align:center;height:30px;width:100%;padding-top:10px;[/newclass] [newclass=.NavSix:hover]background-color:#C50021;color:white;[/newclass]
[attr="class",ArticleSubtitle]Ima Reporter - Something Here - Date Here
[break] LINK THE first couple of words to a relevant thread if you want, or just don't bother. Anyway, this is the News Code, AKA Reyn's first real attempt at understanding newclass. The good news is that it's pretty easy to edit and add your own content- anything that has plain text (like this, the titles, and the things on the sidebars) can hopefully be edited without searching through a big pile of code. This does have a nospaces in, so every time you want a line break, youll have to put in a (break) with square brackets instead of round brackets. [break][break] To edit the sidebar images, scroll up a bit to the last section of newclasses before the big space (the ones that say .PreviewOneMain etc) and replace the imgur links with links to your own images. You can also definitely replace the image at the top of this section above the title which is in (img) tags like images normally are. [break][break] The colour palette for this post is currently #C50021 for the header background and accent titles, #48101E for accent text, rgba(197,0,33,0.7) for the transparent red of the sidebar hovers, #dddddd for the navbar background, #666666 for the line break after the article, black for the text, and white for the main background. Ctrl+f to edit those colours if you want to change the colour scheme yourself- I think there's a way for me to set colours as variables to make it easier for people to edit, but I haven't figured that out yet. [break][break] "I usually style quotations in this with italics.", Reyn said, "Also please do not remove the credit line at the bottom, this took me a very long time to make." [break][break] Anyway that's about it. Check the sidebars for little tips on how to edit them. If this breaks for you, please DM me on RPF or on Discord and I can try and help. ALSO IMPORTANT THING: don't put two of these on the same page of a thread, or your images will not work. Trust me. TRUST ME. [break][break] Lorem ipsum dolor sit amet, consectetur adipiscing elit. Vestibulum accumsan est at eros auctor pellentesque. Cras vestibulum lorem non molestie iaculis. Donec pharetra metus dui, vel egestas libero suscipit et. Fusce finibus ante vitae metus pellentesque, sed ultricies libero ultrices. Duis facilisis commodo risus, at viverra odio tincidunt in. Etiam egestas ornare orci in faucibus. Sed massa metus, viverra quis massa sit amet, iaculis iaculis neque. Integer sapien ante, sodales ut aliquam nec, dapibus vel ipsum. Maecenas euismod bibendum arcu, ac tincidunt eros fermentum sit amet. Nullam hendrerit, massa eu consequat convallis, erat ex viverra nisl, suscipit condimentum lectus mi ac erat. Sed porta ligula vehicula, tempor neque malesuada, eleifend libero. Donec id nisi nulla. [break][break][break]
[attr="class",ArticleLineBreak]
[break][break]
[attr="class",ArticleFooterTitle]Subscribe Today!
[break]
[attr="class",ArticleFooter]This is the part where your newspaper company that you made up for this post starts shilling their hideously expensive subscription plan and everyone has to read it. $15 a month! $20 a week! $50 an article!
[break][break]
[attr="class",ContentSide]
[attr="class",SideTitle]Top Stories:
[break][break]
[attr="class",PreviewOneMain]
[attr="class",PreviewBackground]
[attr="class",PreviewHeadline]Sidebar Headline One
[attr="class",PreviewBody] Please keep these summaries brief or it might break the formatting. The longer the title, the shorter the summary has to be in order to fit. This is janky as hell and I'm very sorry but that's the price of cool. [break][break]
[attr="class",PreviewHeadline]Sidebar Headline Two is a Little Bit Longer
[attr="class",PreviewBody] You can only really get, like, maybe two sentences out of these boxes to be totally safe- or five lines when displayed on the finished thing. Sorry for all you long sentence fans, but these are meant to be summaries.
[attr="class",PreviewHeadline]Sidebar Headline Three
[attr="class",PreviewBody] Also the read more is a link. If you're writing about events that happened in an RP, it's pretty fun to make the read mores link to the post or thread in which the events happened. I think it's funny. [break][break]
[attr="class",PreviewHeadline]Sidebar Headline Four is Also Quite Long
[attr="class",PreviewBody] Lorem ipsum dolor sit amet, consectetur adipiscing elit. Vestibulum accumsan est at eros auctor pellentesque. Cras vestibulum lorem non molestie iaculis. Donec pharetra metus dui, vel egestas libero suscipit et. [break][break]
News Code! You can use this for whatever nefarious purposes you can think of but I'm going to be weird and ask that you please keep the little credit in because this took me a long time blah blah NEWCLASS IS VERY NICE
[newclass=.NewsMain]max-width:1080px;max-height:720px;margin:auto;background-color:white;color:black;overflow:auto;font-size:13px;font-family: Open Sans, sans serif[/newclass] [newclass=.NewsHeader]height:100px;background-color:#C50021;color:white;font-family: Aleo, serif;font-weight:bold;display:grid;place-items:center;position:relative;[/newclass] [newclass=.NewsHeaderTitle]font-size:400%;display:inline;position:absolute;left:25px[/newclass] [newclass=.NewsNavBar]height:40px;background-color:#dddddd;position:sticky;top:0px;z-index:69;[/newclass]
[newclass=.NavGrid]display:grid;grid-template-columns:auto auto auto auto auto auto;grid-template-areas:'ONE TWO THREE FOUR FIVE SIX';place-items:center;[/newclass] [newclass=.NavOne]grid-area:ONE;font-size:120%;text-align:center;height:30px;width:100%;padding-top:10px;[/newclass] [newclass=.NavOne:hover]background-color:#C50021;color:white;[/newclass] [newclass=.NavTwo]grid-area:TWO;font-size:120%;text-align:center;height:30px;width:100%;padding-top:10px;[/newclass] [newclass=.NavTwo:hover]background-color:#C50021;color:white;[/newclass] [newclass=.NavThree]grid-area:THREE;font-size:120%;text-align:center;height:30px;width:100%;padding-top:10px;[/newclass] [newclass=.NavThree:hover]background-color:#C50021;color:white;[/newclass] [newclass=.NavFour]grid-area:FOUR;font-size:120%;text-align:center;height:30px;width:100%;padding-top:10px;[/newclass] [newclass=.NavFour:hover]background-color:#C50021;color:white;[/newclass] [newclass=.NavFive]grid-area:FIVE;font-size:120%;text-align:center;height:30px;width:100%;padding-top:10px;[/newclass] [newclass=.NavFive:hover]background-color:#C50021;color:white;[/newclass] [newclass=.NavSix]grid-area:SIX;font-size:120%;text-align:center;height:30px;width:100%;padding-top:10px;[/newclass] [newclass=.NavSix:hover]background-color:#C50021;color:white;[/newclass]
[div][attr="class",ArticleTitle]Very Cool News Code[/div] [div][attr="class",ArticleSubtitle]Ima Reporter - Something Here - Date Here[/div] [break] [url=https://rp-forum.net/post/3866/thread]LINK THE[/url] first couple of words to a relevant thread if you want, or just don't bother. Anyway, this is the News Code, AKA Reyn's first real attempt at understanding newclass. The good news is that it's pretty easy to edit and add your own content- anything that has plain text (like this, the titles, and the things on the sidebars) can hopefully be edited without searching through a big pile of code. This does have a nospaces in, so every time you want a line break, youll have to put in a (break) with square brackets instead of round brackets. [break][break] To edit the sidebar images, scroll up a bit to the last section of newclasses before the big space (the ones that say .PreviewOneMain etc) and replace the imgur links with links to your own images. You can also definitely replace the image at the top of this section above the title which is in (img) tags like images normally are. [break][break] The colour palette for this post is currently #C50021 for the header background and accent titles, #48101E for accent text, rgba(197,0,33,0.7) for the transparent red of the sidebar hovers, #dddddd for the navbar background, #666666 for the line break after the article, black for the text, and white for the main background. Ctrl+f to edit those colours if you want to change the colour scheme yourself- I think there's a way for me to set colours as variables to make it easier for people to edit, but I haven't figured that out yet. [break][break] [i]"I usually style quotations in this with italics."[/i], Reyn said, [i]"Also please do not remove the credit line at the bottom, this took me a very long time to make."[/i] [break][break] Anyway that's about it. Check the sidebars for little tips on how to edit them. If this breaks for you, please DM me on RPF or on Discord and I can try and help. ALSO IMPORTANT THING: don't put two of these on the same page of a thread, or your images will not work. Trust me. TRUST ME. [break][break] Lorem ipsum dolor sit amet, consectetur adipiscing elit. Vestibulum accumsan est at eros auctor pellentesque. Cras vestibulum lorem non molestie iaculis. Donec pharetra metus dui, vel egestas libero suscipit et. Fusce finibus ante vitae metus pellentesque, sed ultricies libero ultrices. Duis facilisis commodo risus, at viverra odio tincidunt in. Etiam egestas ornare orci in faucibus. Sed massa metus, viverra quis massa sit amet, iaculis iaculis neque. Integer sapien ante, sodales ut aliquam nec, dapibus vel ipsum. Maecenas euismod bibendum arcu, ac tincidunt eros fermentum sit amet. Nullam hendrerit, massa eu consequat convallis, erat ex viverra nisl, suscipit condimentum lectus mi ac erat. Sed porta ligula vehicula, tempor neque malesuada, eleifend libero. Donec id nisi nulla. [break][break][break] [div][attr="class",ArticleLineBreak][/div] [break][break] [div][attr="class",ArticleFooterTitle]Subscribe Today![/div] [break] [div][attr="class",ArticleFooter]This is the part where your newspaper company that you made up for this post starts shilling their hideously expensive subscription plan and everyone has to read it. $15 a month! $20 a week! $50 an article![/div][/div]
[break][break]
[div][attr="class",ContentSide]
[div][attr="class",SideTitle]Top Stories:[/div]
[break][break]
[div][attr="class",PreviewOneMain][div][attr="class",PreviewBackground][div][attr="class",PreviewHeadline]Sidebar Headline One[/div][div][attr="class",PreviewBody] Please keep these summaries brief or it might break the formatting. The longer the title, the shorter the summary has to be in order to fit. This is janky as hell and I'm very sorry but that's the price of cool. [break][break] [div][attr="class",PreviewReadmore][url=https://www.youtube.com/watch?v=00eNNTdd3c8]Read More >[/url][/div][/div][/div][/div]
[break][break]
[div][attr="class",PreviewTwoMain][div][attr="class",PreviewBackground][div][attr="class",PreviewHeadline]Sidebar Headline Two is a Little Bit Longer[/div][div][attr="class",PreviewBody] You can only really get, like, maybe two sentences out of these boxes to be totally safe- or five lines when displayed on the finished thing. Sorry for all you long sentence fans, but these are meant to be summaries. [div][attr="class",PreviewReadmore][url=https://www.youtube.com/watch?v=X0DbbZiVMYo]Read More >[/url][/div][/div][/div][/div]
[break][break]
[div][attr="class",PreviewThreeMain][div][attr="class",PreviewBackground][div][attr="class",PreviewHeadline]Sidebar Headline Three[/div][div][attr="class",PreviewBody] Also the read more is a link. If you're writing about events that happened in an RP, it's pretty fun to make the read mores link to the post or thread in which the events happened. I think it's funny. [break][break] [div][attr="class",PreviewReadmore][url=https://www.youtube.com/watch?v=BI-aDjb2sAA]Read More >[/url][/div][/div][/div][/div]
[break][break]
[div][attr="class",PreviewFourMain][div][attr="class",PreviewBackground][div][attr="class",PreviewHeadline]Sidebar Headline Four is Also Quite Long[/div][div][attr="class",PreviewBody] Lorem ipsum dolor sit amet, consectetur adipiscing elit. Vestibulum accumsan est at eros auctor pellentesque. Cras vestibulum lorem non molestie iaculis. Donec pharetra metus dui, vel egestas libero suscipit et. [break][break] [div][attr="class",PreviewReadmore][url=https://www.youtube.com/watch?v=2lTAVDA0QXc]Read More >[/url][/div][/div][/div][/div]
[break][break]
[div][attr="class",SideFooter][url=https://rp-forum.net/thread/6/reyns-big-test-house-fun]Read More >[/div]
[/div][/div][/div]
[div][attr="class",CreditLine]Code by [url=https://rp-forum.net/thread/6/reyns-big-test-house-fun]Reyn[/url][/div]
GENDER DATE OF BIRTH / AGE HEIGHT / WEIGHT ETHNICITY DISTINGUISHING FEATURES
EDUCATION SPECIALTY
ALLEGIANCE SERVICE / BRANCH YEARS OF SERVICE RANK UNIT BASE OF OPERATIONS
STATUS CLEARANCE[/b][/div] [div][attr="style","grid-area:Middle;padding:0.2vw;line-height:1vw;"]DATA HERE [/div][div][attr="style","grid-area:Right;padding:0.2vw;"][img src="https://www.afghanistanmarkets.com/wp-content/uploads/2019/02/blank-profile-picture.jpg" style="margin:auto;float:right;"][/div][/div][div][attr="style","margin-top:-3%;;"][hr][div style="background:grey;color:white;text-align:center;font-size:1vw;padding:0.3vw;"][b]2. OVERVIEW[/b][/div][div style="color:black;line-height:1vw;"]Text Corpus. Lorem impsum you know the dealum. [/i][/div][/div] [hr][div style="background:grey;color:white;text-align:center;font-size:1vw;padding:0.3vw;"][b]3. ADDENDUM[/b][/div][ul type="square"] [li][/li] [li][/li] [li][/li] [li][/li][/ul] [hr][/div][/div]
18-04-2022 UPDATE: Don't alter the format of this dossier. IF you want to use this code and alter the written contents then go ahead, but please don't gut the code for parts. The code was made specifically to fit an aesthetic format.
[newclass=.CompendiumImageThree]grid-area:THREE;height:350px;background-image:url(https://i.imgur.com/ZAdhGAr.jpg);background-size:cover;background-position:center;border-radius:0px 20px 20px 0px;transition:0.4s ease-out;position:relative;overflow:hidden;[/newclass] [newclass=.CompendiumImageThreeFilter]background-color:transparent;height:100%;transition:0.4s ease-out;overflow-y:auto;[/newclass] [newclass=.CompendiumImageThree:hover .CompendiumImageThreeFilter]background-color:rgba(166,56,144, 0.7);overflow-y:auto;[/newclass] [newclass=.CompendiumImageThree:hover]background-image:url(https://i.imgur.com/ZAdhGAr.jpg);background-size:cover;background-position:center;border-radius:0px 20px 20px 00px;overflow-x:hidden;[/newclass] [newclass=.CompendiumImageThreeFilter::-webkit-scrollbar]background-color:transparent;[/newclass] [newclass=.CompendiumImageThreeFilter::-webkit-scrollbar-thumb]background-color:transparent;border-radius:10px;[/newclass] [newclass=.CompendiumImageThreeFilter:hover::-webkit-scrollbar]background-color:transparent;[/newclass] [newclass=.CompendiumImageThreeFilter:hover::-webkit-scrollbar-thumb]background-color:#FFA6ED;border-radius:10px;[/newclass]
[attr="class",CompendiumImageOneTitle]Character One
[attr="class",CompendiumImageOneText]Lorem ipsum dolor sit amet, consectetur adipiscing elit. Donec augue tortor, placerat vel gravida sed, accumsan a enim. Vestibulum ante ipsum primis in faucibus orci luctus et ultrices posuere cubilia curae; Integer a vulputate nibh, sed pretium ex. Sed pharetra libero id lacus ultricies, sit amet volutpat dolor sagittis. In hac habitasse platea dictumst. Phasellus vel massa quis nibh lobortis volutpat ac non ante. Sed sem ex, suscipit vehicula iaculis viverra, accumsan vel risus. Nam luctus rutrum dictum. [break][break]
[attr="class",CompendiumImageTwoTitle]Character Two
[attr="class",CompendiumImageTwoText]Lorem ipsum dolor sit amet, consectetur adipiscing elit. Donec augue tortor, placerat vel gravida sed, accumsan a enim. Vestibulum ante ipsum primis in faucibus orci luctus et ultrices posuere cubilia curae; Integer a vulputate nibh, sed pretium ex. Sed pharetra libero id lacus ultricies, sit amet volutpat dolor sagittis. In hac habitasse platea dictumst. Phasellus vel massa quis nibh lobortis volutpat ac non ante. Sed sem ex, suscipit vehicula iaculis viverra, accumsan vel risus. Nam luctus rutrum dictum. [break][break]
[attr="class",CompendiumImageThreeTitle]Character Three
[attr="class",CompendiumImageThreeText]Lorem ipsum dolor sit amet, consectetur adipiscing elit. Donec augue tortor, placerat vel gravida sed, accumsan a enim. Vestibulum ante ipsum primis in faucibus orci luctus et ultrices posuere cubilia curae; Integer a vulputate nibh, sed pretium ex. Sed pharetra libero id lacus ultricies, sit amet volutpat dolor sagittis. In hac habitasse platea dictumst. Phasellus vel massa quis nibh lobortis volutpat ac non ante. Sed sem ex, suscipit vehicula iaculis viverra, accumsan vel risus. Nam luctus rutrum dictum. [break][break]
IMAGE SOURCE: ONE // TWO // THREE [break][break] Active Character List! Hover over each image to see a brief summary of each character and a little read more that links to their CS. I haven't changed the links or images in this from when I used it, so at the moment they link to my characters. Don't remove the "code by reyn" blah blah there are some things to note again:[break] - The background images are linked TWICE per thing- once for the image, and once for the hover. If you want a blurred background like in the original version, you'll have to blur your own image in photoshop or whatever and link it in the hover.[break] - Ctrl+f "rgba" and "#" and "color" are your friends if you want to find what colours to edit.[break] - You can change the font, font size, etc. The titles are a different font than the body.[break] - Once again, this uses NOSPACES, so write (break) in square brackets every time you want a line break.[break] - As with all newclass stuff, putting this twice on a single page of a thread will most likely cause problems when you try and edit it. Change the class names every time you post it to the same page, or just don't post it to the same page.[break][break]
[newclass=.CompendiumImageThree]grid-area:THREE;height:350px;background-image:url(https://i.imgur.com/ZAdhGAr.jpg);background-size:cover;background-position:center;border-radius:0px 20px 20px 0px;transition:0.4s ease-out;position:relative;overflow:hidden;[/newclass] [newclass=.CompendiumImageThreeFilter]background-color:transparent;height:100%;transition:0.4s ease-out;overflow-y:auto;[/newclass] [newclass=.CompendiumImageThree:hover .CompendiumImageThreeFilter]background-color:rgba(166,56,144, 0.7);overflow-y:auto;[/newclass] [newclass=.CompendiumImageThree:hover]background-image:url(https://i.imgur.com/ZAdhGAr.jpg);background-size:cover;background-position:center;border-radius:0px 20px 20px 00px;overflow-x:hidden;[/newclass] [newclass=.CompendiumImageThreeFilter::-webkit-scrollbar]background-color:transparent;[/newclass] [newclass=.CompendiumImageThreeFilter::-webkit-scrollbar-thumb]background-color:transparent;border-radius:10px;[/newclass] [newclass=.CompendiumImageThreeFilter:hover::-webkit-scrollbar]background-color:transparent;[/newclass] [newclass=.CompendiumImageThreeFilter:hover::-webkit-scrollbar-thumb]background-color:#FFA6ED;border-radius:10px;[/newclass]
[div][attr="class",CompendiumContainerTwo] [div][attr="class",CompendiumContainerGridTwo] [div][attr="class",CompendiumImageOne][div][attr="class",CompendiumImageOneFilter][div][attr="class",CompendiumImageOneTitle]Character One[/div][div][attr="class",CompendiumImageOneText]Lorem ipsum dolor sit amet, consectetur adipiscing elit. Donec augue tortor, placerat vel gravida sed, accumsan a enim. Vestibulum ante ipsum primis in faucibus orci luctus et ultrices posuere cubilia curae; Integer a vulputate nibh, sed pretium ex. Sed pharetra libero id lacus ultricies, sit amet volutpat dolor sagittis. In hac habitasse platea dictumst. Phasellus vel massa quis nibh lobortis volutpat ac non ante. Sed sem ex, suscipit vehicula iaculis viverra, accumsan vel risus. Nam luctus rutrum dictum. [break][break] [div align="right"][url href="https://i.imgur.com/lyIbTY3.png"]Read More >[/url][/div][/div][/div][/div]
[div][attr="class",CompendiumImageTwo][div][attr="class",CompendiumImageTwoFilter][div][attr="class",CompendiumImageTwoTitle]Character Two[/div][div][attr="class",CompendiumImageTwoText]Lorem ipsum dolor sit amet, consectetur adipiscing elit. Donec augue tortor, placerat vel gravida sed, accumsan a enim. Vestibulum ante ipsum primis in faucibus orci luctus et ultrices posuere cubilia curae; Integer a vulputate nibh, sed pretium ex. Sed pharetra libero id lacus ultricies, sit amet volutpat dolor sagittis. In hac habitasse platea dictumst. Phasellus vel massa quis nibh lobortis volutpat ac non ante. Sed sem ex, suscipit vehicula iaculis viverra, accumsan vel risus. Nam luctus rutrum dictum. [break][break] [div align="right"][url href="https://rp-forum.net/thread/344/null"]Read More >[/url][/div][/div][/div][/div]
[div][attr="class",CompendiumImageThree][div][attr="class",CompendiumImageThreeFilter][div][attr="class",CompendiumImageThreeTitle]Character Three[/div][div][attr="class",CompendiumImageThreeText]Lorem ipsum dolor sit amet, consectetur adipiscing elit. Donec augue tortor, placerat vel gravida sed, accumsan a enim. Vestibulum ante ipsum primis in faucibus orci luctus et ultrices posuere cubilia curae; Integer a vulputate nibh, sed pretium ex. Sed pharetra libero id lacus ultricies, sit amet volutpat dolor sagittis. In hac habitasse platea dictumst. Phasellus vel massa quis nibh lobortis volutpat ac non ante. Sed sem ex, suscipit vehicula iaculis viverra, accumsan vel risus. Nam luctus rutrum dictum. [break][break] [div align="right"][url href="https://rp-forum.net/thread/141/penelope-penn-sterling"]Read More >[/url][/div][/div][/div][/div][/div][/div] [break][break]
Dislikes: hey this is some filler text to see what happens if we stretch out the width here, that's all it is, don't worry about it, no big deal.
You can add more stuff to this section or take some out, do whatever you need to.
[attr="style","grid-area:Right;width:400px;"]
Biography
Biographical Information goes here Text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text texttext text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text
Other Information
Other Information goes here Text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text texttext text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text
[div align="Left"]BASIC INFO GOES HERE - THE STUFF TO THE SIDE OF THE IMAGE[/div][/div] [div][attr="style","grid-area:Right;width:400px;"][img src="YOUR IMAGE URL GOES HERE, LEAVE THE QUOTES IN" style="border:1px black solid;"][/div][/div] SUBSECTION 1 TITLE [div style="margin-left:10px;"]SUBSECTION 1 INFO GOES HERE [/div]
SUBSECTION 2 TITLE [div style="margin-left:10px;"]SUBSECTION 2 INFO GOES HERE [/div]
[div align="Center"]WHATEVER YOU WANT AT THE BOTTOM GOES HERE - YOU CAN THROW IN ANOTHER IMAGE IF YOU WANT, OR A PHRASE, OR DELETE THIS ENTIRELY[/div]