Comments (6)
Hi, can you elaborate on this? I am not a WebDev so I am not up to date with CSS best practices.
from lcars.
from lcars.
OK, I see, but only within the text, not in navigation or buttons. so I guess the changes need to made here.
Can you suggest defaults?
from lcars.
I suggest this:
a{
text-decoration: none;
display: inline;
}
a:link{
color: #fc6; //lcars-golden-tanoi-color;
font-weight: 400;
}
a:visited{
color: #fc6; //lcars-golden-tanoi-color;
font-weight: normal;
}
a:focus{
color: #fc6; //lcars-golden-tanoi-color;
background-color: #080602;
font-weight: 400;
}
a:hover{
color: #fc6; //lcars-golden-tanoi-color;
background-color: #090703;
font-weight: 400;
}
a:active{
color: #ff9; //lcars-canary-color;
font-weight: 500;
background-color: #0C0806;
}
I do not know how to put that into Stylus.
A couple of helpful supplementary references on anchors and CSS:
https://developer.mozilla.org/en-US/docs/Learn/CSS/Styling_text/Styling_links
https://stackoverflow.com/a/10510353/537243
from lcars.
Can you share a picture of what you want to achieve?
I have an idea of just creating a rule that every child of a row or column will get this properties as defined by the closest parent.
It is as complicated as it sounds, because, you might what to define this things like you want to only have it in text boxes, but what about the elbow bars, they will pick it up.
Sorry for the Wesleying ;)
In the end, I think it is the easiest to make ti such, that you simply can give a div
a lcars-text-box
properties with some options to style it with real color name (I am grateful for having found a website to help me translate the values in to human readable :D ).
So, do you you need this feature outside a text-box
?
from lcars.
Now that I have read the index doc more carefully, I am not thinking about text-box, which says that it is not for longer texts. I am indeed thinking of the longer texts. Imagine someone reading the on-board copy of the Federation Encyclopedia. The inline hyperlinks to other related articles is what I'm thinking about. Mostly within <p>
paragraph tags.
Right now we have this:
but I think it would be better to have this:
from lcars.
Related Issues (20)
- lcars-title class should have character glyphs same height as parent bar element, visually HOT 7
- Automatic audio wireup selector makes omissions, demo/doc page example missing button class
- Gulpfile configured for older version HOT 1
- Simplify Audio section documentation
- Short filenames HOT 2
- Audio module bugs
- elements / buttons in thin/horizontal elbow-bars
- brackets to support text content HOT 5
- Questions about rows and columns HOT 3
- Input HOT 15
- Documentation request: How do I incorporate this project? HOT 20
- Need good default styling for html tables
- Rename `master` to `main` HOT 9
- Demo/doc left-hand side-bar navigation has too many buttons HOT 3
- Compiled CSS contains a few unnecessarily long floating point representations of irrational numbers
- Simple Red Alert effect
- Expand contributing section of readme
- Is it possible to have a tutorial to realize something like www.thelcars.com template? HOT 3
- Getting LCARS to work with React HOT 3
- Documentation - Areas for improvement
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from lcars.