Last active
October 29, 2016 03:29
-
-
Save Pan-Maciek/7ff49a2798f6da569bf3740df34b5c7c to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<html> | |
<head> | |
<link rel="stylesheet" href="style.css"> | |
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
<link rel="stylesheet" href="css/font-awesome.min.css"> | |
</head> | |
<body> | |
<div id="topBar"> | |
<div><i class="fa-map-o"></i></div> | |
<div><i class="fa-user"></i></div> | |
<div class="selected"><i class="fa-search"></i></div> | |
</div> | |
<div id="szukajka"> | |
<div> | |
<input placeholder="wyszukaj interesujące cie wydarzenia"> | |
<span><i class="fa-angle-down"></i></span> | |
</div> | |
</div> | |
</body> | |
</html> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
body { | |
background-image: url(Bez%C2%A0tytu%C5%82u.png); | |
margin: 0; | |
font-family: lato | |
} | |
i { | |
font-family: FontAwesome; | |
font-style: normal | |
} | |
#topBar { | |
display: flex; | |
background-color: #f1f1f1; | |
border-bottom: solid 1px #ccc | |
} | |
#topBar div{ | |
width: 34%; | |
text-align: center; | |
height: 60px; | |
line-height: 60px; | |
color: #616161; | |
font-size: 1.3rem | |
} | |
#topBar div.selected{ | |
color: #ffffff; | |
background-color: #bfddd9 | |
} | |
#evens { | |
padding: 0; | |
list-style: none; | |
margin: 5px | |
} | |
#evens>li{ | |
border: solid 1px #ccc; | |
margin-bottom: 5px; | |
box-sizing: border-box; | |
padding: 10px | |
} | |
#evens>li h4{ | |
margin: 5px; | |
font-size: 1.4em; | |
} | |
#evens>li .info{ | |
margin-left: 20px; | |
color: #5d5d5d; | |
} | |
#evens>li .info span{ | |
margin-right: 10px; | |
} | |
#evens>li p{ | |
margin-left: 20px; | |
color: #555555 | |
} | |
#szukajka { | |
height: 60px; | |
background-color: hsl(172, 24%, 75%); | |
position: fixed; | |
width: 100%; | |
top: 60px | |
} | |
#szukajka>div{ | |
position: absolute; | |
width: Calc(100% - 20px); | |
left: 10px; | |
height: Calc(100% - 10px); | |
top: 5px; | |
border-radius: 5px; | |
background-color: #f1f1f1; | |
overflow: hidden; | |
border: solid 1px #ccc; | |
box-sizing: border-box | |
} | |
#szukajka>div>input{ | |
width: Calc(100% - 50px); | |
position: absolute; | |
left: 0; | |
top: 0; | |
height: 50px; | |
box-sizing: border-box; | |
border: none; | |
padding: 20px; | |
font-size: inherit | |
} | |
#szukajka>div>span{ | |
position: absolute; | |
right: 0; | |
width: 50px; | |
height: 100%; | |
vertical-align: middle; | |
text-align: center; | |
font-size: 1.5rem; | |
line-height: 45px | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment