Designing with the STK ... is as easy as customizing your own pizza.
Out of the box the Magnolia STK comes with a large amount of HTML & CSS, more than 50 HTML templates and 9 layout patterns. Which is amazing. Still, the possibilities can easily become intimidating, kill creativity or slowdown the design and development process. Don't be scared.
Timo Wirth, creator of the STK frontend, shows you how easy it is to create a stunning website with the help of the STK and how the STK can speed up your creativity process.
Designing with the Magnolia STK is as easy as creating your own individual pizza. It's your choice!
11. The following guide will help you to create the
best pizza ever in the shortest amount of time.
It’s optimized for the non-experienced pizza
maker.
11
39. So much more to choose from …
Please choose from more than 20 additional specialities ...
The STK order form
will be part of the
next magnolia
release.
39
40. Here are the ingredients for our pizza website
centered
3 columns
stage
horizontal navigation
promos
40
41. Now we have a plan, how our pizza should be
layouted and structured.
We’ve decided which elements the pizza should
consists of and what our favorite toppings are
41
50. Change is good thing
04 Easy to maintain
Easy to change
Easy to redesign
50
51. ?
How are these principles
represented in the
frontend code?
52. Media Queries for responsive websites
are built in
<link media=“only screen and (min-device-width:
481px)”>
<link media=“only screen and (min-width: 1200px”>
<link media=“only screen and (min-width: 481px”) and
(max-width: 980px)”>
<link media=“handheld, only screen and (max-device-
width: 480px)”>
52
53. Every HTML template is self-contained
<div class=“text”>
<div id=“breadcrumb”><h5><ul>
<div id=“section”><h5><p>
53
55. Every HTML template is self-contained
<div class=“text” role=“article”> <!-‐-‐
not
-‐-‐>
<h1> <div
class=“text”>
<p id=“intro”> <h1>
<p
id=“intro”>
<div id=“toc”>
<h2>
<h2> <ul
id=“toc”>
<ul> <div>
<div class=“text-section”>
55
56. Classes and IDs are comprehensible
to humans
<!-- not -->
<div class=“c3po”>
<!-- better -->
<div class=“teaser no-img”>
<div class=“links”>
<div class=“text-box facts”>
56
57. Important layout -<div id=“wrapper">
containers are
+<div id=“branding">
layered and are so
independent +<div id=“nav-global">
+<div id=“wrapper-2">
+<div id=“site-info">
57
58. Class and ids follow a logical pattern
and they are extandable
<div id=“nav>
<div id=“nav-box>
<!-- extandable like this -->
<div id=“nav-wrapper”>
<div id=“nav”>
<div id=“nav-box”>
<div id=“nav-box-inner”>
58
59. Classes can be combined
for reuse, overwriting or special styling
<div class="teaser”>
…
<div class="teaser event-list">
<div class="teaser latest">
<div class="teaser latest links no-img">
59
60. Every teaser is unique.
STK counts the teasers for you
<div class="teaser” id=“teaser-1”>
<div class="teaser” id=“teaser-2”>
or
<div class=“box” id=“box-1”>
<div class=“box” id=“box-2”>
60
61. Teasers can be grouped
<div class="teaser-group”>
<div class="teaser“>
<div class="teaser“>
61
62. Each teaser group has it’s own teaser count
<div class="teaser-group” id="teaser-group-1” >
<div class="teaser“ id=“tg-1-teaser-1“>
<div class="teaser“ id=“tg-1-teaser-2“>
62
66. From 3 to 2 columns
Just change a number in the body class
3 columns 2 columns
<body class=“col-float3” > <body class=“col-float2” >
• No additional changes in templates or HTML code needed
• the markup in the content area and in teasers stay the same
• No re-editing or copying for editors
66
67. With all this knowledge
Let’s do some rapid
prototyping now
67
71. STK Rapid Prototyping
04 Just copy and re-write the
css you need.
Delete the rest.
Start with an empty css file.
71
72. ... to be Rapid prototyping
continued
Tomorrow morning
at the Community day.
See you J
Ich bin die Fusszeile 72
73. To sum up
1 The STK gives you general structure and lot
of possibilities.
2 Don’t let it limit your thinking.
3 See the structure as relief and you use it as
trampoline for your ideas and a starting point
for fantastic future-proof frontend design.
73