Permalink
Browse files

move image placement styling to css

  • Loading branch information...
1 parent 96e55fd commit a8bd1b25dafde4c29cfe92cf513903b0aed43059 @mmcgrana committed Oct 6, 2013
Showing with 76 additions and 66 deletions.
  1. +1 −1 public/arrays
  2. +1 −1 public/atomic-counters
  3. +1 −1 public/base64-encoding
  4. +1 −1 public/channel-buffering
  5. +1 −1 public/channel-directions
  6. +1 −1 public/channel-synchronization
  7. +1 −1 public/channels
  8. +1 −1 public/closing-channels
  9. +1 −1 public/closures
  10. +1 −1 public/collection-functions
  11. +1 −1 public/command-line-arguments
  12. +1 −1 public/command-line-flags
  13. +1 −1 public/constants
  14. +1 −1 public/defer
  15. +1 −1 public/environment-variables
  16. +1 −1 public/epoch
  17. +1 −1 public/errors
  18. +1 −1 public/execing-processes
  19. +1 −1 public/exit
  20. +1 −1 public/for
  21. +1 −1 public/functions
  22. +1 −1 public/goroutines
  23. +1 −1 public/hello-world
  24. +1 −1 public/if-else
  25. +1 −1 public/interfaces
  26. +1 −1 public/json
  27. +1 −1 public/line-filters
  28. +1 −1 public/maps
  29. +1 −1 public/methods
  30. +1 −1 public/multiple-return-values
  31. +1 −1 public/mutexes
  32. +1 −1 public/non-blocking-channel-operations
  33. +1 −1 public/number-parsing
  34. +1 −1 public/panic
  35. +1 −1 public/pointers
  36. +1 −1 public/random-numbers
  37. +1 −1 public/range
  38. +1 −1 public/range-over-channels
  39. +1 −1 public/rate-limiting
  40. +1 −1 public/reading-files
  41. +1 −1 public/recursion
  42. +1 −1 public/regular-expressions
  43. +1 −1 public/select
  44. +1 −1 public/sha1-hashes
  45. +1 −1 public/signals
  46. +5 −0 public/site.css
  47. +1 −1 public/slices
  48. +1 −1 public/sorting
  49. +1 −1 public/sorting-by-functions
  50. +1 −1 public/spawning-processes
  51. +1 −1 public/stateful-goroutines
  52. +1 −1 public/string-formatting
  53. +1 −1 public/string-functions
  54. +1 −1 public/structs
  55. +1 −1 public/switch
  56. +1 −1 public/tickers
  57. +1 −1 public/time
  58. +1 −1 public/time-formatting-parsing
  59. +1 −1 public/timeouts
  60. +1 −1 public/timers
  61. +1 −1 public/url-parsing
  62. +1 −1 public/values
  63. +1 −1 public/variables
  64. +1 −1 public/variadic-functions
  65. +1 −1 public/worker-pools
  66. +1 −1 public/writing-files
  67. +1 −1 templates/example.tmpl
  68. +5 −0 templates/site.css
