-
Notifications
You must be signed in to change notification settings - Fork 0
/
calendar.css
122 lines (118 loc) · 2 KB
/
calendar.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
*{
padding: 0;
}
body{
background-color: #FFFBC2;
padding-top: 7%;
display: flex;
justify-content:center;
align-items: center;
}
div#calendar{
display: flex;
flex-direction:column;
justify-content:center;
align-items: center;
}
div#month{
display: flex;
justify-content:space-around;
align-items: center;
height: 3%;
width: 100%;
background: linear-gradient(90deg, yellow, green 40%, yellow);
}
div#calendar table tr:nth-child{
background-color: #f2f2f2;
}
div#calendar table thead{
margin-bottom: 5px;
}
div#calendar table,th{
border: 0.1px solid lightgrey;
padding: 20px;
}
div#calendar table td{
padding:8px;
text-align: right;
padding-right: 15px;
}
td:hover{
background-color: #B1E8E7;
}
tr:hover{
background-color: #f5f5f5;
}
td:target{
background-color: green;
}
div#month button{
font-size: 20px;
padding: 5px;
background: transparent;
border-radius: 50%;
width: 40px;
height: 40px;
transition:0.1s;
}
div#month button:hover{
transform: scale(1.2, 1.2) rotate(1turn);
}
div#today{
display: flex;
flex-direction: row;
width: 100%;
align-items:center;
justify-content:space-around;
border: 0.1px solid lightgrey;
/*border: 2px solid black;*/
}
/*div#today button{
font-size: 15px;
height: 30px;
width: 70px;
background-color: #E87F3C;
}
div#today button:hover{
background-color: #F16A15;
content: '»';
}*/
div#today button#yo {
border-radius: 4px;
background-color: #f4511e;
border: none;
color: #FFFFFF;
text-align: center;
font-size: 15px;
padding: 7px;
width: 90px;
transition: all 0.5s;
cursor: pointer;
/*margin: 5px;*/
}
div#today button#yo span {
cursor: pointer;
display: inline-block;
position: relative;
transition: 0.5s;
}
div#today button#yo span:after {
content: '\00bb';
position: absolute;
opacity: 0;
top: 0;
right: -20px;
transition: 0.5s;
}
div#today button#yo:hover span {
padding-right: 25px;
}
div#today button#yo:hover span:after {
opacity: 1;
right: 0;
}
@media (max-width: 720px) {
body{
padding-top: 12%;
}
}