Difference between revisions of "Dn-css-2"

From EncyclopAtys

Jump to: navigation, search
m
 
(16 intermediate revisions by 2 users not shown)
Line 3: Line 3:
 
===Paragraph===
 
===Paragraph===
 
Biggest problem I see here horizontal line. Not line but its color. If we would use standard wiki markup we can not change its color. It appears at highest level.. Then it is there no more:
 
Biggest problem I see here horizontal line. Not line but its color. If we would use standard wiki markup we can not change its color. It appears at highest level.. Then it is there no more:
βˆ’
<syntaxhighlight>
+
<syntaxhighlight lang='css'>
 
PROVIDE EXAMPLES
 
PROVIDE EXAMPLES
βˆ’
</syntaxhighlight>
+
</syntaxhighlight lang='css'>
  
 
=1=
 
=1=
Line 25: Line 25:
 
===Table===
 
===Table===
 
No HTML table here, only CSS! Tables are used for grid-ish layout. On our wiki is it not often used but there are some features were it is used as 'mark plates': [[Template:Homin|Template: Homin]]
 
No HTML table here, only CSS! Tables are used for grid-ish layout. On our wiki is it not often used but there are some features were it is used as 'mark plates': [[Template:Homin|Template: Homin]]
βˆ’
<syntaxhighlight>
+
<syntaxhighlight lang='css'>
 
PROVIDE EXAMPLES
 
PROVIDE EXAMPLES
 
</syntaxhighlight>
 
</syntaxhighlight>
  
βˆ’
===Text box===
 
βˆ’
A text box with an border.
 
  
βˆ’
[[dn-text-box]]
 
βˆ’
 
βˆ’
===Article===
 
βˆ’
<syntaxhighlight>
 
βˆ’
PROVIDE EXAMPLES
 
βˆ’
</syntaxhighlight>
 
βˆ’
===Navigation===
 
βˆ’
<syntaxhighlight>
 
βˆ’
PROVIDE EXAMPLES
 
βˆ’
</syntaxhighlight>
 
βˆ’
===Page box===
 
βˆ’
<syntaxhighlight>
 
βˆ’
PROVIDE EXAMPLES
 
βˆ’
</syntaxhighlight>
 
βˆ’
==Layouts==
 
βˆ’
===Main Page===
 
βˆ’
This page should be attractive enough to invite people to read its content as informative as possible.
 
βˆ’
* Proposal A
 
βˆ’
<syntaxhighlight>
 
βˆ’
PROVIDE EXAMPLES
 
βˆ’
</syntaxhighlight>
 
βˆ’
* Proposal B
 
βˆ’
<syntaxhighlight>
 
βˆ’
PROVIDE EXAMPLES
 
βˆ’
</syntaxhighlight>
 
βˆ’
----<br/>
 
 
{{:dn-menu-buttons
 
{{:dn-menu-buttons
 
|CellCount=2
 
|CellCount=2

Latest revision as of 16:04, 23 November 2021

Page elements

A nice concept of separated text in a box! Lets make it a bit more modern:

Paragraph

Biggest problem I see here horizontal line. Not line but its color. If we would use standard wiki markup we can not change its color. It appears at highest level.. Then it is there no more:

PROVIDE EXAMPLES
</syntaxhighlight lang='css'>

=1=
111111
==2==
2222222
===3===
3333333
----

That's why I would consider using an alternative approach.
====4====
{{:dn-paragraph
|Header=Some HEADER
|Content=Some text
|Pallete=RT
}}

===Table===
No HTML table here, only CSS! Tables are used for grid-ish layout. On our wiki is it not often used but there are some features were it is used as 'mark plates': [[Template:Homin|Template: Homin]]
<syntaxhighlight lang='css'>
PROVIDE EXAMPLES