80 lines
No EOL
1.1 KiB
Text
80 lines
No EOL
1.1 KiB
Text
{ style main
|
|
" path index.tsf.tdf
|
|
|
|
{ sub
|
|
{ col header
|
|
b rel T
|
|
f x 0
|
|
f y 0
|
|
f w 1
|
|
f h 0.2
|
|
f r 0.25
|
|
f g 0
|
|
f b 0
|
|
f a 1
|
|
{ sub
|
|
{ text welcome
|
|
b rel T
|
|
f x 0
|
|
f y 0
|
|
f w 1
|
|
f h 0.75
|
|
S txt
|
|
welcome to tiny web ^^
|
|
\
|
|
}
|
|
{ text message
|
|
b rel T
|
|
f x 0
|
|
f y 0.75
|
|
f w 1
|
|
f h 0.25
|
|
S txt
|
|
here you will learn the basics of how to create a tiny webpage
|
|
\
|
|
}
|
|
}
|
|
}
|
|
# header end
|
|
{ col body
|
|
b rel T
|
|
f x 0.2
|
|
f y 0
|
|
f w 1
|
|
f h 5.0
|
|
f r 0.125
|
|
f g 0.125
|
|
f b 0.125
|
|
f a 1
|
|
{ sub
|
|
{ text message
|
|
b rel T
|
|
f x 0.1
|
|
f y 0.1
|
|
f w 0.9
|
|
f h 0.2
|
|
S txt
|
|
first of all, sorry to tell you but you will have to create these tiny files that.. are not the most readable
|
|
so until i can create an editor, i deeply recommend you to keep your pages very simple in styling.
|
|
|
|
but i do plan to create a proper IDE for TDF and TMK where you will not have to worry about the code at all...
|
|
just have to place nodes and blocks and pointers and u can be happy heh.
|
|
\
|
|
}
|
|
{ link repo
|
|
b rel T
|
|
f x 0.3
|
|
f y 0.1
|
|
f w 0.9
|
|
f h 0.02
|
|
S txt
|
|
look at my other projects!
|
|
\
|
|
" path https://github.com/kin-fuyuki
|
|
}
|
|
}
|
|
}
|
|
# body end
|
|
}
|
|
# end of the style sub-elements
|
|
} |