-
Notifications
You must be signed in to change notification settings - Fork 0
/
styles.css
127 lines (112 loc) · 2.19 KB
/
styles.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
/* Style the body */
html {
font-family: 'Space Mono', monospace;
background-color: black;
/*background: url('https://agalmicautomata.com/images/rainue.png'), url('https://agalmicautomata.com/images/background.jpg');*/
width: 100%;
height: 100%;
min-height: 100%;
padding: 10%;
margin: -5px;
/*background-repeat: repeat-y, repeat-y;
animation: rain-animate 0.2s linear infinite;*/
}
/* Style the header */
header {
background-color: #0f0f0f;
padding: 10px;
text-align: center;
font-size: 35px;
color: white;
font-family: 'Space Mono', monospace;
}
h1,h2,h3,h4,h5,h6 {
color: silver;
padding: 10px;
text-align: center;
font-size: 35px;
font-family: 'Space Mono', monospace;
}
p {
color: darkgray;
}
/* Container for flexboxes */
section {
display: -webkit-flex;
display: flex;
}
/* Style the navigation menu nav_ */
nav {
-webkit-flex: 1;
-ms-flex: 1;
flex: 1;
background: #ccc;
padding: 20px;
}
/* Style the list inside the menu */
nav ul {
list-style-type: none;
padding: 0;
padding-left: 5px;
}
nav ul a {
font-variant: all-small-caps;
font-variant-numeric:oldstyle-nums;
padding-left: 10px;
}
/* Style the content */
article {
-webkit-flex: 3;
-ms-flex: 3;
flex: 3;
background-color: #f1f1f1;
padding: 10px;
}
/* Style the footer */
footer {
background-color: #777;
padding: 10px;
font-size: 8px;
text-align: center;
color: white;
}
/* Setting up link style */
a:link {
color: black;
background-color: transparent;
text-decoration: none;
}
a:visited {
color: black;
background-color: transparent;
text-decoration: none;
}
a:hover {
color: red;
background-color: transparent;
text-decoration: underline;
}
a:active {
color: pink;
background-color: transparent;
text-decoration: underline;
}
* {
box-sizing: border-box;
}
/* Responsive layout - makes the menu and the content (inside the section) sit on top of each other instead of next to each other */
@media (max-width: 600px) {
section {
-webkit-flex-direction: column;
flex-direction: column;
}
}
/* Kanawashi Rain
@keyframes rain-animate{
0%{
background-position: 20% 100%, 0% 0%;
}
100%{
background-position: 0% 0%;
}
} */