Преглед на файлове

Add kotlin+proguard logo.

Make figures look a bit nicer.
master
Chris Smith преди 4 години
родител
ревизия
f564d570fd
Signed by: Chris Smith <chris@chameth.com> GPG Key ID: 3A2D4BBDC4A3C9A9

+ 1
- 1
site/content/post/2019-05-08-debugging-beyond-the-debugger.md Целия файл

7
 area: troubleshooting
7
 area: troubleshooting
8
 ---
8
 ---
9
 
9
 
10
-<figure class="image right">
10
+<figure class="right">
11
   <img src="/res/images/unsplash/tools.jpg" alt="Collection of tools">
11
   <img src="/res/images/unsplash/tools.jpg" alt="Collection of tools">
12
   <figcaption>Real-life debugging tools</figcaption>
12
   <figcaption>Real-life debugging tools</figcaption>
13
 </figure>
13
 </figure>

+ 5
- 0
site/content/post/2019-10-21-obfuscating-kotlin-proguard.md Целия файл

7
 area: Android
7
 area: Android
8
 ---
8
 ---
9
 
9
 
10
+<figure class="left">
11
+  <img src="/res/images/obfuscation/kotlin-proguard.png" alt="Kotlin and Proguard logos">
12
+  <figcaption>Kotlin + ProGuard = fun</figcaption>
13
+</figure>
14
+
10
 Obfuscating code is the process of modifying source code or build output in
15
 Obfuscating code is the process of modifying source code or build output in
11
 order to make it harder for humans to understand. It's often employed as a
16
 order to make it harder for humans to understand. It's often employed as a
12
 tactic to deter reverse engineering of commercial applications or libraries
17
 tactic to deter reverse engineering of commercial applications or libraries

+ 27
- 10
site/static/res/css/style.css Целия файл

2108
   max-width: 100%;
2108
   max-width: 100%;
2109
 }
2109
 }
2110
 
2110
 
2111
-  .image {
2112
-    border-radius: 0.35em;
2113
-    border: 0;
2114
-    display: inline-block;
2115
-    position: relative;
2116
-  }
2111
+.image {
2112
+  border-radius: 0.35em;
2113
+  border: 0;
2114
+  display: inline-block;
2115
+  position: relative;
2116
+}
2117
+
2118
+figure {
2119
+  border: 2px solid rgba(200, 200, 200, 0.7);
2120
+  border-radius: 0.35em;
2121
+  display: inline-block;
2122
+  position: relative;
2123
+  overflow: hidden;
2124
+}
2125
+
2126
+figure img {
2127
+  display: block;
2128
+}
2129
+
2130
+figure figcaption {
2131
+  display: block;
2132
+  background-color: rgba(200, 200, 200, 0.7); 
2133
+}
2117
 
2134
 
2118
     .image:before {
2135
     .image:before {
2119
       -moz-transition: opacity 0.2s ease-in-out;
2136
       -moz-transition: opacity 0.2s ease-in-out;
2174
       display: block;
2191
       display: block;
2175
     }
2192
     }
2176
 
2193
 
2177
-    .image.left {
2194
+    .image.left, figure.left {
2178
       float: left;
2195
       float: left;
2179
       margin: 0 1.5em 1em 0;
2196
       margin: 0 1.5em 1em 0;
2180
       top: 0.25em;
2197
       top: 0.25em;
2181
     }
2198
     }
2182
 
2199
 
2183
-    .image.right {
2200
+    .image.right, figure.right {
2184
       float: right;
2201
       float: right;
2185
       margin: 0 0 1em 1.5em;
2202
       margin: 0 0 1em 1.5em;
2186
       top: 0.25em;
2203
       top: 0.25em;
2187
     }
2204
     }
2188
 
2205
 
2189
-    .image.left, .image.right {
2206
+    .image.left, .image.right, figure.left, figure.right {
2190
       max-width: 40%;
2207
       max-width: 40%;
2191
     }
2208
     }
2192
 
2209
 
2193
-      .image.left img, .image.right img {
2210
+      .image.left img, .image.right img, figure.left img, figure.right img {
2194
         width: 100%;
2211
         width: 100%;
2195
       }
2212
       }
2196
 
2213
 

Двоични данни
site/static/res/images/obfuscation/kotlin-proguard.png Целия файл


Loading…
Отказ
Запис