forked from danyakarras/Simple-Webpage
-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
133 lines (114 loc) · 2.16 KB
/
style.css
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
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
body {
position: relative;
font: 28px "Trebuchet MS", Helvetica, sans-serif;
margin: 0;
color: #555;
}
.top-border {
background-color: #D0ECE7;
height: 0.5rem;
}
.header {
padding-bottom: 2rem;
background: linear-gradient(#D0ECE788 2%, white 90%);
}
.header h2, .header p {
text-align: center;
width: 50%;
margin-left: auto;
margin-right: auto;
margin-bottom: 1rem;
margin-top: 0rem;
font-variant: small-caps;
}
.header p {
margin-bottom: 0.2rem;
}
h2 {
margin-top: 0;
padding-top: 2rem;
margin-bottom: 2rem;
font-size: 80px;
}
ul {
list-style-type: none;
margin: 0;
padding: 0;
padding-left: 10%;
overflow: hidden;
background: #D0ECE7;
position: -webkit-sticky; /* Safari */
position: sticky;
top: 0;
box-shadow: 0 3px 6px rgba(0, 0, 0, 0.2);
}
li {
float: left;
}
li a {
display: block;
color: #555;
text-align: center;
padding: 14px 16px;
text-decoration: none;
}
li a:hover {
background-color: #e5f9ee;
}
.active {
background-color: #e5f9ee;
}
.content {
padding: 2rem;
}
.hidden {
display: none;
}
.column {
float: left;
width: 30%;
margin-left: 2%;
border: 1px solid #e3ece7;
border-radius: 2rem;
margin-bottom: 2rem;
}
.column-title {
text-align: center;
background-color: beige;
}
.column-deets {
font-size: 20px;
font-style: italic;
padding: 0 0.5rem 0 0.5rem;
}
.column-description {
font-size: 18px;
padding: 2rem 0.5rem 1rem 0.5rem;
}
.fancy {
font-size: 40px;
margin-left: auto;
margin-right: auto;
width: 12rem;
margin-top: 2rem;
margin-bottom: 2rem;
color: teal;
transition: transform .8s ease-in-out;
}
.fancy:hover {
transform:rotate(180deg);
}
.footer {
position: relative;
clear: both;
padding-top: 2.5rem;
bottom: 0;
margin-bottom: 3rem;
width: 100vw;
height: 5rem;
color: #8e8e8e;
font-size: 18px;
background-color: #D0ECE7;
box-shadow: inset 0px 3px 15px 0px #aaa;
text-align: center;
}