Go Back   Literotica Discussion Board > Chyoo Forums > Chyoo General

Reply
 
Thread Tools

Old 05-02-2008, 10:56 PM   #1
Zingiber
Literotica Guru
 
Zingiber's Avatar
 
Zingiber is offline
Join Date: Jul 2002
Location: Pacific Rim
Posts: 903
Chyoo Tips and Tricks

I finally figured out how to get a user stylesheet to make the new threads in a story map more prominent.

Here is my user stylesheet (saved as chyoo.css on my machine):
HTML Code:
.red p {
  font-size: 18px ! important;
  color: #ff0000 ! important;
  }
New thread lines are big (18px vs 12px) and the non-link text is red (vs. black).

Maybe next I'll change the faint blue shading for new stories to something that's easier for me to see.

I titled the thread Chyoo Tips and Tricks in case anyone else wanted to chime in about their favorite ways to make the site easier or more pleasant to use.

Anyone else have favorite ways to make Chyoo easier?
__________________
Zingiber's New Chyoo (Beta) Stories Zingiber's Literotica stories

-----BEGIN SEX CODE BLOCK-----
Version: 1.2
SPoSlMa/Bi/MaEr ~A45 W-:++ @H w h D++ E+ !P
ag++r+ Ag++r+ c++ C++ fg++r g++ i++ k++ m++ Ma+ n++< S+++ wa++
------END SEX CODE BLOCK------

(Sex Code Explained)
  Reply With Quote

Old 05-03-2008, 09:54 AM   #2
moonblack
Really Experienced
 
moonblack is offline
Join Date: Dec 1969
Posts: 197
Hmm, I wonder if I should tell people how to add a thread even if the allowed maximum number of threads is already reached, i.e. how to add a fifth option to a thread that already has four options? Or is that not suited for this topic?
  Reply With Quote

Old 05-03-2008, 09:59 AM   #3
Gunde
Really Really Experienced
 
Gunde is offline
Join Date: Dec 1969
Location: Sweden
Posts: 351
It's a tips, and a trick. So I'd say that it's perfectly suitable
  Reply With Quote

Old 05-03-2008, 10:28 AM   #4
Torg
Literotica Guru
 
Torg's Avatar
 
Torg is offline
Join Date: Aug 2003
Location: In the heart of love, embracing the opportunities I happen across. Oh, and sex, lots and lots of sex.
Posts: 1,517
Quote:
Originally Posted by Zingiber View Post
I finally figured out how to get a user stylesheet to make the new threads in a story map more prominent.
I never thought to make a stylesheet for someone else's website. Got a clue where to put that css in Firefox?
  Reply With Quote

Old 05-03-2008, 10:43 AM   #5
Zingiber
Literotica Guru
 
Zingiber's Avatar
 
Zingiber is offline
Join Date: Jul 2002
Location: Pacific Rim
Posts: 903
Quote:
Originally Posted by Torg View Post
I never thought to make a stylesheet for someone else's website. Got a clue where to put that css in Firefox?
http://www.google.com/search?q=firefox+user+stylesheet

http://webdesign.about.com/od/css/ht...userfirefo.htm

How To Write a User Style Sheet for Firefox
From Jennifer Kyrnin,
Your Guide to Web Design / HTML.

User style sheets allow you to have more control over the Web pages you are visiting. They allow you to define styles for usability as well as for your own comfort. This how to explains how to use a user style sheet in Firefox.
Difficulty: Easy
Time Required: 5 minutes

Here's How:
  1. Create a style sheet with the styles you want to use, and save it to your hard drive.
  2. Find your Firefox profile.
    It is usually located in the "application data" folder on Windows, or the "application support" folder on Macintosh.
  3. Rename your user style sheet from step 1 to userContent.css and place it in the chrome directory of your Firefox profile.
  4. Close your browser and re-open it. Your styles will be applied to all pages you visit after that.

Tips:
  1. If you change your style sheet, you may have to close your browser and re-open it for the styles to take effect.
  2. If you can't find your Profiles directory, you can search for userContent-example.css on your hard drive. That is usually in the same folder.

Note that the Opera browser allows you to set different user style sheets for different domains.

According to W3C, the user stylesheet is applied on top of (rather than instead of) the author stylesheet, and the author wins in case of a tie of priorities. Thus the "! important" decoration to cause an override. Though for Chyoo, the fact that I'm looking at "a paragraph within an element tagged with class=red" should be enough.

