-
Notifications
You must be signed in to change notification settings - Fork 0
/
knowmore.css
160 lines (135 loc) · 2.44 KB
/
knowmore.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
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
*{
margin:0;
padding:0;
}
html {
background: url("knowback8.jpg") no-repeat center fixed;
background-size: cover;
background-attachment: fixed;
}
ul {
list-style-type: none;
margin: 0;
padding: 0;
overflow: hidden;
background-color: rgb(8, 45, 61);
position: -webkit-sticky;
position: sticky;
top: 0;
}
li {
float: left;
}
li a {
display: block;
color:whitesmoke;
text-align: center;
padding: 10px 20px;
text-decoration: none;
font-family: Georgia , serif;
font-weight: bold;
font-style: italic;
}
li a:hover {
background-color:rgb(37, 113, 146);
}
.obj1 .rectangle{
float:right;
height:20vh;
width:70vw;
border-color: blanchedalmond;
background-color:whitesmoke;
z-index: 2;
}
.obj1 .triangle{
float:right;
width:0;
height:0;
border-top:10vh solid transparent;
border-right:3vw solid rgb(8, 45, 61);
border-bottom:10vh solid transparent;
z-index: 2;
}
.obj2 .rectangle{
float:left;
height:20vh;
width:70vw;
border-color: blanchedalmond;
background-color: whitesmoke;
z-index: 2;
}
.obj2 .triangle{
float:left;
width:0;
height:0;
border-top:10vh solid transparent;
border-left:3vw solid rgb(8, 45, 61);
border-bottom:10vh solid transparent;
z-index: 2;
}
.obj3 .rectangle{
float:left;
height:10vh;
width:100vw;
background-color: transparent;
z-index: 1;
}
footer{
float: left;
background-color: rgb(8, 45, 61);
height:10vh;
color:white;
text-align: center;
width:100vw;
}
footer p{
padding: 3vh 0;
}
.matter{
padding:3vh 1vh;
/* font: italic small-caps bold 16px/2 cursive; */
font-family: Georgia , serif;
font-weight: bold;
font-style: italic;
font-size: 80%;
overflow: hidden;
color:rgb(8, 45, 61);
text-align: center;
}
span{
animation-name: example;
animation-duration:1s;
animation-iteration-count: infinite;
}
@media screen and (max-width: 600px){
.obj1 .triangle{
border-right:12vw solid rgb(8, 45, 61);
}
.obj2 .triangle{
border-left:12vw solid rgb(8, 45, 61);
}
li a{
width:100vw;
padding:5px 0;
border: 0.1px solid whitesmoke;
}
.matter{
padding:4vh 0;
word-spacing: 3px;
font-size: 13px;
line-height:30px;
}
}
@keyframes example {
0%{ color:rgb(8, 45, 61) ;}
55%{color:red
}
100%{color: rgb(8, 45, 61);}
}
@media screen and (min-width:900px)
{
.matter{
font-size: 150%;
padding:4vh 1vh;
}
}