Quantcast
Channel: Help! with 2.0 - Twine Forum
Viewing all articles
Browse latest Browse all 1844

CSS questions...

$
0
0
Hello forum. Again.

I thought I'd compile some questions I've had relating to CSS in particular.

First of all, is there a way to adjust the text to the right?
I am familiar with
<p align ="right"></p>

But I was looking for something I could add to my stylesheet in order to abbreviate my work. My intention was to use it for dialog purposes, in a way that would spare me from writing it down every time, specially considering the amount of things I already have going on in my passages.

Is there something I can add to what I already have:
.npc{
  color:#EFE747 ;
  font-style: italic;
  font-family:Courier New;
  font-size: 20px;
  }

Second,
Having an area like a dialog box, for example, is it possible to adjust the text so it stays in the middle? My explanation may not be clear so I'm attaching a picture as example of what I'm looking for.

Third, and finally,
Is there a way of making transitions or effects for text to enter or leave the passage? I am familiar with transitions between passages, but I mean, for elements inside the passage itself.
I have written things like
#dialogue-bar {
transition: bottom .5s ease-in-out;
}
I saw it in some post (I'm sorry I can't remember where), but it does nothing...

So yeah...
That's it.
If anyone with more knowledge about css and stuff wishes to help out, It would be awesome! Thanks :)

Viewing all articles
Browse latest Browse all 1844

Trending Articles