-Z.
__________________
Zingiber's New Chyoo (Beta) Stories Zingiber's Literotica stories

-----BEGIN SEX CODE BLOCK-----
Version: 1.2
SPoSlMa/Bi/MaEr ~A45 W-:++ @H w h D++ E+ !P
ag++r+ Ag++r+ c++ C++ fg++r g++ i++ k++ m++ Ma+ n++< S+++ wa++
------END SEX CODE BLOCK------

(Sex Code Explained)
  Reply With Quote

Old 05-04-2008, 04:23 AM   #6
moonblack
Really Experienced
 
moonblack is offline
Join Date: Dec 1969
Posts: 197
http://www.chyoo.com/index.php/membe...ddedit/0/79899

Notice the number at the end? That is the number of the thread you're adding to. So you just need to change ti to the number you want. For example, to add a new thread to the first Tharros thread you use http://www.chyoo.com/index.php/membe...ddedit/0/68165
To find the number of any thread first see the story map, then just click on the thread you desire. In the adress bar you will see something like this:
http://www.chyoo.com/index.php/main....ge/68165/79899
The first number is the current thread, the second number (if present) is the previous one.

This works with Open stories. I have not tried it with Closed ones.
  Reply With Quote

Old 05-04-2008, 08:51 AM   #7
Torg
Literotica Guru
 
Torg's Avatar
 
Torg is offline
Join Date: Aug 2003
Location: In the heart of love, embracing the opportunities I happen across. Oh, and sex, lots and lots of sex.
Posts: 1,517
Quote:
Originally Posted by moonblack View Post
This works with Open stories. I have not tried it with Closed ones.
This indeed works on Closed stories.

Mwa-ha-ha.
  Reply With Quote

Old 05-04-2008, 05:27 PM   #8
TwiztedClown
Really Really Experienced
 
TwiztedClown's Avatar
 
TwiztedClown is offline
Join Date: Mar 2002
Location: Upstate New York
Posts: 369
Well thats interesting to know
  Reply With Quote

Old 05-05-2008, 01:23 AM   #9
TJChurch
Really Really Experienced
 
TJChurch is offline
Join Date: Mar 2004
Location: Ohio
Posts: 370
I'm a troll.

Last edited by TJChurch : 11-02-2010 at 01:52 AM.
  Reply With Quote

Old 05-05-2008, 12:16 PM   #10
Torg
Literotica Guru
 
Torg's Avatar
 
Torg is offline
Join Date: Aug 2003
Location: In the heart of love, embracing the opportunities I happen across. Oh, and sex, lots and lots of sex.
Posts: 1,517
Just reading the thread gives you the thread # in the URL bar. If that story is closed or if that thread already has the maximum threads added, no Add Thread button will show. If you go to another thread that has the button and click it, you get the URL for adding threads, and then you add the thread #, so you can add to the full or closed thread.

Or alternatively, just put the URL without the thread # on your Bookmark toolbar, and add the thread # you've cut and pasted from the thread.
  Reply With Quote

Old 05-07-2008, 02:53 AM   #11
Zingiber
Literotica Guru
 
Zingiber's Avatar
 
Zingiber is offline
Join Date: Jul 2002
Location: Pacific Rim
Posts: 903
Thumbs up I ♥ my new custom CSS stylesheet

I really like my new custom CSS stylesheet effect making the new threads in the story map jump out. If the story is marked new there's no need to squint and look for the little red circle next to the new thread.

-Z.
__________________
Zingiber's New Chyoo (Beta) Stories Zingiber's Literotica stories

-----BEGIN SEX CODE BLOCK-----
Version: 1.2
SPoSlMa/Bi/MaEr ~A45 W-:++ @H w h D++ E+ !P
ag++r+ Ag++r+ c++ C++ fg++r g++ i++ k++ m++ Ma+ n++< S+++ wa++
------END SEX CODE BLOCK------

(Sex Code Explained)
  Reply With Quote

Old 05-07-2008, 10:56 AM   #12
Torg
Literotica Guru
 
Torg's Avatar
 
Torg is offline
Join Date: Aug 2003
Location: In the heart of love, embracing the opportunities I happen across. Oh, and sex, lots and lots of sex.
Posts: 1,517
Quote:
Originally Posted by Zingiber View Post
I really like my new custom CSS stylesheet effect making the new threads in the story map jump out. If the story is marked new there's no need to squint and look for the little red circle next to the new thread.