View
2 public/arrays
@@ -20,7 +20,7 @@
<body>
<div class="example" id="arrays">
<h2><a href="./">Go by Example</a>: Arrays</h2>
- <a href="http://play.golang.org/p/l-A8eBnwio"><img height="16" width="16" title="Run code" src="play.png" style="float:right" /></a>
+ <a href="http://play.golang.org/p/l-A8eBnwio"><img title="Run code" src="play.png" class="run" /></a>
<table>
View
2 public/atomic-counters
@@ -20,7 +20,7 @@
<body>
<div class="example" id="atomic-counters">
<h2><a href="./">Go by Example</a>: Atomic Counters</h2>
- <a href="http://play.golang.org/p/sKIaNsJquU"><img height="16" width="16" title="Run code" src="play.png" style="float:right" /></a>
+ <a href="http://play.golang.org/p/sKIaNsJquU"><img title="Run code" src="play.png" class="run" /></a>
<table>
View
2 public/base64-encoding
@@ -20,7 +20,7 @@
<body>
<div class="example" id="base64-encoding">
<h2><a href="./">Go by Example</a>: Base64 Encoding</h2>
- <a href="http://play.golang.org/p/t6rFm2x4Yr"><img height="16" width="16" title="Run code" src="play.png" style="float:right" /></a>
+ <a href="http://play.golang.org/p/t6rFm2x4Yr"><img title="Run code" src="play.png" class="run" /></a>
<table>
View
2 public/channel-buffering
@@ -20,7 +20,7 @@
<body>
<div class="example" id="channel-buffering">
<h2><a href="./">Go by Example</a>: Channel Buffering</h2>
- <a href="http://play.golang.org/p/34PVHwO6Bn"><img height="16" width="16" title="Run code" src="play.png" style="float:right" /></a>
+ <a href="http://play.golang.org/p/34PVHwO6Bn"><img title="Run code" src="play.png" class="run" /></a>
<table>
View
2 public/channel-directions
@@ -20,7 +20,7 @@
<body>
<div class="example" id="channel-directions">
<h2><a href="./">Go by Example</a>: Channel Directions</h2>
- <a href="http://play.golang.org/p/P9Fujfpa1f"><img height="16" width="16" title="Run code" src="play.png" style="float:right" /></a>
+ <a href="http://play.golang.org/p/P9Fujfpa1f"><img title="Run code" src="play.png" class="run" /></a>
<table>
View
2 public/channel-synchronization
@@ -20,7 +20,7 @@
<body>
<div class="example" id="channel-synchronization">
<h2><a href="./">Go by Example</a>: Channel Synchronization</h2>
- <a href="http://play.golang.org/p/0DfW-1RMqi"><img height="16" width="16" title="Run code" src="play.png" style="float:right" /></a>
+ <a href="http://play.golang.org/p/0DfW-1RMqi"><img title="Run code" src="play.png" class="run" /></a>
<table>
View
2 public/channels
@@ -20,7 +20,7 @@
<body>
<div class="example" id="channels">
<h2><a href="./">Go by Example</a>: Channels</h2>
- <a href="http://play.golang.org/p/aVTMoY5FNt"><img height="16" width="16" title="Run code" src="play.png" style="float:right" /></a>
+ <a href="http://play.golang.org/p/aVTMoY5FNt"><img title="Run code" src="play.png" class="run" /></a>
<table>
View
2 public/closing-channels
@@ -20,7 +20,7 @@
<body>
<div class="example" id="closing-channels">
<h2><a href="./">Go by Example</a>: Closing Channels</h2>
- <a href="http://play.golang.org/p/eFZ2SeKswH"><img height="16" width="16" title="Run code" src="play.png" style="float:right" /></a>
+ <a href="http://play.golang.org/p/eFZ2SeKswH"><img title="Run code" src="play.png" class="run" /></a>
<table>
View
2 public/closures
@@ -20,7 +20,7 @@
<body>
<div class="example" id="closures">
<h2><a href="./">Go by Example</a>: Closures</h2>
- <a href="http://play.golang.org/p/gQtEWkhWyp"><img height="16" width="16" title="Run code" src="play.png" style="float:right" /></a>
+ <a href="http://play.golang.org/p/gQtEWkhWyp"><img title="Run code" src="play.png" class="run" /></a>
<table>
View
2 public/collection-functions
@@ -20,7 +20,7 @@
<body>
<div class="example" id="collection-functions">
<h2><a href="./">Go by Example</a>: Collection Functions</h2>
- <a href="http://play.golang.org/p/3PNdke3Wia"><img height="16" width="16" title="Run code" src="play.png" style="float:right" /></a>
+ <a href="http://play.golang.org/p/3PNdke3Wia"><img title="Run code" src="play.png" class="run" /></a>
<table>
View
2 public/command-line-arguments
@@ -20,7 +20,7 @@
<body>
<div class="example" id="command-line-arguments">
<h2><a href="./">Go by Example</a>: Command-Line Arguments</h2>
- <a href="http://play.golang.org/p/44uyYt_TRl"><img height="16" width="16" title="Run code" src="play.png" style="float:right" /></a>
+ <a href="http://play.golang.org/p/44uyYt_TRl"><img title="Run code" src="play.png" class="run" /></a>
<table>
View
2 public/command-line-flags
@@ -20,7 +20,7 @@
<body>
<div class="example" id="command-line-flags">
<h2><a href="./">Go by Example</a>: Command-Line Flags</h2>
- <a href="http://play.golang.org/p/9xlvGqQjhl"><img height="16" width="16" title="Run code" src="play.png" style="float:right" /></a>
+ <a href="http://play.golang.org/p/9xlvGqQjhl"><img title="Run code" src="play.png" class="run" /></a>
<table>
View
2 public/constants
@@ -20,7 +20,7 @@
<body>
<div class="example" id="constants">
<h2><a href="./">Go by Example</a>: Constants</h2>
- <a href="http://play.golang.org/p/T5sj0eINnp"><img height="16" width="16" title="Run code" src="play.png" style="float:right" /></a>
+ <a href="http://play.golang.org/p/T5sj0eINnp"><img title="Run code" src="play.png" class="run" /></a>
<table>
View
2 public/defer
@@ -20,7 +20,7 @@
<body>
<div class="example" id="defer">
<h2><a href="./">Go by Example</a>: Defer</h2>
- <a href="http://play.golang.org/p/9aoHwzHcAo"><img height="16" width="16" title="Run code" src="play.png" style="float:right" /></a>
+ <a href="http://play.golang.org/p/9aoHwzHcAo"><img title="Run code" src="play.png" class="run" /></a>
<table>
View
2 public/environment-variables
@@ -20,7 +20,7 @@
<body>
<div class="example" id="environment-variables">
<h2><a href="./">Go by Example</a>: Environment Variables</h2>
- <a href="http://play.golang.org/p/kfqLhpmEpw"><img height="16" width="16" title="Run code" src="play.png" style="float:right" /></a>
+ <a href="http://play.golang.org/p/kfqLhpmEpw"><img title="Run code" src="play.png" class="run" /></a>
<table>
View
2 public/epoch
@@ -20,7 +20,7 @@
<body>
<div class="example" id="epoch">
<h2><a href="./">Go by Example</a>: Epoch</h2>
- <a href="http://play.golang.org/p/3jXHvYbLUz"><img height="16" width="16" title="Run code" src="play.png" style="float:right" /></a>
+ <a href="http://play.golang.org/p/3jXHvYbLUz"><img title="Run code" src="play.png" class="run" /></a>
<table>
View
2 public/errors
@@ -20,7 +20,7 @@
<body>
<div class="example" id="errors">
<h2><a href="./">Go by Example</a>: Errors</h2>
- <a href="http://play.golang.org/p/BmDQXkPPTk"><img height="16" width="16" title="Run code" src="play.png" style="float:right" /></a>
+ <a href="http://play.golang.org/p/BmDQXkPPTk"><img title="Run code" src="play.png" class="run" /></a>
<table>
View
2 public/execing-processes
@@ -20,7 +20,7 @@
<body>
<div class="example" id="execing-processes">
<h2><a href="./">Go by Example</a>: Exec'ing Processes</h2>
- <a href="http://play.golang.org/p/iEAD2cYC-h"><img height="16" width="16" title="Run code" src="play.png" style="float:right" /></a>
+ <a href="http://play.golang.org/p/iEAD2cYC-h"><img title="Run code" src="play.png" class="run" /></a>
<table>
View
2 public/exit
@@ -20,7 +20,7 @@
<body>
<div class="example" id="exit">
<h2><a href="./">Go by Example</a>: Exit</h2>
- <a href="http://play.golang.org/p/CDiAh9SXRM"><img height="16" width="16" title="Run code" src="play.png" style="float:right" /></a>
+ <a href="http://play.golang.org/p/CDiAh9SXRM"><img title="Run code" src="play.png" class="run" /></a>
<table>
View
2 public/for
@@ -20,7 +20,7 @@
<body>
<div class="example" id="for">
<h2><a href="./">Go by Example</a>: For</h2>
- <a href="http://play.golang.org/p/mGqqcBZ0jv"><img height="16" width="16" title="Run code" src="play.png" style="float:right" /></a>
+ <a href="http://play.golang.org/p/mGqqcBZ0jv"><img title="Run code" src="play.png" class="run" /></a>
<table>
View
2 public/functions
@@ -20,7 +20,7 @@
<body>
<div class="example" id="functions">
<h2><a href="./">Go by Example</a>: Functions</h2>
- <a href="http://play.golang.org/p/2EXoOWfGf_"><img height="16" width="16" title="Run code" src="play.png" style="float:right" /></a>
+ <a href="http://play.golang.org/p/2EXoOWfGf_"><img title="Run code" src="play.png" class="run" /></a>
<table>
View
2 public/goroutines
@@ -20,7 +20,7 @@
<body>
<div class="example" id="goroutines">
<h2><a href="./">Go by Example</a>: Goroutines</h2>
- <a href="http://play.golang.org/p/aIO_Wi3hJj"><img height="16" width="16" title="Run code" src="play.png" style="float:right" /></a>
+ <a href="http://play.golang.org/p/aIO_Wi3hJj"><img title="Run code" src="play.png" class="run" /></a>
<table>
View
2 public/hello-world
@@ -20,7 +20,7 @@
<body>
<div class="example" id="hello-world">
<h2><a href="./">Go by Example</a>: Hello World</h2>
- <a href="http://play.golang.org/p/H8bxSpw9Jq"><img height="16" width="16" title="Run code" src="play.png" style="float:right" /></a>
+ <a href="http://play.golang.org/p/H8bxSpw9Jq"><img title="Run code" src="play.png" class="run" /></a>
<table>
View
2 public/if-else
@@ -20,7 +20,7 @@
<body>
<div class="example" id="if-else">
<h2><a href="./">Go by Example</a>: If/Else</h2>
- <a href="http://play.golang.org/p/p_ykufAYRj"><img height="16" width="16" title="Run code" src="play.png" style="float:right" /></a>
+ <a href="http://play.golang.org/p/p_ykufAYRj"><img title="Run code" src="play.png" class="run" /></a>
<table>
View
2 public/interfaces
@@ -20,7 +20,7 @@
<body>
<div class="example" id="interfaces">
<h2><a href="./">Go by Example</a>: Interfaces</h2>
- <a href="http://play.golang.org/p/vx8bwC-Bmq"><img height="16" width="16" title="Run code" src="play.png" style="float:right" /></a>
+ <a href="http://play.golang.org/p/vx8bwC-Bmq"><img title="Run code" src="play.png" class="run" /></a>
<table>
View
2 public/json
@@ -20,7 +20,7 @@
<body>
<div class="example" id="json">
<h2><a href="./">Go by Example</a>: JSON</h2>
- <a href="http://play.golang.org/p/4L2wMVv7tW"><img height="16" width="16" title="Run code" src="play.png" style="float:right" /></a>
+ <a href="http://play.golang.org/p/4L2wMVv7tW"><img title="Run code" src="play.png" class="run" /></a>
<table>
View
2 public/line-filters
@@ -20,7 +20,7 @@
<body>
<div class="example" id="line-filters">
<h2><a href="./">Go by Example</a>: Line Filters</h2>
- <a href="http://play.golang.org/p/OSS71nSpkV"><img height="16" width="16" title="Run code" src="play.png" style="float:right" /></a>
+ <a href="http://play.golang.org/p/OSS71nSpkV"><img title="Run code" src="play.png" class="run" /></a>
<table>
View
2 public/maps
@@ -20,7 +20,7 @@
<body>
<div class="example" id="maps">
<h2><a href="./">Go by Example</a>: Maps</h2>
- <a href="http://play.golang.org/p/D-F9YN_V8r"><img height="16" width="16" title="Run code" src="play.png" style="float:right" /></a>
+ <a href="http://play.golang.org/p/D-F9YN_V8r"><img title="Run code" src="play.png" class="run" /></a>
<table>
View
2 public/methods
@@ -20,7 +20,7 @@
<body>
<div class="example" id="methods">
<h2><a href="./">Go by Example</a>: Methods</h2>
- <a href="http://play.golang.org/p/254m_9Yjwa"><img height="16" width="16" title="Run code" src="play.png" style="float:right" /></a>
+ <a href="http://play.golang.org/p/254m_9Yjwa"><img title="Run code" src="play.png" class="run" /></a>
<table>
View
2 public/multiple-return-values
@@ -20,7 +20,7 @@
<body>
<div class="example" id="multiple-return-values">
<h2><a href="./">Go by Example</a>: Multiple Return Values</h2>
- <a href="http://play.golang.org/p/LrDt1Wah0M"><img height="16" width="16" title="Run code" src="play.png" style="float:right" /></a>
+ <a href="http://play.golang.org/p/LrDt1Wah0M"><img title="Run code" src="play.png" class="run" /></a>
<table>
View
2 public/mutexes
@@ -20,7 +20,7 @@
<body>
<div class="example" id="mutexes">
<h2><a href="./">Go by Example</a>: Mutexes</h2>
- <a href="http://play.golang.org/p/-_LKNceBru"><img height="16" width="16" title="Run code" src="play.png" style="float:right" /></a>
+ <a href="http://play.golang.org/p/-_LKNceBru"><img title="Run code" src="play.png" class="run" /></a>
<table>
View
2 public/non-blocking-channel-operations
@@ -20,7 +20,7 @@
<body>
<div class="example" id="non-blocking-channel-operations">
<h2><a href="./">Go by Example</a>: Non-Blocking Channel Operations</h2>
- <a href="http://play.golang.org/p/M972dltae2"><img height="16" width="16" title="Run code" src="play.png" style="float:right" /></a>
+ <a href="http://play.golang.org/p/M972dltae2"><img title="Run code" src="play.png" class="run" /></a>
<table>
View
2 public/number-parsing
@@ -20,7 +20,7 @@
<body>
<div class="example" id="number-parsing">
<h2><a href="./">Go by Example</a>: Number Parsing</h2>
- <a href="http://play.golang.org/p/N90EppECFk"><img height="16" width="16" title="Run code" src="play.png" style="float:right" /></a>
+ <a href="http://play.golang.org/p/N90EppECFk"><img title="Run code" src="play.png" class="run" /></a>
<table>
View
2 public/panic
@@ -20,7 +20,7 @@
<body>
<div class="example" id="panic">
<h2><a href="./">Go by Example</a>: Panic</h2>
- <a href="http://play.golang.org/p/c86oXzfQOt"><img height="16" width="16" title="Run code" src="play.png" style="float:right" /></a>
+ <a href="http://play.golang.org/p/c86oXzfQOt"><img title="Run code" src="play.png" class="run" /></a>
<table>
View
2 public/pointers
@@ -20,7 +20,7 @@
<body>
<div class="example" id="pointers">
<h2><a href="./">Go by Example</a>: Pointers</h2>
- <a href="http://play.golang.org/p/KdE4TBbUL2"><img height="16" width="16" title="Run code" src="play.png" style="float:right" /></a>
+ <a href="http://play.golang.org/p/KdE4TBbUL2"><img title="Run code" src="play.png" class="run" /></a>
<table>
View
2 public/random-numbers
@@ -20,7 +20,7 @@
<body>
<div class="example" id="random-numbers">
<h2><a href="./">Go by Example</a>: Random Numbers</h2>
- <a href="http://play.golang.org/p/C0_kuFx3ET"><img height="16" width="16" title="Run code" src="play.png" style="float:right" /></a>
+ <a href="http://play.golang.org/p/C0_kuFx3ET"><img title="Run code" src="play.png" class="run" /></a>
<table>
View
2 public/range
@@ -20,7 +20,7 @@
<body>
<div class="example" id="range">
<h2><a href="./">Go by Example</a>: Range</h2>
- <a href="http://play.golang.org/p/Ys3V-ohVRy"><img height="16" width="16" title="Run code" src="play.png" style="float:right" /></a>
+ <a href="http://play.golang.org/p/Ys3V-ohVRy"><img title="Run code" src="play.png" class="run" /></a>
<table>
View
2 public/range-over-channels
@@ -20,7 +20,7 @@
<body>
<div class="example" id="range-over-channels">
<h2><a href="./">Go by Example</a>: Range over Channels</h2>
- <a href="http://play.golang.org/p/WN7NNh9tvh"><img height="16" width="16" title="Run code" src="play.png" style="float:right" /></a>
+ <a href="http://play.golang.org/p/WN7NNh9tvh"><img title="Run code" src="play.png" class="run" /></a>
<table>
View
2 public/rate-limiting
@@ -20,7 +20,7 @@
<body>
<div class="example" id="rate-limiting">
<h2><a href="./">Go by Example</a>: Rate Limiting</h2>
- <a href="http://play.golang.org/p/e7yzIk97-p"><img height="16" width="16" title="Run code" src="play.png" style="float:right" /></a>
+ <a href="http://play.golang.org/p/e7yzIk97-p"><img title="Run code" src="play.png" class="run" /></a>
<table>
View
2 public/reading-files
@@ -20,7 +20,7 @@
<body>
<div class="example" id="reading-files">
<h2><a href="./">Go by Example</a>: Reading Files</h2>
- <a href="http://play.golang.org/p/VcLqpSwnkN"><img height="16" width="16" title="Run code" src="play.png" style="float:right" /></a>
+ <a href="http://play.golang.org/p/VcLqpSwnkN"><img title="Run code" src="play.png" class="run" /></a>
<table>
View
2 public/recursion
@@ -20,7 +20,7 @@
<body>
<div class="example" id="recursion">
<h2><a href="./">Go by Example</a>: Recursion</h2>
- <a href="http://play.golang.org/p/RFn-rf42ap"><img height="16" width="16" title="Run code" src="play.png" style="float:right" /></a>
+ <a href="http://play.golang.org/p/RFn-rf42ap"><img title="Run code" src="play.png" class="run" /></a>
<table>
View
2 public/regular-expressions
@@ -20,7 +20,7 @@
<body>
<div class="example" id="regular-expressions">
<h2><a href="./">Go by Example</a>: Regular Expressions</h2>
- <a href="http://play.golang.org/p/7bnr2EXlxK"><img height="16" width="16" title="Run code" src="play.png" style="float:right" /></a>
+ <a href="http://play.golang.org/p/7bnr2EXlxK"><img title="Run code" src="play.png" class="run" /></a>
<table>
View
2 public/select
@@ -20,7 +20,7 @@
<body>
<div class="example" id="select">
<h2><a href="./">Go by Example</a>: Select</h2>
- <a href="http://play.golang.org/p/NGSkDrli6L"><img height="16" width="16" title="Run code" src="play.png" style="float:right" /></a>
+ <a href="http://play.golang.org/p/NGSkDrli6L"><img title="Run code" src="play.png" class="run" /></a>
<table>
View
2 public/sha1-hashes
@@ -20,7 +20,7 @@
<body>
<div class="example" id="sha1-hashes">
<h2><a href="./">Go by Example</a>: SHA1 Hashes</h2>
- <a href="http://play.golang.org/p/YUaWWEeB4U"><img height="16" width="16" title="Run code" src="play.png" style="float:right" /></a>
+ <a href="http://play.golang.org/p/YUaWWEeB4U"><img title="Run code" src="play.png" class="run" /></a>
<table>
View
2 public/signals
@@ -20,7 +20,7 @@
<body>
<div class="example" id="signals">
<h2><a href="./">Go by Example</a>: Signals</h2>
- <a href="http://play.golang.org/p/d42wO1q1oh"><img height="16" width="16" title="Run code" src="play.png" style="float:right" /></a>
+ <a href="http://play.golang.org/p/d42wO1q1oh"><img title="Run code" src="play.png" class="run" /></a>
<table>
View
5 public/site.css
@@ -136,6 +136,11 @@ pre, code {
font-size: 14px; line-height: 18px;
font-family: 'Menlo', 'Monaco', 'Consolas', 'Lucida Console', monospace;
}
+img.run {
+ height: 16px;
+ width: 16px;
+ float: right
+}
/* Syntax highlighting */
body .hll { background-color: #ffffcc }
View
2 public/slices
@@ -20,7 +20,7 @@
<body>
<div class="example" id="slices">
<h2><a href="./">Go by Example</a>: Slices</h2>
- <a href="http://play.golang.org/p/dPQErsP6Yc"><img height="16" width="16" title="Run code" src="play.png" style="float:right" /></a>
+ <a href="http://play.golang.org/p/dPQErsP6Yc"><img title="Run code" src="play.png" class="run" /></a>
<table>
View
2 public/sorting
@@ -20,7 +20,7 @@
<body>
<div class="example" id="sorting">
<h2><a href="./">Go by Example</a>: Sorting</h2>
- <a href="http://play.golang.org/p/roQOJXtqAb"><img height="16" width="16" title="Run code" src="play.png" style="float:right" /></a>
+ <a href="http://play.golang.org/p/roQOJXtqAb"><img title="Run code" src="play.png" class="run" /></a>
<table>
View
2 public/sorting-by-functions
@@ -20,7 +20,7 @@
<body>
<div class="example" id="sorting-by-functions">
<h2><a href="./">Go by Example</a>: Sorting by Functions</h2>
- <a href="http://play.golang.org/p/M06NADP985"><img height="16" width="16" title="Run code" src="play.png" style="float:right" /></a>
+ <a href="http://play.golang.org/p/M06NADP985"><img title="Run code" src="play.png" class="run" /></a>
<table>
View
2 public/spawning-processes
@@ -20,7 +20,7 @@
<body>
<div class="example" id="spawning-processes">
<h2><a href="./">Go by Example</a>: Spawning Processes</h2>
- <a href="http://play.golang.org/p/utd_H-XJtC"><img height="16" width="16" title="Run code" src="play.png" style="float:right" /></a>
+ <a href="http://play.golang.org/p/utd_H-XJtC"><img title="Run code" src="play.png" class="run" /></a>
<table>
View
2 public/stateful-goroutines
@@ -20,7 +20,7 @@
<body>
<div class="example" id="stateful-goroutines">
<h2><a href="./">Go by Example</a>: Stateful Goroutines</h2>
- <a href="http://play.golang.org/p/2YrrJo4H6W"><img height="16" width="16" title="Run code" src="play.png" style="float:right" /></a>
+ <a href="http://play.golang.org/p/2YrrJo4H6W"><img title="Run code" src="play.png" class="run" /></a>
<table>
View
2 public/string-formatting
@@ -20,7 +20,7 @@
<body>
<div class="example" id="string-formatting">
<h2><a href="./">Go by Example</a>: String Formatting</h2>
- <a href="http://play.golang.org/p/qayRuqXHym"><img height="16" width="16" title="Run code" src="play.png" style="float:right" /></a>
+ <a href="http://play.golang.org/p/qayRuqXHym"><img title="Run code" src="play.png" class="run" /></a>
<table>
View
2 public/string-functions
@@ -20,7 +20,7 @@
<body>
<div class="example" id="string-functions">
<h2><a href="./">Go by Example</a>: String Functions</h2>
- <a href="http://play.golang.org/p/COXm374QWe"><img height="16" width="16" title="Run code" src="play.png" style="float:right" /></a>
+ <a href="http://play.golang.org/p/COXm374QWe"><img title="Run code" src="play.png" class="run" /></a>
<table>
View
2 public/structs
@@ -20,7 +20,7 @@
<body>
<div class="example" id="structs">
<h2><a href="./">Go by Example</a>: Structs</h2>
- <a href="http://play.golang.org/p/OMCP5KFC10"><img height="16" width="16" title="Run code" src="play.png" style="float:right" /></a>
+ <a href="http://play.golang.org/p/OMCP5KFC10"><img title="Run code" src="play.png" class="run" /></a>
<table>
View
2 public/switch
@@ -20,7 +20,7 @@
<body>
<div class="example" id="switch">
<h2><a href="./">Go by Example</a>: Switch</h2>
- <a href="http://play.golang.org/p/8b5CajPcHn"><img height="16" width="16" title="Run code" src="play.png" style="float:right" /></a>
+ <a href="http://play.golang.org/p/8b5CajPcHn"><img title="Run code" src="play.png" class="run" /></a>
<table>
View
2 public/tickers
@@ -20,7 +20,7 @@
<body>
<div class="example" id="tickers">
<h2><a href="./">Go by Example</a>: Tickers</h2>
- <a href="http://play.golang.org/p/U0PO7ZZU3l"><img height="16" width="16" title="Run code" src="play.png" style="float:right" /></a>
+ <a href="http://play.golang.org/p/U0PO7ZZU3l"><img title="Run code" src="play.png" class="run" /></a>
<table>
View
2 public/time
@@ -20,7 +20,7 @@
<body>
<div class="example" id="time">
<h2><a href="./">Go by Example</a>: Time</h2>
- <a href="http://play.golang.org/p/NxuQTlVA2l"><img height="16" width="16" title="Run code" src="play.png" style="float:right" /></a>
+ <a href="http://play.golang.org/p/NxuQTlVA2l"><img title="Run code" src="play.png" class="run" /></a>
<table>
View
2 public/time-formatting-parsing
@@ -20,7 +20,7 @@
<body>
<div class="example" id="time-formatting-parsing">
<h2><a href="./">Go by Example</a>: Time Formatting / Parsing</h2>
- <a href="http://play.golang.org/p/JqNGqbuqF1"><img height="16" width="16" title="Run code" src="play.png" style="float:right" /></a>
+ <a href="http://play.golang.org/p/JqNGqbuqF1"><img title="Run code" src="play.png" class="run" /></a>
<table>
View
2 public/timeouts
@@ -20,7 +20,7 @@
<body>
<div class="example" id="timeouts">
<h2><a href="./">Go by Example</a>: Timeouts</h2>
- <a href="http://play.golang.org/p/CoBnJiRyx3"><img height="16" width="16" title="Run code" src="play.png" style="float:right" /></a>
+ <a href="http://play.golang.org/p/CoBnJiRyx3"><img title="Run code" src="play.png" class="run" /></a>
<table>
View
2 public/timers
@@ -20,7 +20,7 @@
<body>
<div class="example" id="timers">
<h2><a href="./">Go by Example</a>: Timers</h2>
- <a href="http://play.golang.org/p/6fSHrYxpMu"><img height="16" width="16" title="Run code" src="play.png" style="float:right" /></a>
+ <a href="http://play.golang.org/p/6fSHrYxpMu"><img title="Run code" src="play.png" class="run" /></a>
<table>
View
2 public/url-parsing
@@ -20,7 +20,7 @@
<body>
<div class="example" id="url-parsing">
<h2><a href="./">Go by Example</a>: URL Parsing</h2>
- <a href="http://play.golang.org/p/eaMv0skOfY"><img height="16" width="16" title="Run code" src="play.png" style="float:right" /></a>
+ <a href="http://play.golang.org/p/eaMv0skOfY"><img title="Run code" src="play.png" class="run" /></a>
<table>
View
2 public/values
@@ -20,7 +20,7 @@
<body>
<div class="example" id="values">
<h2><a href="./">Go by Example</a>: Values</h2>
- <a href="http://play.golang.org/p/fgGVOyuZdu"><img height="16" width="16" title="Run code" src="play.png" style="float:right" /></a>
+ <a href="http://play.golang.org/p/fgGVOyuZdu"><img title="Run code" src="play.png" class="run" /></a>
<table>
View
2 public/variables
@@ -20,7 +20,7 @@
<body>
<div class="example" id="variables">
<h2><a href="./">Go by Example</a>: Variables</h2>
- <a href="http://play.golang.org/p/Zv45CSMaiD"><img height="16" width="16" title="Run code" src="play.png" style="float:right" /></a>
+ <a href="http://play.golang.org/p/Zv45CSMaiD"><img title="Run code" src="play.png" class="run" /></a>
<table>
View
2 public/variadic-functions
@@ -20,7 +20,7 @@
<body>
<div class="example" id="variadic-functions">
<h2><a href="./">Go by Example</a>: Variadic Functions</h2>
- <a href="http://play.golang.org/p/wRPLOM1VIH"><img height="16" width="16" title="Run code" src="play.png" style="float:right" /></a>
+ <a href="http://play.golang.org/p/wRPLOM1VIH"><img title="Run code" src="play.png" class="run" /></a>
<table>
View
2 public/worker-pools
@@ -20,7 +20,7 @@
<body>
<div class="example" id="worker-pools">
<h2><a href="./">Go by Example</a>: Worker Pools</h2>
- <a href="http://play.golang.org/p/y12QxBsKtT"><img height="16" width="16" title="Run code" src="play.png" style="float:right" /></a>
+ <a href="http://play.golang.org/p/y12QxBsKtT"><img title="Run code" src="play.png" class="run" /></a>
<table>
View
2 public/writing-files
@@ -20,7 +20,7 @@
<body>
<div class="example" id="writing-files">
<h2><a href="./">Go by Example</a>: Writing Files</h2>
- <a href="http://play.golang.org/p/5usz1Oc-xY"><img height="16" width="16" title="Run code" src="play.png" style="float:right" /></a>
+ <a href="http://play.golang.org/p/5usz1Oc-xY"><img title="Run code" src="play.png" class="run" /></a>
<table>
View
2 templates/example.tmpl
@@ -20,7 +20,7 @@
<body>
<div class="example" id="{{.Id}}">
<h2><a href="./">Go by Example</a>: {{.Name}}</h2>
- <a href="http://play.golang.org/p/{{$.UrlHash}}"><img height="16" width="16" title="Run code" src="play.png" style="float:right" /></a>
+ <a href="http://play.golang.org/p/{{$.UrlHash}}"><img title="Run code" src="play.png" class="run" /></a>
{{range .Segs}}
<table>
{{range .}}
View
5 templates/site.css
@@ -136,6 +136,11 @@ pre, code {
font-size: 14px; line-height: 18px;
font-family: 'Menlo', 'Monaco', 'Consolas', 'Lucida Console', monospace;
}
+img.run {
+ height: 16px;
+ width: 16px;
+ float: right
+}
/* Syntax highlighting */
body .hll { background-color: #ffffcc }

0 comments on commit a8bd1b2

Please sign in to comment.