-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmain.scss
117 lines (95 loc) · 2.12 KB
/
main.scss
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
$main-color: #5F7473;
$second-color: #49002E;
$third-color: #7D9C01;
$main-font: 'Droid Serif', serif;
body
{padding: 2em 25%;
background-color: #fcf9eb;
position: relative;
left: 0;
position: relative;
text-align: center;
color: $main-color;
input:focus;
outline: none;}
header
{position: relative;
text-align: center;
color: $second-color;
margin-bottom: 60px;}
.title
{font-size: 50px;}
input
{background-color: #fcf9eb;
border: none;
border-bottom: solid 1px $main-color;
padding-bottom: 5px;
margin-bottom: 20px;
transition: border 0.3s;
text-align: center;
font-size: 15px;}
.pointer
{cursor: pointer;}
#icon
{font-size: 100px;
margin-top: 20px;
margin-bottom: 30px;}
.article-font
{ font-size: 21px;
font-family: $main-font;}
#unit
{color: $third-color;}
#alt
{color: $main-color;}
/* Tooltip container */
.tooltip {
position: relative;
display: inline-block;
border-bottom: 1px dotted black; /* If you want dots under the hoverable text */
}
/* Tooltip text */
.tooltip .tooltiptext {
visibility: hidden;
width: 220px;
background-color: black;
color: #fff;
text-align: center;
padding: 5px 0;
border-radius: 6px;
/* Position the tooltip text - see examples below! */
position: absolute;
z-index: 1;
}
/* Show the tooltip text when you mouse over the tooltip container */
.tooltip:hover .tooltiptext {
visibility: visible;
}
.tooltip .tooltiptext::after {
content: " ";
position: absolute;
bottom: 100%; /* At the top of the tooltip */
left: 50%;
margin-left: -5px;
border-width: 5px;
border-style: solid;
border-color: transparent transparent black transparent;
}
footer
{position: relative;
margin-top: 50px;
margin-right: 5%;
text-align: right;}
.footer-font
{color: $third-color;
font-family: $main-font;}
.footer-font:hover
{color: #5b6729;
text-decoration: none;}
@media screen and (max-width: 900px)
{body
{padding: 5em 0em;}
header .title
{ font-size: 35px;}
footer
{margin-right: 20%;}
}