-Z.
Something's weird with my Firefox. I added the .css in the directory with the example css, but I still get the old formatting.

The directory is:
C:\Program Files\Mozilla Firefox\defaults\profile\chrome

It didn't work on my laptop. I'm going to try it now on my work machine.
  Reply With Quote

Old 05-08-2008, 03:05 AM   #13
Zingiber
Literotica Guru
 
Zingiber's Avatar
 
Zingiber is offline
Join Date: Jul 2002
Location: Pacific Rim
Posts: 903
Quote:
Originally Posted by Torg View Post
Something's weird with my Firefox. I added the .css in the directory with the example css, but I still get the old formatting.

The directory is:
C:\Program Files\Mozilla Firefox\defaults\profile\chrome

It didn't work on my laptop. I'm going to try it now on my work machine.
Hm, I'm running Opera (which has a CSS twiddler console available as a "developer tools" download). I'll have to try it in FF.
__________________
Zingiber's New Chyoo (Beta) Stories Zingiber's Literotica stories

-----BEGIN SEX CODE BLOCK-----
Version: 1.2
SPoSlMa/Bi/MaEr ~A45 W-:++ @H w h D++ E+ !P
ag++r+ Ag++r+ c++ C++ fg++r g++ i++ k++ m++ Ma+ n++< S+++ wa++
------END SEX CODE BLOCK------

(Sex Code Explained)
  Reply With Quote

Old 05-08-2008, 04:39 AM   #14
gizmoo69
Really Experienced
 
gizmoo69's Avatar
 
gizmoo69 is offline
Join Date: May 2004
Location: Miles away
Posts: 273
Quote:
Originally Posted by moonblack View Post
http://www.chyoo.com/index.php/membe...ddedit/0/79899

Notice the number at the end? That is the number of the thread you're adding to. So you just need to change ti to the number you want. For example, to add a new thread to the first Tharros thread you use http://www.chyoo.com/index.php/membe...ddedit/0/68165
To find the number of any thread first see the story map, then just click on the thread you desire. In the adress bar you will see something like this:
http://www.chyoo.com/index.php/main....ge/68165/79899
The first number is the current thread, the second number (if present) is the previous one.
I always wondered how people did this!
  Reply With Quote

Old 05-08-2008, 06:05 PM   #15
TJChurch
Really Really Experienced
 
TJChurch is offline
Join Date: Mar 2004
Location: Ohio
Posts: 370
I'm a troll.

Last edited by TJChurch : 11-02-2010 at 01:52 AM.
  Reply With Quote

Old 05-09-2008, 02:21 AM   #16
Zingiber
Literotica Guru
 
Zingiber's Avatar
 
Zingiber is offline
Join Date: Jul 2002
Location: Pacific Rim
Posts: 903
Quote:
Originally Posted by Torg View Post
Something's weird with my Firefox. I added the .css in the directory with the example css, but I still get the old formatting.

The directory is:
C:\Program Files\Mozilla Firefox\defaults\profile\chrome

It didn't work on my laptop. I'm going to try it now on my work machine.
I think you have to find your real actual profile directory rather than the defaults used as a template to create new profiles.

http://support.mozilla.com/en-US/kb/...d_your_profile

Operating System
Profile Folder Path
Windows Vista/XP/2000
%APPDATA%\Mozilla\Firefox\Profiles\xxxxxxxx.default\
Where %APPDATA% is shorthand for the C:\Users\<username>\AppData\Roaming\ folder (Windows Vista) or the C:\Documents and Settings\<username>\Application Data\ folder (Windows XP/2000)
__________________
Zingiber's New Chyoo (Beta) Stories Zingiber's Literotica stories

-----BEGIN SEX CODE BLOCK-----
Version: 1.2
SPoSlMa/Bi/MaEr ~A45 W-:++ @H w h D++ E+ !P
ag++r+ Ag++r+ c++ C++ fg++r g++ i++ k++ m++ Ma+ n++< S+++ wa++
------END SEX CODE BLOCK------

(Sex Code Explained)
  Reply With Quote

Old 05-09-2008, 08:56 AM   #17
Torg
Literotica Guru
 
Torg's Avatar
 
