Просмотр исходного кода

Add kotlin+proguard logo.

Make figures look a bit nicer.
master
Chris Smith 4 лет назад
Родитель
Сommit
f564d570fd
Подписано: Chris Smith <chris@chameth.com> Идентификатор GPG ключа: 3A2D4BBDC4A3C9A9

+ 1
- 1
site/content/post/2019-05-08-debugging-beyond-the-debugger.md Просмотреть файл

@@ -7,7 +7,7 @@ description: What happens when your usual approach fails you?
7 7
 area: troubleshooting
8 8
 ---
9 9
 
10
-<figure class="image right">
10
+<figure class="right">
11 11
   <img src="/res/images/unsplash/tools.jpg" alt="Collection of tools">
12 12
   <figcaption>Real-life debugging tools</figcaption>
13 13
 </figure>

+ 5
- 0
site/content/post/2019-10-21-obfuscating-kotlin-proguard.md Просмотреть файл

@@ -7,6 +7,11 @@ description: In which Kotlin tries to be helpful, and we smite it
7 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 15
 Obfuscating code is the process of modifying source code or build output in
11 16
 order to make it harder for humans to understand. It's often employed as a
12 17
 tactic to deter reverse engineering of commercial applications or libraries

+ 27
- 10
site/static/res/css/style.css Просмотреть файл

@@ -2108,12 +2108,29 @@ article img {
2108 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 2135
     .image:before {
2119 2136
       -moz-transition: opacity 0.2s ease-in-out;
@@ -2174,23 +2191,23 @@ article img {
2174 2191
       display: block;
2175 2192
     }
2176 2193
 
2177
-    .image.left {
2194
+    .image.left, figure.left {
2178 2195
       float: left;
2179 2196
       margin: 0 1.5em 1em 0;
2180 2197
       top: 0.25em;
2181 2198
     }
2182 2199
 
2183
-    .image.right {
2200
+    .image.right, figure.right {
2184 2201
       float: right;
2185 2202
       margin: 0 0 1em 1.5em;
2186 2203
       top: 0.25em;
2187 2204
     }
2188 2205
 
2189
-    .image.left, .image.right {
2206
+    .image.left, .image.right, figure.left, figure.right {
2190 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 2211
         width: 100%;
2195 2212
       }
2196 2213
 

Двоичные данные
site/static/res/images/obfuscation/kotlin-proguard.png Просмотреть файл


Загрузка…
Отмена
Сохранить