1- @import url (' https://fonts.googleapis.com/css2?family=Orbitron:wght@400..900&display=swap' );
1+ @import url (" https://fonts.googleapis.com/css2?family=Orbitron:wght@400..900&display=swap" );
22
33@font-face {
4- font-family : ' Digital-7 Mono' ;
5- src : url ('path/to/your/Digital-7Mono .ttf' );
4+ font-family : " Digital-7 Mono" ;
5+ src : url ("/fonts/digital-7\ \(mono\) .ttf" );
66}
77
8-
98body {
10- display : flex;
11- justify-content : center;
12- align-items : center;
13- height : 100vh ;
14- margin : 0 ;
15- background-color : # f1f1f1 ;
16- /* Light background color for neobrutalism */
17- font-family : 'Orbitron' , sans-serif;
9+ display : flex;
10+ justify-content : center;
11+ align-items : center;
12+ height : 100vh ;
13+ margin : 0 ;
14+ background-color : # f1f1f1 ;
15+ font-family : "Orbitron" , sans-serif;
1816}
1917
2018# clock {
21- font-family : 'Digital-7 Mono' , sans-serif;
22- font-size : 3em ;
23- color : # 000 ;
24- /* Black color for digits in neobrutalism */
25- background-color : # f1f1f1 ;
26- padding : 20px ;
27- border : 5px solid # 333 ;
28- /* Dark border for a bold look */
29- border-radius : 15px ;
30- box-shadow : 0 0 20px rgba (0 , 0 , 0 , 0.2 );
31- /* Lighter shadow for neobrutalism */
19+ font-family : "Digital-7 Mono" , sans-serif;
20+ font-size : 3em ;
21+ color : # 000 ;
22+ background-color : # f1f1f1 ;
23+ padding : 20px ;
24+ border : 5px solid # 333 ;
25+ border-radius : 15px ;
26+ box-shadow : 0 0 20px rgba (0 , 0 , 0 , 0.2 );
3227}
3328
34-
35-
3629# txt {
37- display : inline-block;
38- }
30+ display : inline-block;
31+ font-size : 6rem ;
32+ }
33+
34+ # day {
35+ display : inline-block;
36+ font-size : 2rem ;
37+ letter-spacing : 5px ;
38+ }
0 commit comments