mirror of
https://github.com/koodiklinikka/koodiklinikka.fi.git
synced 2026-03-20 22:06:29 +00:00
new layout
This commit is contained in:
@@ -11,28 +11,26 @@ html
|
|||||||
try{Typekit.load();}catch(e){};
|
try{Typekit.load();}catch(e){};
|
||||||
|
|
||||||
body
|
body
|
||||||
.container
|
.jumbo
|
||||||
.jumbo-container
|
div
|
||||||
.jumbo
|
h1 <a target="_blank" href="https://slack.com/">Slack</a>-yhteisö kaikille ohjelmoinnista ja ohjelmistoalasta kiinnostuneille harrastajille ja ammattilaisille.
|
||||||
|
section
|
||||||
|
|
||||||
.form-container
|
.form-container
|
||||||
|
#invite-form
|
||||||
|
h3 Tule mukaan
|
||||||
p.
|
p.
|
||||||
Etsitkö tiimikavereita projektiisi? Kiinnostaako koodaaminen, mutta et tiedä mistä lähtisi liikkeelle?
|
Etsitkö tiimikavereita projektiisi? Kiinnostaako koodaaminen, mutta et tiedä mistä lähtisi liikkeelle?
|
||||||
Onko koodissasi bugi joka ei pitkän googlettamisen jälkeen ole vieläkään ratkennut?<br />
|
Onko koodissasi bugi joka ei pitkän googlettamisen jälkeen ole vieläkään ratkennut?
|
||||||
<br />
|
Koodiklinikka on <a target="_blank" href="https://slack.com/">Slack</a>-yhteisö kaikille avoin softakehitykseen keskittynyt yhteisö.
|
||||||
Koodiklinikka on <a target="_blank" href="https://slack.com/">Slack</a>-yhteisö kaikille ohjelmoinnista ja ohjelmistoalasta kiinnostuneille harrastajille ja ammattilaisille.
|
|
||||||
|
|
||||||
#invite-form
|
|
||||||
h3 Liity mukaan
|
|
||||||
|
|
||||||
.footer
|
footer
|
||||||
|
|
||||||
a(href='https://koodiklinikka.slack.com')
|
a(href='https://koodiklinikka.slack.com')
|
||||||
i.fa.fa-slack
|
i.fa.fa-slack
|
||||||
|
|
||||||
a(href='https://github.com/koodiklinikka/koodiklinikka.fi')
|
|
||||||
i.fa.fa-github
|
|
||||||
|
|
||||||
a(href='https://github.com/koodiklinikka/koodiklinikka.fi')
|
a(href='https://github.com/koodiklinikka/koodiklinikka.fi')
|
||||||
img(style='position: absolute; top: 0; right: 0; border: 0;', src='https://camo.githubusercontent.com/365986a132ccd6a44c23a9169022c0b5c890c387/68747470733a2f2f73332e616d617a6f6e6177732e636f6d2f6769746875622f726962626f6e732f666f726b6d655f72696768745f7265645f6161303030302e706e67', alt='Fork me on GitHub', data-canonical-src='https://s3.amazonaws.com/github/ribbons/forkme_right_red_aa0000.png')
|
i.fa.fa-github
|
||||||
|
|
||||||
script(src='js/bundle.js')
|
script(src='js/bundle.js')
|
||||||
|
|||||||
9
src/styles/_button.styl
Normal file
9
src/styles/_button.styl
Normal file
@@ -0,0 +1,9 @@
|
|||||||
|
.btn
|
||||||
|
border-radius 3px
|
||||||
|
border 0
|
||||||
|
padding 1em
|
||||||
|
font-size 14px
|
||||||
|
outline 0
|
||||||
|
cursor pointer
|
||||||
|
&:disabled
|
||||||
|
opacity 0.6
|
||||||
32
src/styles/_input.styl
Normal file
32
src/styles/_input.styl
Normal file
@@ -0,0 +1,32 @@
|
|||||||
|
.input
|
||||||
|
width 100%
|
||||||
|
height 45px
|
||||||
|
padding 1em
|
||||||
|
box-sizing border-box
|
||||||
|
font-size inherit
|
||||||
|
border 2px solid rgba(0, 0, 0, 0.3)
|
||||||
|
border-radius 5px
|
||||||
|
background transparent
|
||||||
|
color rgba(0, 0, 0, 0.5)
|
||||||
|
outline 0
|
||||||
|
&:focus
|
||||||
|
border 2px solid rgba(0, 0, 0, 0.4)
|
||||||
|
color rgba(0, 0, 0, 0.6)
|
||||||
|
|
||||||
|
.input::-webkit-input-placeholder
|
||||||
|
color rgba(0, 0, 0, 0.3)
|
||||||
|
|
||||||
|
.input:-moz-placeholder
|
||||||
|
color rgba(0, 0, 0, 0.3)
|
||||||
|
opacity 1
|
||||||
|
|
||||||
|
.input::-moz-placeholder
|
||||||
|
color rgba(0, 0, 0, 0.3)
|
||||||
|
opacity 1
|
||||||
|
|
||||||
|
.input:-ms-input-placeholder
|
||||||
|
color rgba(0, 0, 0, 0.3)
|
||||||
|
|
||||||
|
.input.has-error
|
||||||
|
border-color rgba(226, 33, 112, 0.6)
|
||||||
|
color rgb(226, 33, 112)
|
||||||
@@ -1,3 +1,5 @@
|
|||||||
|
@require '_input'
|
||||||
|
@require '_button'
|
||||||
linkColor = #3090de
|
linkColor = #3090de
|
||||||
textColor = #444
|
textColor = #444
|
||||||
|
|
||||||
@@ -15,80 +17,32 @@ h1, h2, h3
|
|||||||
margin-bottom 0.5em
|
margin-bottom 0.5em
|
||||||
text-shadow 1px 1px 0 rgba(255, 255, 255, 0.2)
|
text-shadow 1px 1px 0 rgba(255, 255, 255, 0.2)
|
||||||
|
|
||||||
.container
|
a
|
||||||
width 100%
|
color linkColor
|
||||||
height 100%
|
text-decoration none
|
||||||
box-sizing border-box
|
&:hover
|
||||||
|
text-decoration underline
|
||||||
|
|
||||||
@keyframes blur
|
section
|
||||||
0%
|
max-width 800px
|
||||||
filter blur(0px)
|
margin auto
|
||||||
100%
|
padding 2em 0
|
||||||
filter blur(3px)
|
|
||||||
|
|
||||||
.jumbo-container
|
|
||||||
width 100%
|
|
||||||
height 100%
|
|
||||||
position relative
|
|
||||||
overflow hidden
|
|
||||||
|
|
||||||
.jumbo
|
.jumbo
|
||||||
position absolute
|
width 100%
|
||||||
top -10px
|
height 90%
|
||||||
bottom -10px
|
|
||||||
left -10px
|
|
||||||
right -10px
|
|
||||||
background url('../images/jumbo.jpg')
|
background url('../images/jumbo.jpg')
|
||||||
background-size cover
|
background-size cover
|
||||||
animation blur 10s
|
display table
|
||||||
filter blur(3px)
|
|
||||||
|
|
||||||
.input
|
div
|
||||||
width 100%
|
display table-cell
|
||||||
height 45px
|
vertical-align middle
|
||||||
padding 1em
|
text-align center
|
||||||
box-sizing border-box
|
padding 0 1em
|
||||||
font-size inherit
|
h1
|
||||||
border 2px solid rgba(0, 0, 0, 0.3)
|
max-width 800px
|
||||||
border-radius 5px
|
margin auto
|
||||||
background transparent
|
|
||||||
color rgba(0, 0, 0, 0.5)
|
|
||||||
outline 0
|
|
||||||
&:focus
|
|
||||||
border 2px solid rgba(0, 0, 0, 0.4)
|
|
||||||
color rgba(0, 0, 0, 0.6)
|
|
||||||
|
|
||||||
.input::-webkit-input-placeholder
|
|
||||||
color rgba(0, 0, 0, 0.3)
|
|
||||||
|
|
||||||
.input:-moz-placeholder
|
|
||||||
color rgba(0, 0, 0, 0.3)
|
|
||||||
opacity 1
|
|
||||||
|
|
||||||
.input::-moz-placeholder
|
|
||||||
color rgba(0, 0, 0, 0.3)
|
|
||||||
opacity 1
|
|
||||||
|
|
||||||
.input:-ms-input-placeholder
|
|
||||||
color rgba(0, 0, 0, 0.3)
|
|
||||||
|
|
||||||
.input.has-error
|
|
||||||
border-color rgba(226, 33, 112, 0.6)
|
|
||||||
color rgb(226, 33, 112)
|
|
||||||
|
|
||||||
.btn
|
|
||||||
border-radius 3px
|
|
||||||
border 0
|
|
||||||
padding 1em
|
|
||||||
font-size 14px
|
|
||||||
outline 0
|
|
||||||
cursor pointer
|
|
||||||
&:disabled
|
|
||||||
opacity 0.6
|
|
||||||
|
|
||||||
#invite-form
|
|
||||||
max-width 500px
|
|
||||||
margin auto
|
|
||||||
|
|
||||||
.invite-form
|
.invite-form
|
||||||
position relative
|
position relative
|
||||||
@@ -134,33 +88,18 @@ h1, h2, h3
|
|||||||
background rgb(226, 33, 112)
|
background rgb(226, 33, 112)
|
||||||
|
|
||||||
.form-container
|
.form-container
|
||||||
width 100%
|
margin auto
|
||||||
padding 0 2em
|
padding 0 2em
|
||||||
box-sizing border-box
|
box-sizing border-box
|
||||||
max-width 700px
|
|
||||||
position absolute
|
|
||||||
top 50%
|
|
||||||
left 50%
|
|
||||||
transform translateY(-50%) translateX(-50%)
|
|
||||||
p
|
p
|
||||||
text-align center
|
text-align center
|
||||||
margin-bottom 2em
|
|
||||||
line-height 1.7em
|
line-height 1.7em
|
||||||
a
|
|
||||||
color linkColor
|
|
||||||
text-decoration none
|
|
||||||
&:hover
|
|
||||||
text-decoration underline
|
|
||||||
|
|
||||||
.footer
|
footer
|
||||||
font-size 1em
|
font-size 1.5em
|
||||||
padding 0.5em
|
padding 0.5em
|
||||||
position absolute
|
|
||||||
bottom 0
|
|
||||||
i
|
i
|
||||||
margin 0 5px
|
margin 0 0.30em
|
||||||
font-size 1.5em
|
font-size 1.5em
|
||||||
color textColor
|
color textColor
|
||||||
&:hover
|
|
||||||
color #fff
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user