Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
zekena
/
Unit-calculator
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Members
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
3ab4db56
authored
May 14, 2019
by
zekena
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
speed
parent
818c87e6
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
38 additions
and
15 deletions
css/style.css
home.html
icons/time.png → icons/speed.png
css/style.css
View file @
3ab4db56
...
...
@@ -61,8 +61,9 @@ body{
#banner
p
{
color
:
rgba
(
255
,
255
,
255
,
0.4
);
font-size
:
24px
;
font-size
:
1.5em
;
font-weight
:
300
;
font-family
:
'Roboto slab'
,
serif
;
}
@media
screen
and
(
max-width
:
980px
)
{
...
...
@@ -84,20 +85,22 @@ body{
#banner
a
{
color
:
rgba
(
58
,
28
,
28
,
0.75
);
text-decoration
:
none
;
font-size
:
30px
;
border-bottom
:
1px
dotted
;
font-family
:
'Roboto slab'
,
serif
;
font-size
:
30px
;
font-family
:
'passion one'
,
cursive
;
}
#banner
a
:hover
{
color
:
#FFF
;
border
:
none
;
border
:
none
;
}
#banner
.log
p
{
display
:
none
;}
#banner
.log
:hover
p
{
display
:
block
;}
#banner
.log
:hover
{
display
:
block
;}
#banner
.log
p
{
display
:
none
;}
#banner
.log
:hover
p
{
display
:
block
;}
#banner
.log
:hover
{
display
:
block
;}
.navbar
{
background-color
:
#
3b5998
;
background-color
:
#
1085c4
;
overflow
:
hidden
;
height
:
63px
;
}
...
...
@@ -135,6 +138,7 @@ body{
.side-nav
a
{
padding
:
10px
10px
10px
30px
;
text-decoration
:
none
;
font-family
:
'Roboto slab'
,
serif
;
font-size
:
22px
;
color
:
#ccc
;
display
:
block
;
...
...
@@ -184,6 +188,7 @@ body{
width
:
90%
;
max-width
:
80em
;
margin
:
0
auto
;
align-items
:
flex-end
;
}
@media
screen
and
(
max-width
:
480px
)
{
...
...
@@ -193,6 +198,16 @@ body{
}
}
#main
.items
{
align-items
:
baseline
;
}
#items
{
display
:
grid
;
grid-template-columns
:
repeat
(
3
,
1
fr
);
grid-gap
:
10px
;
grid-auto-rows
:
minmax
(
150px
,
auto
);
max-width
:
960px
;
}
.button
{
-moz-appearance
:
none
;
...
...
home.html
View file @
3ab4db56
...
...
@@ -94,32 +94,32 @@ Simple, Fancy and Currency conversion
</section>
<div
id=
"main"
>
<div
class=
"inner"
>
<div
class =
"categories
"
>
<div
id=
"items"
class =
"box
"
>
<div
class=
"box"
>
<a
href=
""
class=
"image fit"
><img
src=
"icons/length.png"
width=
"400"
height=
"355"
alt=
"Length"
/></a>
<div
class=
"inner"
>
<h2>
Length
</h2>
<a
href=
"categories/length.php"
class=
"button
fit"
style=
"cursor: pointer;outline: 0px;background-color: #271010;color: black;"
>
Select
</a>
<a
href=
"categories/length.php"
class=
"button
style3 fit"
>
Select
</a>
</div>
</div>
<div
class=
"box
2
"
>
<div
class=
"box"
>
<a
href=
""
class=
"image fit"
><img
src=
"icons/area.png"
width=
"400"
height=
"355"
alt=
"Area"
/></a>
<div
class=
"inner"
>
<h2>
Area
</h2>
<a
href=
"categories/area.php"
class=
"button style
2
fit"
>
Select
</a>
<a
href=
"categories/area.php"
class=
"button style
3
fit"
>
Select
</a>
</div>
</div>
<div
class=
"box
3
"
>
<div
class=
"box"
>
<a
href=
""
class=
"image fit"
><img
src=
"icons/temperature.png"
width=
"400"
height=
"355"
alt=
"Temperature"
/></a>
<div
class=
"inner"
>
<h2>
Temperature
</h2>
<a
href=
"categories/temperature.php"
class=
"button style3 fit"
>
Select
</a>
</div>
</div>
<div
class=
"box
4
"
>
<div
class=
"box"
>
<a
href=
""
class=
"image fit"
><img
src=
"icons/volume.png"
width=
"400"
height=
"355"
alt=
"Volume"
/></a>
<div
class=
"inner"
>
<h2>
Volume
</h2>
...
...
@@ -127,13 +127,21 @@ Simple, Fancy and Currency conversion
</div>
</div>
<div
class=
"box
5
"
>
<div
class=
"box"
>
<a
href=
""
class=
"image fit"
><img
src=
"icons/weight.png"
width=
"400"
height=
"355"
alt=
"Weight"
/></a>
<div
class=
"inner"
>
<h2>
Weight
</h2>
<a
href=
"categories/weight.php"
class=
"button style3 fit"
>
Select
</a>
</div>
</div>
<div
class=
"box"
>
<a
href=
""
class=
"image fit"
><img
src=
"icons/speed.png"
width=
"400"
height=
"355"
alt=
"speed"
/></a>
<div
class=
"inner"
>
<h2>
Speed
</h2>
<a
href=
"categories/speed.php"
class=
"button style3 fit"
>
Select
</a>
</div>
</div>
</div>
</div>
...
...
icons/
time
.png
→
icons/
speed
.png
View file @
3ab4db56
File moved
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment