@jgmac1106Connecting #IndieWeb with HiveNYC
NYU Magnet Center, Brooklyn College Community Partnership. MOUSE. Global Kids. Brooklyn Library Info Commons. A few starts. We have meeting Tuesday, get us a blurb/link to share with members
— Hive NYC ... https://is.gd/mpABFg (twitter.com/_/status/1018869217708343298)
dmcweeneyI am wondering if anyone knows how I can get the top 50% of a page to be one background color and the bottom 50% of a page to be another background color
[jgarber]dmcweeney: In your question does “page” height refer to viewport (the browser window) height or the total height of the rendered content of the HTML page?
dmcweeneyAs you can see, right now the background color is pink. So, I am wondering if there was any code I can add to make the first half of the index-2.html page the color pink and the second half to be purple?
[jgarber]I applied the CSS `background: linear-gradient(to bottom, #ff0000 50%, #0000ff 50%);` to the `html` element on https://sixtwothree.org to test and, sure enough, 50% of the background of the overall page height was red, the other 50% was blue.
[jgmac1106]@dmcweeney Hey happy to see you stumble into the IndieWeb chat, what I would do is simply wrap each "half" into a section and then you can play with vh if you want like this: https://thimbleprojects.org/jgmac1106/520321/
[jgmac1106]@dmcweeney Hey happy to see you stumble into the IndieWeb chat, what I would do is simply wrap each "half" in a section and then you could play with vh all you want like this: https://thimbleprojects.org/jgmac1106/520321/
[jgmac1106]these types of questions, when talking code and we usually use the indieweb-dev channel, [jgarber] technique is really cool may play with that
[jgmac1106]for the community as an interesting note I was long ago dmcweeney's 6th grade teacher in 2006/2007 and he was part of my first blogging class back then
[jgarber]> Today, we’re announcing that Pinterest has entered into an agreement to transfer ownership of Instapaper to Instant Paper, Inc., a new company owned and operated by the same people who’ve been working on Instapaper since it was sold to betaworks by Marco Arment in 2013.
LoqiMastodon is an open source implementation of a federated social network with several running instances that is compatible with GNU social https://indieweb.org/Mastodon
jgmac1106_I am busy now (teaching online, reading student blogs) but will take a look. [jgarber] has an awesome book that might be right up your alley but you can always ask here
[eddie]dougbeal: Set up a private site (micro.blog, wordpress or jekyll) that accepts Micropub and generates RSS, JSON Feed or h-feed. Subscribe to that in whatever reader silo you use with baffle
[eddie]indiepaper just takes a page and sends a Micropub request, so you just need a Micropub -> feed service. You can do that custom with wordpress or Jekyll but micro.blog also generates a feed based on IndiePaper saved (http://help.micro.blog/2018/indiepaper/)
raucao, [chrisaldrich], snarfed and yar joined the channel
[jgmac1106]I see what you were trying to do but you needed to use <sections> or <divs> for your colors not more than one body. Think about an essay, Could it have two bodies of text???? Nope, nor can websites
[jgmac1106]I will add my template into Thimble and you can mess around, the alternative is just start over with your site section:nth-child(odd);height: 50vh; {background: pink; height: 50vh;} section:nth-child(even) { background: purple;}
[jgmac1106]Even easier is just use inline styling (slaps his own wrist) <section style="background-color: pink> and <section style="background-color: purple>, In your head (better yet on paper prototype) think about each area as a section
[jgmac1106]You could of course just remix my glitch project, touch nothing but the colors on the CSS and touch nothing in the tags on the index file, but how much fun is that?
gRegorLovedmcweeney: Using your published page, I replaced `<body>` with `<body style="background: linear-gradient(to bottom, #ff0000 50%, #0000ff 50%);">` and it works.
gRegorLoveThat applies to the entire height of the page. Like jgmac1106_ said, you might want to alternate different background colors on sections, instead.
[jgmac1106]@drewmcsweeney it is for graduate classes but you could take my Digital Teaching and Learning Too class in the open as a participant, the outcome (final for paying folks) is basically a classwebsite like yours
KartikPrabhugRegorLove: the confusion seems to be switching between HTML and CSS. Better to keep styles in the CSS only instead of mixing them up in the HTMl and causing confusion
jgmac1106_[KarthikPrabhu] I did slap my hand for suggesting inline, but I wll work with Drew f2f and get him sorted, thanks all, @dmcweeney been a great IndieWeb AllStar as of late
sketchessI hope you regard yourself lucky Kartik. Maybe it is not the shoes you like to walk in, but they were indeed the perfect fit for me. Don't you think everyone has the right to find their own ways?
[eddie]:crossed_fingers: Just flipped the switch. Once my website finishes process, the homepage will be replaced with my new still in-development dynamic homepage.