2
2
< html lang ="en ">
3
3
< head >
4
4
< meta charset ="UTF-8 ">
5
- < meta name ="viewport " content ="width=device-width, initial-scale=1.0 ">
6
5
< meta name ="description " content ="libdebug is a Python library to debug binary executables, your own way ">
6
+ < meta name ="viewport " content ="width=device-width, initial-scale=1.0 ">
7
7
< title > libdebug</ title >
8
- < link rel =" preconnect " href ="https://fonts.googleapis.com ">
9
- < link rel =" preconnect " href ="https://fonts.gstatic .com " crossorigin >
8
+ < link href ="https://cdn.jsdelivr.net/npm/bootstrap@5.3.3/dist/css/bootstrap.min.css " rel =" stylesheet " integrity =" sha384-QWTKZyjpPEjISv5WaRU9OFeRpok6YctnYmDr5pNlyT2bRjXh0JMhjY6hW+ALEwIH " crossorigin =" anonymous ">
9
+ < link href ="https://fonts.googleapis .com/css2?family=Nunito:wght@400;600;700&display=swap " rel =" stylesheet " >
10
10
< style >
11
11
body {
12
+ background-color : # feffef ;
13
+ font-family : 'Nunito' , sans-serif;
12
14
display : flex;
13
- justify-content : center;
15
+ flex-direction : column;
16
+ justify-content : space-between;
14
17
align-items : center;
15
18
height : 100vh ;
16
19
margin : 0 ;
17
- background-color : # ffffef ;
18
- font-family : "Nunito" , Arial, sans-serif;
19
20
}
20
- .container {
21
- text-align : center;
22
- display : flex;
23
- flex-direction : column;
24
- align-items : center;
21
+ p {
22
+ font-size : 1.5em ;
25
23
}
26
- .icons-container {
24
+ .container {
25
+ text-align : center;
27
26
display : flex;
27
+ flex-direction : column;
28
28
justify-content : center;
29
29
align-items : center;
30
+ flex : 1 ;
30
31
}
31
- h1 {
32
- font-size : 3em ;
33
- margin-bottom : 10px ;
32
+ .logo-container {
33
+ margin-top : 7em ;
34
+ display : flex;
35
+ flex-direction : column;
36
+ align-items : center;
37
+ justify-content : center;
34
38
}
35
- p {
36
- font-size : 1.2em ;
37
- color : # 333 ;
38
- padding-right : 1.5em ;
39
- padding-left : 1.5em ;
39
+ .logo {
40
+ max-width : 15em ;
41
+ height : auto;
40
42
}
41
- .icon {
42
- width : 2.5 em ;
43
- height : 2 .5em ;
44
- margin-right : 10 px ;
43
+ .logo-text {
44
+ font-weight : bold ;
45
+ font-size : 5 .5em ;
46
+ color : # 032f30 ;
45
47
}
46
- .logo {
47
- max-width : 600 px ;
48
- display : none;
48
+ .bottom-container {
49
+ text-align : center ;
50
+ margin-bottom : 7 em ; /* Adjust margin as needed */
49
51
}
50
- .logo-vertical {
51
- max-height : 300px ;
52
- display : none;
52
+ .btn-container {
53
+ margin-bottom : 1em ;
53
54
}
54
- @media (orientation : landscape) {
55
- .logo { display : block; }
55
+ .btn img {
56
+ width : 50px ;
57
+ height : 50px ;
56
58
}
57
- @media (orientation : portrait) {
58
- .logo-vertical { display : block; }
59
+ @media (min-aspect-ratio : 4 / 3 ) {
60
+ .logo-container {
61
+ flex-direction : row;
62
+ }
63
+ .logo-text {
64
+ margin-top : 0 ;
65
+ margin-left : 0.3em ; /* Reduced margin */
66
+ }
59
67
}
60
- </ style >
61
- < script >
62
- document . addEventListener ( "DOMContentLoaded" , function ( ) {
63
- let horizImage = document . getElementById ( "logo-horiz" ) ;
64
- let vertImage = document . getElementById ( "logo-vert" ) ;
65
-
66
- if ( window . matchMedia ( "(orientation: portrait)" ) . matches ) {
67
- horizImage . setAttribute ( "loading" , "lazy" ) ;
68
- } else {
69
- vertImage . setAttribute ( "loading" , "lazy" ) ;
68
+ @media (max-aspect-ratio : 4 / 3 ) {
69
+ .logo-container {
70
+ flex-direction : column;
70
71
}
71
-
72
- var link = document . createElement ( 'link' ) ;
73
- link . href = 'https://fonts.googleapis.com/css2?family=Nunito:ital,wght@0,200..1000;1,200..1000&display=swap' ;
74
- link . rel = 'stylesheet' ;
75
- link . type = 'text/css' ;
76
- document . head . appendChild ( link ) ;
77
-
78
- link . onload = function ( ) {
79
- document . body . style . fontFamily = '"Nunito", Arial, sans-serif' ;
80
- } ;
81
- } ) ;
82
- </ script >
72
+ .logo-text {
73
+ margin-left : 0 ;
74
+ }
75
+ .top-container {
76
+ margin-top : 3em ; /* Adjust margin as needed */
77
+ }
78
+ .bottom-container {
79
+ margin-bottom : 3em ; /* Adjust margin as needed */
80
+ }
81
+ }
82
+ </ style >
83
83
</ head >
84
84
< body >
85
+
85
86
< div class ="container ">
86
- < a href ="https://github.com/libdebug/libdebug ">
87
- < picture >
88
- < source srcset ="./images/libdebug_logo_vert.webp " media ="(orientation: portrait) ">
89
- < source srcset ="./images/libdebug_logo_horiz.webp " media ="(orientation: landscape) ">
90
- < img id ="logo-horiz " src ="./images/libdebug_logo_horiz.webp " alt ="libdebug Logo " class ="logo ">
91
- < img id ="logo-vert " src ="./images/libdebug_logo_vert.webp " alt ="libdebug Logo Vertical " class ="logo-vertical ">
92
- </ picture >
93
- </ a >
87
+ < div class ="logo-container ">
88
+ < img src ="images/libdebug_logo.webp " alt ="libdebug logo " class ="logo ">
89
+ < div class ="logo-text "> libdebug</ div >
90
+ </ div >
91
+ </ div >
92
+
93
+ < div class ="bottom-container ">
94
+ < div class ="btn-container ">
95
+ < a href ="https://github.com/libdebug/libdebug " class ="btn ">
96
+ < img src ="images/github-mark.webp " alt ="GitHub Repository ">
97
+ </ a >
98
+ < a href ="https://docs.libdebug.org " class ="btn ">
99
+ < img src ="images/docs-logo-dark.webp " alt ="libdebug Documentation ">
100
+ </ a >
101
+ < a href ="https://pypi.org/project/libdebug/ " class ="btn ">
102
+ < img src ="images/pypi.webp " alt ="PyPI Website ">
103
+ </ a >
104
+ </ div >
105
+
94
106
< p >
95
107
A Python library to debug binary executables, your own way.
96
108
</ p >
97
- <!-- icons -->
98
- < div class ="icons-container ">
99
- < a href ="https://github.com/libdebug/libdebug " target ="_blank "> < img src ="./images/github-mark/github-mark.png " alt ="GitHub " class ="icon "> </ a >
100
- < a href ="https://docs.libdebug.org/ " target ="_blank "> < img src ="./images/logo-dark.png " alt ="Docs " class ="icon "> </ a >
101
- < a href ="https://pypi.org/project/libdebug/ " target ="_blank "> < img src ="./images/pypi.png " alt ="PyPI " class ="icon "> </ a >
102
- </ div >
103
109
</ div >
110
+
111
+ <!-- Bootstrap JS -->
112
+ < script src ="https://stackpath.bootstrapcdn.com/bootstrap/5.3.0/js/bootstrap.bundle.min.js "> </ script >
104
113
</ body >
105
- </ html >
114
+ </ html >
0 commit comments