-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.css
129 lines (100 loc) · 2.31 KB
/
index.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
body {
font-family:"Times New Roman";
font-size:150%;
background-color:rgb(238,230,255);
color:rgb(51,0,51);
}
header {
font-size: 26px;
background-color:rgb(201,255,229);
color:rgb(0,0,26);
margin-bottom:4px;
}
.Menu
{
border-left:1px solid blue;
border-right: 1px solid black;
text-align:center;
position: sticky;
top:0;
}
.Menu li
{
list-style-type: none;
margin-right: 40px;
display: inline-block;
padding-top: 4px;
padding-bottom:4px;
padding-left: 7px;
padding-right: 7px;
/* border-right: 1px solid black;
*/
animation: blink 0.22s infinite;
}
.Menu li:hover
{
text-decoration: underline;
}
a:active, a:link {
background-color:rgb(201,255,229);
color:black;
}
a:hover {
cursor: pointer;
background-color:rgb(201,255,229);
color:darkred;
}
/*fix later: color of href not changing; lol just needed a:::link*/
a:visited {
}
button.Menu {
background-color: red;
margin:left 3px;
margin: right 44px;
display:inline-block;
border: 2px solid black;
}
button.Menu:hover {
background-color: black;
color: red;
cursor: pointer;
animation: blink 1s infinite;
}
.BreifIntro {
text-align:center;
font-size:200%;
}
@keyframes blink {
from
{
color:rgb(0,0,26);}
to
{color:rgb(201,255,229);}
}
/* old, relize that noone sets images as bgs-
* go with colors and bgs for divs and spans
* background-image:url("https://wallpapercave.com/wp/wp5185840.jpg");
background-repeat:no-repeat;
just hold on we're going home!!
ul.Lover {
list-style-type: none;
}
https://www.w3schools.com/css/css3_animations.asp
https://www.freecodecamp.org/news/make-it-blink-html-tutorial-how-to-use-the-blink-tag-with-code-examples/
.Menu li:hover {
color:red;
background-color:lightblue;
}
syntax
.class elemnt;
.class parentelement > childofp > clildofclid {}
initail padding for li is 40px
background-position: center;
https://www.w3.org/Style/Examples/007/fonts.en.html
background-attachment: scroll;
https://stackoverflow.com/questions/3087975/how-to-change-the-cursor-into-a-hand-when-a-user-hovers-over-a-list-item
https://www.geeksforgeeks.org/how-to-apply-style-to-parent-if-it-has-child-with-css/
https://developer.mozilla.org/en-US/docs/Web/CSS/border-style
https://stackoverflow.com/questions/7240130/set-the-same-value-to-multiple-properties-css
get saas || less for same value for multiple proberties;
*/