Torg is offline
Join Date: Aug 2003
Location: In the heart of love, embracing the opportunities I happen across. Oh, and sex, lots and lots of sex.
Posts: 1,517
Aha! The problem is that the Application Data directory (XP) is Hidden. I looked and looked for this. I finally found it by putting the whole path in the Windows Explorer. And Unhid it.
  Reply With Quote

Old 05-10-2008, 01:36 PM   #18
TJChurch
Really Really Experienced
 
TJChurch is offline
Join Date: Mar 2004
Location: Ohio
Posts: 370
I'm a troll.

Last edited by TJChurch : 11-02-2010 at 01:53 AM.
  Reply With Quote

Old 05-11-2008, 05:41 AM   #19
moonblack
Really Experienced
 
moonblack is offline
Join Date: Dec 1969
Posts: 197
Could you tell us, step-by-step, what did you do, exactly?
  Reply With Quote

Old 05-11-2008, 09:47 AM   #20
Zingiber
Literotica Guru
 
Zingiber's Avatar
 
Zingiber is offline
Join Date: Jul 2002
Location: Pacific Rim
Posts: 903
Quote:
Originally Posted by moonblack View Post
Could you tell us, step-by-step, what did you do, exactly?
Moonblack: who's that question to?

-Z
__________________
Zingiber's New Chyoo (Beta) Stories Zingiber's Literotica stories

-----BEGIN SEX CODE BLOCK-----
Version: 1.2
SPoSlMa/Bi/MaEr ~A45 W-:++ @H w h D++ E+ !P
ag++r+ Ag++r+ c++ C++ fg++r g++ i++ k++ m++ Ma+ n++< S+++ wa++
------END SEX CODE BLOCK------

(Sex Code Explained)
  Reply With Quote

Old 05-11-2008, 10:41 AM   #21
moonblack
Really Experienced
 
moonblack is offline
Join Date: Dec 1969
Posts: 197
It's for TJChurch - since his post is right above mine I did not deem it necessary to quote it (though I may have been wrong on that).
  Reply With Quote

Old 05-13-2008, 12:29 AM   #22
TJChurch
Really Really Experienced
 
TJChurch is offline
Join Date: Mar 2004
Location: Ohio
Posts: 370
I'm a troll.

Last edited by TJChurch : 11-02-2010 at 01:53 AM.
  Reply With Quote

Old 05-19-2008, 12:04 AM   #23
Zingiber
Literotica Guru
 
Zingiber's Avatar
 
Zingiber is offline
Join Date: Jul 2002
Location: Pacific Rim
Posts: 903
Anyone else get the custom stylesheet working?

I wanted to post a sample of my "restyled" story map and see if anyone else had gotten one working.

The main reading pages also have a fixed pixel width, which is not so great a choice, but that might take Greasemonkey rather than a custom user CSS. Not sure.

-Z.
Attached Images
File Type: gif styled-story-map.gif (31.7 KB, 111 views)
__________________
Zingiber's New Chyoo (Beta) Stories Zingiber's Literotica stories

-----BEGIN SEX CODE BLOCK-----
Version: 1.2
SPoSlMa/Bi/MaEr ~A45 W-:++ @H w h D++ E+ !P
ag++r+ Ag++r+ c++ C++ fg++r g++ i++ k++ m++ Ma+ n++< S+++ wa++
------END SEX CODE BLOCK------

(Sex Code Explained)
  Reply With Quote

Old 05-19-2008, 08:48 AM   #24
Torg
Literotica Guru
 
Torg's Avatar
 
Torg is offline
Join Date: Aug 2003
Location: In the heart of love, embracing the opportunities I happen across. Oh, and sex, lots and lots of sex.
Posts: 1,517
Quote:
Originally Posted by Zingiber View Post
I wanted to post a sample of my "restyled" story map and see if anyone else had gotten one working.

The main reading pages also have a fixed pixel width, which is not so great a choice, but that might take Greasemonkey rather than a custom user CSS. Not sure.

-Z.
I got mine working once I put things in the right directory. I love it.
  Reply With Quote

Old 05-19-2008, 09:55 PM   #25
whizzper
Really Really Experienced
 
whizzper is offline
Join Date: Dec 1969
Location: NYC
Posts: 463
Yay...it worked...the css thing. woohoo...no more squinting no more squinting no more squinting
  Reply With Quote
Reply


Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump



All times are GMT -4. The time now is 12:30 AM.

Copyright 1998-2013 Literotica Online. Literotica is a registered trademark.